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
commit 2a7cf1c588
Notes: sideshowbarker 2024-07-17 06:09:44 +09:00
4 changed files with 22 additions and 4 deletions

View file

@ -19,5 +19,11 @@
testIntegerReflectedProperty(tagName, property);
}
}
for (const tagName of ["source", "video"]) {
for (const property of ["width", "height"]) {
testIntegerReflectedProperty(tagName, property);
}
}
});
</script>