Libweb: Map marquee attributes to dimension properties

This commit is contained in:
Tim Ledbetter 2024-10-01 17:23:34 +01:00 committed by Andreas Kling
commit baca0e5e55
Notes: github-actions[bot] 2024-10-02 09:28:30 +00:00
3 changed files with 43 additions and 0 deletions

View file

@ -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."];