WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
84151
'(orientation)' media query incorrectly returns false
https://bugs.webkit.org/show_bug.cgi?id=84151
Summary
'(orientation)' media query incorrectly returns false
Eric Meyer
Reported
2012-04-17 07:06:46 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-06 18:12:13 PDT
I am unable to reproduce this bug using attached test case from URL field and it highlight as "true" to show that it is activated and [span1] as highlighted similar to Chrome Canary 106 and Firefox Nightly 105. While (resolution) query is something which is different for Safari 15.6 and does not seems to show as working. Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug