When serializing DOM, we need to know the default styles of elements in order to avoid overriding them by computed style.
Created attachment 94840 [details]
Comment on attachment 94840 [details]
Committed r87317: <http://trac.webkit.org/changeset/87317>
The inspector must already know how to do this kind of thing. No?
(In reply to comment #5)
I don't think so. This bug is about letting StylizedMarkupAccumulator know of the default UA + user stylesheets so that we don't override style rules from UA+user stylesheets when we're serializing DOM; e.g. when serializing pre, we shouldn't be overriding whitespace property unless it's specified in inline style declaration or some CSS rules.