[Webkit-unassigned] [Bug 139750] Web Inspector: <body> shows unexpected UserAgent margin styles (one non-implicit, others implicit)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 6 16:49:31 PST 2015


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

--- Comment #7 from Joseph Pecoraro <joepeck at webkit.org> ---
After chatting with Timothy Hatcher on IRC.

Implicit properties are ones not present in the shorthand. e.g. in "margin: 5px" only "top" is present and the rest are implicit, whereas in "margin: 5px 5px 5px 5px" they are all present.

In that case, there are a few changes here.

- I don't think showing transparent "implicit" values is useful data in the "Rules" section of the Styles sidebar. We should drop that.

- We should show the best user visible string to the user
  - if a longhand value is overridden by author styles, show all longhand values to show exactly what is overridden
  - otherwise, it is safe to show the shorthand, but perhaps only show shorthands for simple properties like "margin/padding", not "font/background" which are more complicated for developers to remember exactly what it set

See related:
<https://webkit.org/b/140154> Web Inspector: Expected UserAgent styles to be crossed-out if overridden

-- 
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/30888ad9/attachment-0002.html>


More information about the webkit-unassigned mailing list