Am 24.10.2008 um 06:07 schrieb Giri Rao:
Thanks Rick.
Giri
On Thu, Oct 23, 2008 at 6:43 PM, Rick <[EMAIL PROTECTED]> wrote:
This link may be of assistance: http://www.w3.org/TR/2004/WD-sXBL-20040901/
On Thu, Oct 23, 2008 at 9:28 PM, Adele Peterson <[EMAIL PROTECTED]>
wrote:
> Hi Giri,
> WebKit creates shadow nodes for many of the form controls. As you
noticed,
> these nodes are not visible from the DOM, but the renderers for
those nodes
> can be traversed in the render tree. For example, a text field or
text area
> has a shadow DOM that contains all the text inside the control. A
file
> upload control has a shadow nodes for the "choose file" button.
This is
> just a way for WebKit to build elements using HTML without
exposing the
> internal details to web content.
> - Adele
> On Oct 23, 2008, at 6:22 PM, Giri Rao wrote:
>
Just for the record: there's another part of the source using shadow
trees: SVGUseElement.
SVG <use> elements deep-clone the referenced element, and append it to
a container node,
which is marked as shadow tree element. The shadow container node
itself gets appended
to the <use> element. So whenever you'd traverse a <use> DOM tree,
you'd notice a shadow
tree element as first child.
Greetings,
Niko
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev