[Webkit-unassigned] [Bug 140154] New: Web Inspector: Expected UserAgent styles to be crossed-out if overridden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 6 16:01:54 PST 2015


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

            Bug ID: 140154
           Summary: Web Inspector: Expected UserAgent styles to be
                    crossed-out if overridden
    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: joepeck at webkit.org
                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

* SUMMARY
In the styles sidebar I expect User Agent styles are never crossed out, even if they are overridden. I would expect them to be crossed out.

* TEST

    <style>
    textarea { background-color: red; }
    textarea { background-color: green; }
    </style>
    <textarea></textarea>

* STEPS TO REPRODUCE
1. Inspect the <textarea> for its background-color
  => style sidebar shows, "green", "red", "white", expected red and white to be crossed out, but "white" was not.

* NOTES
- This is because the UserAgent CSS.CSSProperties are not sent with a "status" field, and are assumed to be anonymous styles that are never treated as overridden. Maybe we should treat them as overridable here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150107/58bf4225/attachment-0002.html>


More information about the webkit-unassigned mailing list