LibWeb: Generate binding for the HTMLObjectElement.form attribute

This only required adding the appropriate definition to the IDL file,
as `FormAssociatedElement` already implements the logic that we need.
This commit is contained in:
Tim Ledbetter 2024-05-17 06:05:39 +01:00 committed by Andreas Kling
commit acc1fa3c62
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00
3 changed files with 19 additions and 1 deletions

View file

@ -10,7 +10,7 @@ interface HTMLObjectElement : HTMLElement {
[CEReactions] attribute DOMString data;
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect] attribute DOMString name;
// FIXME: readonly attribute HTMLFormElement? form;
readonly attribute HTMLFormElement? form;
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
readonly attribute Document? contentDocument;