[Webkit-unassigned] [Bug 147230] New: Web Inspector: Invalid selectors can be applied to the stylesheet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 23 11:30:05 PDT 2015


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

            Bug ID: 147230
           Summary: Web Inspector: Invalid selectors can be applied to the
                    stylesheet
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

* STEPS TO REPRODUCE:
1. Go to http://www.apple.com
2. Inspect the page and click on the <body> tag
3. Copy the selector below and paste it over one of the "body" selectors in the styles sidebar:

body { color: red; } body

4. Select a different node and then reselect the <body> tag to refresh the styles sidebar

Expected Result:
The selector above is invalid and shouldn't be applied.  Instead, the rule should revert to its original selector.

Actual Result:
A new rule is created above the edited rule with the text:

body {
    color: red;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150723/46086aff/attachment.html>


More information about the webkit-unassigned mailing list