Closed (fixed)
Project:
Omega
Version:
7.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2011 at 13:42 UTC
Updated:
17 Nov 2011 at 21:14 UTC
hey there,
I'm curious about what happens when a non-HTML5 browser (like internet explorer 6 through 8) tries to render HTML5 markup.
will the browser ignore the tags? or is there a detection set to replace <footer> with <div id="footer">, for instance?
cheers,
Luciano
Comments
Comment #1
kevin-bcr commentedSubscribe
Comment #2
jolidog commentedIf you check the html.tpl.php template you'll see the following string:
That means the theme is using the html5shiv for IE8 (and below) compatibility with html5 elements.
More information at http://html5shiv.googlecode.com and around the web.
Comment #3
damienmckennaI think Jolidog's comment answers it.
Comment #4
damienmckennaAm changing this to a documentation feature request as the project page doesn't mention the shiv being used.
Comment #5
luco commentedI'm testing a website in IE 8 and the
<footer>element won't get styled - though it's there in the code. am I missing something?Comment #6
superstar commentedFor non html5 browsers:
When styling classes of the html components (nav, footer etc), you need to declare them like this:
Instead of:
.navigation {}
try:
nav.navigation {}
Comment #7
superstar commentedComment #8
luco commentedthanks, that did it.
also, I was noob enough to add declarations on the wide CSS and then not view IE fullscreen. d'oh!
Comment #9
luco commentedsorry, I accidentally changed the state.
Comment #10
Adam S commentedDoes this mean that ie7 without javascript is supported?
EDIT: IE8 less than or equal to without JS enabled the theme breaks. The best answers I came up with by searching is that 15% use IE8 and IE7 (screw IE6) and 1% don't use JS. So that's 0.15% of total users this might be a problem with. However, of the noJS surfers most are tech savvy or have business work filters for JS so they will have new browsers. With my luck I build it for someone who has JS disabled running on IE8 and they will wonder why the theme doesn't work.
Comment #11
superstar commentedFor this theme to work on IE browsers less than IE9, javascript is required.
Personally, I wouldn't worry about 0.15%