WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 48828
Web Inspector: Selector priorities are computed incorrectly in the Styles sidebar pane
https://bugs.webkit.org/show_bug.cgi?id=48828
Summary
Web Inspector: Selector priorities are computed incorrectly in the Styles sid...
Alexander Pavlov (apavlov)
Reported
2010-11-02 04:45:56 PDT
1. Open the attached test-case page 2. Select the BODY element and observe the "body.inner" rule in the Styles sidebar pane (Elements panel). 3. Create a new rule with the selector of ".inner" and add the property "color: white", commit it. As a result, the newly created ".inner" rule takes precedence in the Styles pane, and the "color: green" property in the "body.inner" rule is struck out. However, it is clear that the text color is still green and the "body.inner" selector has a higher priority than the ".inner" one. Check off the "color: green" property, and the text indeed turns white, which signifies the fact that this property has actually been active.
Attachments
[HTML] Reduced test case
(148 bytes, text/html)
2010-11-02 04:46 PDT
,
Alexander Pavlov (apavlov)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2010-11-02 04:46:38 PDT
Created
attachment 72647
[details]
[HTML] Reduced test case
Alexander Pavlov (apavlov)
Comment 2
2012-01-26 02:59:23 PST
The issue is with the UI update. The styles are not rebuilt anew, since a user might want to iterate through other rules. Perhaps, the full rebuild should take place once the Styles editing is finished altogether.
Brian Burg
Comment 3
2014-12-12 14:11:05 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (
https://www.webkit.org/new-inspector-bug
) if the bug/feature/issue is still relevant to WebKit trunk.
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