ShadowRoot currently returns a placeholder DOCUMENT_FRAGMENT_NODE as node type. We need to decide whether to keep that, or whether to introduce a new node type.
Let's just call it SHADOW_ROOT.
That sounds straightforward. As it so happens, I already have a stashed CL with that exact name... :) Just need to re-land the ShadowRoot patch first.
Would we expose this to JavaScript as a constant on Node? Node.SHADOW_ROOT_NODE?
Good question - I intended not to, to minimize user-visible changes, but perhaps we have to (for inspector, for example)?
At this point, let's not worry about JS constants.
Created attachment 90456 [details] Patch
Comment on attachment 90456 [details] Patch nifty.
Created attachment 90552 [details] patch, cleanup, added WebKit parts New patch, including cleanup after Dominics patch remarks, and added bits for Source/WebKit.
Comment on attachment 90552 [details] patch, cleanup, added WebKit parts even niftier.
Committed r84520: <http://trac.webkit.org/changeset/84520>
http://trac.webkit.org/changeset/84520 might have broken Qt Linux ARMv7 Release and Qt Windows 32-bit Debug