Bug 16013
Summary: | Nested media at-rules incorrectly parsed | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gérard Talbot (no longer involved) <browserbugs2> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | alex, cgriego, eric |
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/NestedMediaRules.html |
Gérard Talbot (no longer involved)
@media all
{
p {background-color: white; color: green;}
@media screen
{
p {background-color: white; color: red;}
}
}
should be parsed as
@media all
{
p {background-color: white; color: green;}
}
Steps to reproduce:
----------------
Load provided URL
Expected results:
--------------
The line should be green.
Actual results in Safari 3.0.4 build 523.12.9:
-------------------------------------
The line is black.
Notes:
-----
- The W3C CSS validator will report the parsing error.
- I have not searched for a duplicate
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Firefox 2.0.0.9, Firefox 3.0b2 (14-Nov-2007) and Opera 9.22 all shows the line as green.
Gérard Talbot (no longer involved)
MSIE 8 beta 1 (released on March 5th 2008) shows the line as green.
Gérard Talbot (no longer involved)
When I try the testcase with the latest stable release of Safari 4.0 for
Windows (build 530.17), I get expected results. So, this bug has been fixed.
I am resolving this bug as WORKSFORME since I do not know which patch fixed
this bug. Please adjust, correct the RESOLUTION field accordingly if you know
which patch fixed this bug.
Resolving as WOKRSFORME
Regards, Gérard