LibWeb: Implement HTMLObjectElement's data URL according to the spec

There are a long list of conditions under which the HTMLObjectElement is
to queue an element task to load / determine an object's representation.
This handles the case where the data attribute has changed.

Much of the spec for determining the object's representation is not
implemented here. Namely, anything to do with XML documents or browser
plugins are left as FIXMEs.
This commit is contained in:
Timothy Flynn 2022-03-23 08:24:11 -04:00 committed by Andreas Kling
parent 90829fe880
commit bf7b51a569
Notes: sideshowbarker 2024-07-17 16:52:12 +09:00
3 changed files with 213 additions and 23 deletions

View file

@ -2,7 +2,7 @@
interface HTMLObjectElement : HTMLElement {
[Reflect] attribute DOMString data;
[CEReactions] attribute DOMString data;
[Reflect] attribute DOMString type;
[Reflect] attribute DOMString name;
[Reflect=usemap] attribute DOMString useMap;