mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb: Limit HTMLMarqueeElement attributes to allowed values
If `HTMLMarqueeElemnt.scrollAmount` or `HTMLMarqueeElemnt.scrollDelay` is set to a value larger than 2147483647, then it should be set to its default value.
This commit is contained in:
committed by
Andreas Kling
parent
e5c99b475a
commit
a8719a706b
Notes:
github-actions[bot]
2024-11-27 10:03:59 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/a8719a706b0 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2599
@@ -23,5 +23,7 @@
|
||||
}
|
||||
|
||||
testProperty("img", "hspace", (img) => img.hspace, (img, value) => img.hspace = value);
|
||||
testProperty("marquee", "scrollAmount", (marquee) => marquee.scrollAmount, (marquee, value) => marquee.scrollAmount = value);
|
||||
testProperty("marquee", "scrollDelay", (marquee) => marquee.scrollDelay, (marquee, value) => marquee.scrollDelay = value);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user