aFarkas / html5shiv

This script is the defacto way to enable use of HTML5 sectioning elements in legacy Internet Explorer.
http://paulirish.com/2011/the-history-of-the-html5-shiv/
9.89k stars 2.56k forks source link

Doesn't work in frameset? #113

Closed reda-alaoui closed 11 years ago

reda-alaoui commented 11 years ago

Hi,

I am trying to use html5shiv with IE8, bootstrap and a webapp containing a frameset including exactly one frame. Navigation between pages is performed through anchors targeting the main frame of the webapp.

With IE8, when I go to the webapp the first time - reaching index.jsp - the page is correctly rendered, everything OK.

After that, navigating to some other page and going back to index.jsp or somewhere else breaks the rendering. Looking at the css styles, I found that ul and li tags floating attribute is not taken into account by IE8. Moreover, all responsives css conditionnal attributes - @media ... - are enabled by IE8 despite they should not.

Does html5shiv work in a frameset?

reda-alaoui commented 11 years ago

IE8 was selecting the wrong compatibility mode. Nothing to do with html5shiv. I close this issue.