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
parent 3dc86747f0
commit 2447a25753
11 changed files with 89 additions and 7 deletions

View File

@@ -31,6 +31,6 @@ interface HTMLButtonElement : HTMLElement {
// FIXME: boolean reportValidity();
// FIXME: undefined setCustomValidity(DOMString error);
// FIXME: readonly attribute NodeList labels;
readonly attribute NodeList labels;
};
// FIXME: HTMLButtonElement includes PopoverInvokerElement;