[Webkit-unassigned] [Bug 48828] New: Web Inspector: Selector priorities are computed incorrectly in the Styles sidebar pane

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 04:45:57 PDT 2010


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

           Summary: Web Inspector: Selector priorities are computed
                    incorrectly in the Styles sidebar pane
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: apavlov at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


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.

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