[Webkit-unassigned] [Bug 56967] Convert summary and details elements to use new shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 23 16:21:11 PDT 2011


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





--- Comment #3 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2011-03-23 16:21:10 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > As I just have implemented the previous version I would be very interested in doing this conversion with your revision. May it be?
> 
> That would be a great fit and I'm sure Dimitri needs all the help he can get porting things over to using the shadow DOM. Let's see what he says.

Happy to get any help I can get.

The challenge right now is that we are missing a piece of plumbing -- the ability to forward child nodes of an element down the shadow DOM subtree. The equivalent bit in XBL2 is http://dev.w3.org/2006/xbl2/#the-content-element.

For example, I imagine we design our implementation like this:

details
   div::-webkit-summary-panel -- represents the panel in which summary is laid out.
      div::-webkit-details-indicator -- represents open/closed indicator of details
      summary
   * -- any other elements.

The divs in this tree will be in the shadow DOM. The summary, although rendered as child of the shadow DOM divs, is actually a direct child of details when viewed from DOM.

Implementing this plumbing will be the first step.

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