[wp-trac] [WordPress Trac] #22044: Twenty Twelve: better support for IE7 and IE8 (don't use mobile menu)
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 14 00:32:58 UTC 2012
#22044: Twenty Twelve: better support for IE7 and IE8 (don't use mobile menu)
----------------------------------------------------+--------------------
Reporter: bpetty | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch needs-testing rtl-feedback |
----------------------------------------------------+--------------------
Comment (by bpetty):
Having just done a bit more research into this, there's another possibly
acceptable approach we could use. In the book "Head First Mobile Web",
this issue is addressed by breaking out the full desktop size styles into
it's own stylesheet, and using the "media" attribute on the link tag which
is used by all modern browsers, and a conditional for IE7/8 on the same
file without the media attribute since the one with is ignored by IE7/8.
I've implemented this in [attachment:22044.6.patch], but also note that I
did this from code before r22201, so it's still missing the other
IE7-specific style fixes handled earlier on this ticket.
The upside to this approach is that it keeps the approach of mobile styles
first, but the downside is that any responsive styles defined for screens
between the smallest and largest still need to be duplicated in the
desktop.css file just like they are in ie.css in r22201.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22044#comment:49>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list