mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02: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:
committed by
Andreas Kling
parent
9f9aa62128
commit
2a7cf1c588
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/2a7cf1c588 Pull-request: https://github.com/SerenityOS/serenity/pull/24402 Reviewed-by: https://github.com/mattco98
@@ -19,5 +19,11 @@
|
||||
testIntegerReflectedProperty(tagName, property);
|
||||
}
|
||||
}
|
||||
|
||||
for (const tagName of ["source", "video"]) {
|
||||
for (const property of ["width", "height"]) {
|
||||
testIntegerReflectedProperty(tagName, property);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user