WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
233238
Web Inspector: Nested style groupings are presented in reverse order in Styles sidebar panel
https://bugs.webkit.org/show_bug.cgi?id=233238
Summary
Web Inspector: Nested style groupings are presented in reverse order in Style...
Patrick Angle
Reported
2021-11-16 20:53:01 PST
Given a rule like ``` @media (min-width: 100px) { @supports(color: red) { body { background-color: red; } } } ``` we currently show a list of grouping above the rule in the style sidebar in the reverse of that order. e.g.: ``` @support (color: red) @media (min-width: 100px) body { background-color: red; } ``` But it would actually make more sense for us to mirror the declaration more closely and show... ``` @media (min-width: 100px) @support (color: red) body { background-color: red; } ``` as it better represents the original CSS. This becomes particularly noticeable with
bug 233208
which adds showing `@layer` groupings, where the order is important.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-11-16 20:53:17 PST
<
rdar://problem/85488875
>
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