[Webkit-unassigned] [Bug 20946] New: REGRESSION: Invalid CSS @media query should be ignored but isn't

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 19 12:21:25 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20946

           Summary: REGRESSION: Invalid CSS @media query should be ignored
                    but isn't
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P1
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cpetersen at apple.com


* SUMMARY
With Webkit NB r36640 , a invalid CSS @media query should be ignored but isn't.
This problem was originally found at
http://store.iomega.com/section?SID=f2e44e869a9564289240548cef0a492cc48:4760&secid=40299.

I have reduced it down with Tim H to a simple test case.

<style>
.test {
        background-color: green;
        width: 20px;
        height: 20px;
}

@media screen {

/* Any style rules after this will be ignored. */

.test {
        display: none;
}
</style>

<div class="test"></div>

* STEPS TO REPRODUCE
1. Open the attached file "iomega.html" in Safari 3.1.
2. Notice a green square (< DIV> ) appears on this page
3. Now, open this same test case in TOT. Notice the green square doesn't appear
on the page at all.

The display: none; rule is being processed even thought it shouldn't be ( since
the @media query is not valid)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list