[Webkit-unassigned] [Bug 88748] window.internals should have internals.isShadowRoot(node).

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 02:54:06 PDT 2012


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





--- Comment #5 from Takashi Sakamoto <tasak at google.com>  2012-06-14 02:54:06 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (From update of attachment 146781 [details] [details] [details])
> > > Cannot we use resetStyleInheritance of something?
> > s/of/or/
> Actually, we can just check node.constructor.

I see. 
I quickly checked node.constructor for shadow roots. 
The result was "function ShadowRoot() { [native code] }".

I think, node.constructor looks good enough and we don't need isShadowRoot.
So I will change shadow-dom.js's isShadowRoot() to use "node.constructor".

Best regards,
Takashi Sakamoto

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