[Bug 22344] [Shadow]: projecting into <shadow>

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22344

Dominic Cooney <dominicc@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominicc@chromium.org

--- Comment #2 from Dominic Cooney <dominicc@chromium.org> ---
This is a *superb* idea.

I tried prototyping this in Blink today, and it will involve some work to
implement. However the power and simplicity of this idea is evident.

For fans of the existing behavior, the existing behavior is easy to produce
with:

<shadow><content></content></shadow>

(If there was a way to control the order of distribution the existing behavior
can be implemented with complete generality, but that is a separate bug.)

What is proposed here is much more powerful and ends the reliance on treating
the shadow you're stacked on top of as a completely black box--just decorate
the edges--or a completely clear box--have to have full knowledge of the
insertion points below you in the stack to do anything useful.

FWIW I think that this is a deeper change than just tweaking POOL. For example
you want events to be retargeted, etc. through the points of reprojection.

I support this change; I think it is a wonderful idea; I think it will make
using Shadow DOM with Custom Elements and subtyping feasible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 13 June 2013 09:04:07 UTC