mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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:
parent
9f9aa62128
commit
2a7cf1c588
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/tcl3
Commit: 2a7cf1c588
Pull-request: https://github.com/SerenityOS/serenity/pull/24402
Reviewed-by: https://github.com/mattco98
4 changed files with 22 additions and 4 deletions
|
@ -19,5 +19,11 @@
|
|||
testIntegerReflectedProperty(tagName, property);
|
||||
}
|
||||
}
|
||||
|
||||
for (const tagName of ["source", "video"]) {
|
||||
for (const property of ["width", "height"]) {
|
||||
testIntegerReflectedProperty(tagName, property);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue