DocumentFragment.queryAll() does not return ElementList #14015

Closed
DartBot opened this Issue Oct 11, 2013 · 3 comments

Comments

Projects
None yet
4 participants
@DartBot

DartBot commented Oct 11, 2013

This issue was originally filed by @butlermatt


A recent update to the Element class made Element.queryAll() return an ElementList [1]. However DocumentFragment has not been updated to have it's version of queryAll() do the same. DocumentFragment.queryAll() currently returns a List<Element> as per the old way.

This causes warnings in the editor when using shadowRoot.queryAll(..)[3] when trying to modify classes as such:
shadowRoot.queryAll(..).classes.add('..');

@kasperl

This comment has been minimized.

Show comment Hide comment
@kasperl

kasperl Oct 14, 2013

Contributor

Added Area-HTML, Triaged labels.

Contributor

kasperl commented Oct 14, 2013

Added Area-HTML, Triaged labels.

@efortuna

This comment has been minimized.

Show comment Hide comment
@efortuna

efortuna Oct 14, 2013

Contributor

Set owner to @efortuna.
Added this to the M8 milestone.

Contributor

efortuna commented Oct 14, 2013

Set owner to @efortuna.
Added this to the M8 milestone.

@efortuna

This comment has been minimized.

Show comment Hide comment
@efortuna

efortuna Oct 16, 2013

Contributor
Contributor

efortuna commented Oct 16, 2013

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment