LibWeb: Implement the width and height attributes where missing

This change adds the `width` and `height` properties to
`HTMLVideoElement` and `HTMLSourceElement`. These properties reflect
their respective content attribute values.
This commit is contained in:
Tim Ledbetter
2024-05-21 12:22:45 +01:00
committed by Andreas Kling
parent 9f9aa62128
commit 2a7cf1c588
4 changed files with 22 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ interface HTMLSourceElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString srcset;
[CEReactions, Reflect] attribute DOMString sizes;
[CEReactions, Reflect] attribute DOMString media;
[FIXME, CEReactions, Reflect] attribute unsigned long width;
[FIXME, CEReactions, Reflect] attribute unsigned long height;
[CEReactions, Reflect] attribute unsigned long width;
[CEReactions, Reflect] attribute unsigned long height;
};