NEW 249235
CSSToStyleMap::mapNinePieceImage doesn't take into account that the CSSBorderImageWidthValue may be omitted.
https://bugs.webkit.org/show_bug.cgi?id=249235
Summary CSSToStyleMap::mapNinePieceImage doesn't take into account that the CSSBorder...
Oriol Brufau
Reported 2022-12-13 09:55:22 PST
``` var s = document.body.style; var cs = getComputedStyle(document.body); s.webkitBoxReflect = "left 0px url() 3 / 4% / 5px"; cs.webkitBoxReflect; // "left 0px url(\"\") 3 fill / 4% / 5px stretch" s.webkitBoxReflect = "left 0px url() 3 // 5px"; cs.webkitBoxReflect; // Actual: "left 0px url(\"\") 3 fill / auto / 0 stretch" // Expected: "left 0px url(\"\") 3 fill / auto / 5px stretch" ``` -webkit-border-image and -webkit-mask-box-image had the same problem before they became shorthands in bug 237487 and bug 249115.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-20 09:56:16 PST
Note You need to log in before you can comment on or make changes to this bug.