[Webkit-unassigned] [Bug 252403] New: HTMLStyleElement mangles -webkit-mask-repeat into unsupported mask-repeat
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 16 08:33:36 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252403
Bug ID: 252403
Summary: HTMLStyleElement mangles -webkit-mask-repeat into
unsupported mask-repeat
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clshortfuse at gmail.com
When creating an HTMLStyleElement with `-webkit-mask-repeat` included, the property is mangled to `mask-repeat`. Webkit supports `-webkit-mask-repeat`, but not `mask-repeat`. Therefore, when attempting to reflect back into another HTMLStyleElement, the style is invalid. This is used to ponyfill/polyfill CSS Modules (native ones).
Test: https://codepen.io/shortfuse/pen/PodwrJE
Chrome PASS
Firefox PASS
WebKit/Safari FAIL
Unprefixing is fine if it's supported. Firefox unprefixes and that's fine. Chrome doesn't unprefix, so that's also fine. But Webkit will unprefix and break the ability to replicate styles.
Related:
* https://bugs.webkit.org/show_bug.cgi?id=167255
* https://bugs.webkit.org/show_bug.cgi?id=227967
* https://bugs.webkit.org/show_bug.cgi?id=229082
--
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/20230216/f857d036/attachment.htm>
More information about the webkit-unassigned
mailing list