LibWeb: Implement the labels attribute for all labelable elements

This returns a `NodeList` of all the labels associated with the given
element.
This commit is contained in:
Tim Ledbetter 2024-05-18 14:10:00 +01:00 committed by Andreas Kling
commit 2447a25753
Notes: sideshowbarker 2024-07-16 20:39:14 +09:00
11 changed files with 89 additions and 7 deletions

View file

@ -32,7 +32,7 @@ interface HTMLTextAreaElement : HTMLElement {
boolean reportValidity();
undefined setCustomValidity(DOMString error);
// FIXME: readonly attribute NodeList labels;
readonly attribute NodeList labels;
// FIXME: undefined select();
attribute unsigned long selectionStart;