Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script does not run properly if using X-UA-Compatible emulation. #382

Open
GoogleCodeExporter opened this issue May 23, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a page using a <meta http-equiv="X-UA-Compatible" 
content="IE=EmulateIE7" > declaration.
2. Add some fancy CSS like: li:not(:last-child):after{ content: " ---- " }
3. Add IE9.js
4. View the site in IE and change the Bowser Mode to IE8. (Document Mode will 
change to IE7)

What is the expected output? What do you see instead?
Item A
----
Item B

What version of the product are you using? On what operating system?
2.1(beta4) IE9 Win7

Please provide any additional information below.
I have fixed this problem in my version of the code by adding the following to 
override the detected version.

Add Line 31 Just after ar appVersion = IE7.appVersion...

if(appVersion == 8 && document.compatible.length == 1 && 
document.compatible[0].version == "EmulateIE7")  appVersion=7;



Original issue reported on code.google.com by [email protected] on 14 Dec 2012 at 5:52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant