[Webkit-unassigned] [Bug 249235] New: CSSToStyleMap::mapNinePieceImage doesn't take into account that the CSSBorderImageWidthValue may be omitted.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 13 09:55:22 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=249235
Bug ID: 249235
Summary: CSSToStyleMap::mapNinePieceImage doesn't take into
account that the CSSBorderImageWidthValue may be
omitted.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: obrufau at igalia.com
```
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221213/50fd2ee6/attachment.htm>
More information about the webkit-unassigned
mailing list