Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DocumentFragment.queryAll() does not return ElementList #14015
This issue was originally filed by @butlermatt
A recent update to the Element class made Element.queryAll() return an ElementList . 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(..) when trying to modify classes as such: