[Webkit-unassigned] [Bug 84151] New: '(orientation)' media query incorrectly returns false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 17 07:06:46 PDT 2012


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

           Summary: '(orientation)' media query incorrectly returns false
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://meyerweb.com/eric/css/tests/mq-valueless.html
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at meyerweb.com


If you go to the reference URL, you’ll see that test 5 shows false even though 'orientation' is a supported media feature descriptor.  According to http://www.w3.org/TR/css3-mediaqueries/#media1, it should return true:

"For a media feature feature, (feature) will evaluate to true if (feature:x) will evaluate to true for a value x other than zero or zero followed by a unit identifier (i.e., other than 0, 0px, 0em, etc.)."

Apparently that also applies to keyword-based descriptors like 'orientation'.  For comparison, Firefox and Opera pass the test.

Tested in Version 5.1.5 (6534.55.3, r114368), which I downloaded fresh before running this test.

-- 
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