[Webkit-unassigned] [Bug 119703] New: Comments within nested CSS media queries are getting parsed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 15:34:09 PDT 2013


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

           Summary: Comments within nested CSS media queries are getting
                    parsed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
        OS/Version: Android
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: seanrice at seanrice.net


I have a piece of CSS that looks something like this

@media screen and (something) {
      body{background:#f00;}
      @media screen and (something more specific){
           /*body{background:#0f0;}*/
       }
}

The commented out line is getting parsed as a normal line for some reason. This is appearing in Chrome on android, but also on safari on IOS, at least on retina screens. I am not sure about other screens. The media queries we were using had to do with pixel density.

To work around, we have removed the commented code entirely, so there's no longer a live site that we can point you to with the issue, but if you have trouble replicating it, we can probably reproduce the relevant files.

Thanks!

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



More information about the webkit-unassigned mailing list