WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
176640
Web Inspector: Styles: Gray out media query selectors that don't match
https://bugs.webkit.org/show_bug.cgi?id=176640
Summary
Web Inspector: Styles: Gray out media query selectors that don't match
Nikita Vasilyev
Reported
2017-09-08 17:26:27 PDT
For example, for @media screen, print "screen" should be black, and print should be gray. Unless the page is in the print mode, than it's vice versa. Graying out non-matching media query selectors is useful for unintuitive CSS queries: @media (max-width:9999px), (max-height:10px) and (max-width:10px) "(max-width:9999px)" should be black, as this query matches any page with the width < 9999px. "(max-height:10px) and (max-width:10px)" should be gray, as this query matches any page with the width and height < 10px.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-09-08 17:26:49 PDT
<
rdar://problem/34344031
>
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