[Bug 23620] [Shadow]: remove getElement* methods

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

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #3 from Philip Jägenstedt <philipj@opera.com> ---
The WHATWG discussion linked from bug 22515:
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jun/0207.html

Dimitri, are you still on board with this removal in spec and Blink?

I came here from bug 27569 where I suggested what looks like a simplification
from the current state in Blink, by moving getElementsBy* (not getElementById)
up from Document, Element and ShadowRoot to ParentNode, causing them to appear
on DocumentFragment also.

The WHATWG thread amounts to "HTMLCollection is live and a PITA to implement".
That's true, but it's already impossible to get rid of and implemented on
ContainerNode in Blink, which makes it free to support for DocumentFragment.

I'm happy to go either way here, but if it's going to be removal it's best to
do it before people start to depend on ShadowRoot.getElementsBy*.

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

Received on Thursday, 11 December 2014 20:23:39 UTC