Bug 16013

Summary: Nested media at-rules incorrectly parsed
Product: WebKit Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: CSSAssignee: 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)
Reported 2007-11-15 23:33:31 PST
@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
David Kilzer (:ddkilzer)
Comment 1 2007-11-16 00:19:05 PST
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)
Comment 2 2008-03-21 09:32:56 PDT
MSIE 8 beta 1 (released on March 5th 2008) shows the line as green.
Gérard Talbot (no longer involved)
Comment 3 2009-06-13 10:49:58 PDT
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
Note You need to log in before you can comment on or make changes to this bug.