Re: [whatwg/dom] Undeprecate document.all (Issue #1196)

Ah I see. If you did unfortunately have multiple elements with the same id then you get `HTMLCollection` not `Element`. Seems quite easy for a reasonable developer to avoid that as well as avoid accessing those other fields. 

I'll move this to the HTML repo, thanks!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1196#issuecomment-1544723407
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1196/1544723407@github.com>

Received on Thursday, 11 May 2023 21:45:52 UTC