Bug 75772
Summary: | REGRESSION (r104060): Some CSS media queries are ignored | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Wittenbergh <phiw2> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Major | CC: | koivisto |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.7 |
Philippe Wittenbergh
test case (resize the window horizontally to less than 500px):
http://dev.l-c-n.com/webkit/mq/mq2.html
Media queries inside general purpose stylesheets - e.g. @media screen and (min-width:500px) - are ignored (not applied).
Opening the WebInspector makes the media query suddenly apply (magic !)
I suspect http://trac.webkit.org/changeset/104060
Stylesheets that are linked with media queries in the html still work correctly
like this:
<link rel="stylesheet" href="./style-desktop.css" type="text/css" media="all and (min-width:500px)">
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
Looks like Antti broke this with <http://trac.webkit.org/changeset/104060>.
Antti Koivisto
*** This bug has been marked as a duplicate of bug 75633 ***