Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

DocumentFragment.queryAll() does not return ElementList #14015

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

Comments

Projects
None yet
4 participants
Member

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('..');

Contributor

kasperl commented Oct 14, 2013

Added Area-HTML, Triaged labels.

Contributor

efortuna commented Oct 14, 2013

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

Contributor

efortuna commented Oct 16, 2013

@efortuna efortuna was assigned by DartBot Oct 16, 2013

@DartBot DartBot added this to the M8 milestone 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