mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
Libweb: Map marquee attributes to dimension properties
This commit is contained in:
committed by
Andreas Kling
parent
4c3101e021
commit
baca0e5e55
Notes:
github-actions[bot]
2024-10-02 09:28:30 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/baca0e5e556 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1591
@@ -4,6 +4,12 @@
|
||||
test(() => {
|
||||
const tests = [
|
||||
{ elementName: "hr", attribute: "width", mappedProperty: "width" },
|
||||
{ elementName: "marquee", attribute: "hspace", mappedProperty: "marginLeft" },
|
||||
{ elementName: "marquee", attribute: "hspace", mappedProperty: "marginRight" },
|
||||
{ elementName: "marquee", attribute: "vspace", mappedProperty: "marginTop" },
|
||||
{ elementName: "marquee", attribute: "vspace", mappedProperty: "marginBottom" },
|
||||
{ elementName: "marquee", attribute: "width", mappedProperty: "width" },
|
||||
{ elementName: "marquee", attribute: "height", mappedProperty: "height" },
|
||||
];
|
||||
const values = ["100", " 00110 ", "120."];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user