LibWeb: Implement the HTMLFormElement.relList attribute

This returns a DOMTokenList that reflects the `rel` attribute.
This commit is contained in:
Tim Ledbetter
2024-05-16 06:02:56 +01:00
committed by Andreas Kling
parent 0a3e1846f0
commit fc4e0cf10e
5 changed files with 33 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ interface HTMLFormElement : HTMLElement {
[CEReactions, Reflect=novalidate] attribute boolean noValidate;
[CEReactions, Reflect] attribute DOMString target;
[CEReactions, Reflect] attribute DOMString rel;
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
[SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
[SameObject] readonly attribute HTMLFormControlsCollection elements;
readonly attribute unsigned long length;