[Webkit-unassigned] [Bug 29016] New: Editing a style rule's selector to be more specific doesn't reorder the sections

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 7 09:50:21 PDT 2009


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

           Summary: Editing a style rule's selector to be more specific
                    doesn't reorder the sections
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at hatcher.name
                CC: timothy at hatcher.name, joepeck at webkit.org


Created an attachment (id=39153)
 --> (https://bugs.webkit.org/attachment.cgi?id=39153)
Bug

If you edit a style rule's selector to be more specific, the style rule
sections are not reordered to show the new cascade. This also means we don't
cross out the correct overirded properties.

This is easy to trigger if you make a couple new rules from the inspector.

Steps:
1) Inspect a page and select a div.
2) Create a new rule with the selector "body > div" or somthing specific.
3) Add "color: red" to that rule.
4) Create a new rule with a simple selector like "div".
5) Add "color: blue" to that rule.

Results:
The div text will be colored red. But the red property is crossed out and blue
isn't.

Expected:
The blue property crossed out and the red property isn't. The rule order should
be "body > div", "div".

See screenshot.

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