[Bug 22141] [Shadow]: Need mechanism to tell if an element in a ShadowRoot has been inserted into the Document

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

Olli Pettay <bugs@pettay.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@pettay.fi

--- Comment #15 from Olli Pettay <bugs@pettay.fi> ---
I don't really like deepContains (partly because I think CSS is wrong by
exposing
shadow dom in that way, and also because 'deep' doesn't really say anything.)

Couldn't we change contains() to take second param, which could be
some dictionary.

bool contains(Node? other, optional ContainsFilter filter)

dictionary ContainsFilter
{
  bool includeShadowDOM = false; // includeShadowDOM is a bit bad name.
}

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

Received on Thursday, 7 August 2014 09:56:52 UTC