WebReflection / linkedom

A triple-linked lists based DOM implementation.
https://webreflection.medium.com/linkedom-a-jsdom-alternative-53dd8f699311
ISC License
1.62k stars 78 forks source link

getElementsByName is missing #236

Closed asportnoy closed 9 months ago

asportnoy commented 9 months ago

Per MDN, document.getElementsByName should return a NodeList of all elements whose name attribute matches the input. This method is included in the type definition for document, but it is not actually implemented anywhere.

JSDOM's implementation of getElementsByName

WebReflection commented 9 months ago

no live collections here, use JSDOM if you want a 1:1 browser behavior or eel free to "polyfill" yourself that.