Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"HTMLCollection is an historical artifact we can..." #203

Closed
senolv opened this issue Apr 5, 2016 · 2 comments
Closed

"HTMLCollection is an historical artifact we can..." #203

senolv opened this issue Apr 5, 2016 · 2 comments

Comments

@senolv
Copy link

senolv commented Apr 5, 2016

https://dom.spec.whatwg.org/#interface-htmlcollection

HTMLCollection is an historical artifact we cannot rid the web of. Please do not use it in new APIs.

Please tell us what does this mean in fact.

Does it mean we should not use .getElementsByTagName(), .getElementsByClassName(), .children,
because they all give HTMLCollection back, if yes please show us a way of how to, or what to use instead.

@annevk
Copy link
Member

annevk commented Apr 5, 2016

My apologies, it's meant as a note for other specification editors. I'll try to clarify the language.

@annevk annevk closed this as completed in a2a48a2 Apr 5, 2016
@annevk
Copy link
Member

annevk commented Apr 5, 2016

Thank you!

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

No branches or pull requests

2 participants