mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Libweb: Map marquee
attributes to dimension properties
This commit is contained in:
parent
4c3101e021
commit
baca0e5e55
Notes:
github-actions[bot]
2024-10-02 09:28:30 +00:00
Author: https://github.com/tcl3
Commit: baca0e5e55
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1591
3 changed files with 43 additions and 0 deletions
|
@ -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."];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue