[Webkit-unassigned] [Bug 99228] The shadow element is not reprojected to a nested shadowRoot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 16 22:06:19 PDT 2012


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





--- Comment #1 from Shinya Kawanaka <shinyak at chromium.org>  2012-10-16 22:07:11 PST ---
I found that we have to change the current algorithm to reproject <shadow>.

Currently, we resolve <content> from the youngest shadow root. However, when we reproject <shadow>, we have to resolve <content> and <shadow> from the oldest shadow root, since we have to know what elements are distributed to <shadow>.

This is an example.
host ------- SR -------------- SR (younger)
 |- div (A)   |-div (C)         |-div -------- SR
 |- div (B)   |-content[B]         |-shadow     |-content[div]#target
              |-shadow

When we resolve  content[div]#target, we have to resolve all the other shadow and content.
This might be a drastic spec change.

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