internet-explorer-9

Does the X-UA Compatible http header actually work for IE9?

二次信任 提交于 2019-12-06 02:35:24
问题 I'm working on a web product that may be hosted as an intranet site. I'm trying to find a programmatic way to keep IE9 from slipping into IE9 Compatibility View browser mode, even though 'Display Intranet sites in Compatibility View' may be on. I'm testing with this html page: <!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9" /> <title>Company</title> </head> <body> </body> </html> I've put this in IIS config: <system.webServer> <httpProtocol> <customHeaders>

SimpleModal doesn't work in IE 9 (inside Iframe)

左心房为你撑大大i 提交于 2019-12-06 02:33:21
问题 I'm getting following error when using IE 9 (Chrome and FireFox works great): SCRIPT438: Object doesn't support property or method 'removeExpression' jquery.simplemodal.1.4.2.min.js, line 16 character 133 Simple Modal is called inside Iframe. jQuery.min (1.7.1) is included before SimpleModal (1.4.2) in the Iframe. The code responsible for showing modal dialog: function OpenContextByClass(cssClass, posY, posX) { var winHeight = $(window).height(); var winWidth = $(window).width(); $('.' +

IE9 importing inline SVG <image> elements broken

夙愿已清 提交于 2019-12-06 02:13:08
I am using this method to import an SVG doc into a page, and it works pretty well, but in IE9, none of the <image> tags work after the import (they show up as broken images, even though their xlink:href attribute is correct). Why does this happen, and is there any way around it? Here's a simple test page . It works fine in Chrome, FF, etc, but not in IE9. Erik Dahlström The js implementation of importNode provided in this answer doesn't properly set namespaced attributes, it should use setAttributeNS to set xlink:href correctly. This other implementation of importNode seems to handle that,

IE 9 Standards Mode: normalize() method does not work

五迷三道 提交于 2019-12-06 01:50:54
I was testing something and I came across a weird bug (I don't know if it's really a bug, although). Take this simple document <!DOCTYPE html> <html><head><meta charset="utf-8"> <script> window.onload = function() { var p = document.createElement('p'); p.appendChild( document.createTextNode('x') ); p.appendChild( document.createTextNode('y') ); p.appendChild( document.createTextNode('z') ); document.body.appendChild(p); console.log( p.childNodes.length ); p.normalize(); console.log( p.childNodes.length ); }; </script></head><body></body></html> In all browsers but IE 9, the console output is

Non ascii characters in link_to is causing the app to fail in internet explorer 9 in rails app

别说谁变了你拦得住时间么 提交于 2019-12-06 01:03:24
I have a recipe search form in my rails app. In a recipe's detail, I have a link to return to the results. The line I added is: link_to "Return to search", :back In Internet Explorer 9, because the :back link has a utf-8=✓ in the url, I get an encoding error. The description of the error is: ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8) Let there be known the encoding in my application.rb is set to utf-8. I'm using ruby 1.9.2. On Ruby 1.9.x you should specify the encoding on each .rb file. Add this on the first line of each: # -*- coding: UTF-8 -*- 来源:

IE9 loses requests to a local Catalyst server

与世无争的帅哥 提交于 2019-12-05 23:05:18
问题 Okay, this is a hard one. I have a Catalyst server I can access just fine from Firefox 4, Chromium 12, and IE 8 and 9 on other computers. When I try to access it from IE9 on my own machine (the same machine the server is on), I get strange timeouts and delays. The Catalyst server's output doesn't show these delays and the IE9 traffic view doesn't even show that the request was ever sent! While the server is hanging up it's using 100% of a processor core but then it drops back to idle without

Why does IE9 require a meta tag to render rounded corners?

梦想与她 提交于 2019-12-05 21:01:50
In IE9, which was just released, you need to provide the meta tag <meta http-equiv="X-UA-Compatible" content="IE=9" /> to allow the css border-radius to render. Why? This link: http://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-developers.aspx indicates that the meta tag is not the only way to enable border-radius. Instead, you can change your doctype. Read the whole article to determine whether you want to use the doctype or the meta tag, though. 来源: https://stackoverflow.com/questions/5317464/why-does-ie9-require-a-meta-tag-to-render-rounded-corners

IE9 set innerHTML of textarea with html tags

末鹿安然 提交于 2019-12-05 20:55:28
I have this field In IE9 the following line gives me the error 'SCRIPT601: Unknown runtime error ' //option 1. document.getElementById('code').innerHTML = 'some text'; The error disappears and it seems to work (assiging empty value) when I change the line to: //option 2. document.getElementById('code').innerHTML = ''; The I tried this: //option 3. document.getElementById('code').innerHTML = escape('some text'); but then the HTML gets to be escaped and thats not what I want, I want this exact string to be placed in the textbox. In Chrome and Firefox the code in option 1 does run correctly. What

IE9 js load order and JQuery

会有一股神秘感。 提交于 2019-12-05 20:35:08
This seems like an easy problem to solve, but it's kickin my ass. The following simple example produces an error in IE9. I've used IE9's developer page to monitor network loading and it looks like IE is loading and executing the body's script before the included javascript is loaded/evaluated. I've tried all the various tricks found via searching for answers including adding <meta charset="UTF-8" /> and <meta http-equiv="x-ua-compatible" content="IE8"/> <html> <head> <title>Demo of IE suckiness</title> <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery

overflow-x: visible; overflow-y: auto; does not work - is this standards compliant? [duplicate]

佐手、 提交于 2019-12-05 20:24:09
问题 This question already has answers here : CSS overflow-x: visible; and overflow-y: hidden; causing scrollbar issue (6 answers) Closed 3 years ago . I am having an issue while developing a web page. Neither Firefox or Internet Explorer will present the behavior that I expect for the following code snippet: <div style="overflow-x: visible; overflow-y: auto; width: 200px; height: 200px; border: 1px solid #F00;"> <div style="width: 300px; height: 300px; background-color: #0F0;"> </div> </div> What