[Webkit-unassigned] [Bug 78202] [Shadow]: Expose one ShadowRoot in the Elements panel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 25 02:19:40 PST 2012


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


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |pfeldman at chromium.org
                   |kit.org                     |
                 CC|                            |pfeldman at chromium.org




--- Comment #4 from Pavel Feldman <pfeldman at chromium.org>  2012-02-25 02:19:40 PST ---
(In reply to comment #2)
> Does anybody have an opinion on these questions regarding multiple shadow roots? Given

How often does this happen / you expect this to happen?

> 
> • Should they be presented before the child content, or after it? eg. this:
> 

Given that shadow roots do not happen often, I would put them in front

> 
> • Lastly, should the "youngest" shadow be displayed closest to the child content, or furthest away from it? 
> 

This one is hard for me to understand. When you have a list of child nodes (say absolutely positioned), they are painted in the order of appearance in the list. So the order matters for regular DOM nodes, and you expect the last item to be on top of the others. Are you suggesting the opposite for shadow roots?

> • Should "user-agent shadows" (aka built-in shadows) be displayed in the inspector? If so, should they be presented differently somehow? Should they be displayed by default? Should there be an option not to display them? If so, where should it go?

Definitely OFF by default, probably behind the inspector setting. We use gray background for UA stylesheets to distinguish them and point out that they are read-only. I guess same applies to the user-agent shadows. We will need to introduce a concept of a read-only node in the inspector + make sure $0 does not work for the UA shadows.

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