[Webkit-unassigned] [Bug 231054] New: Implement CSSStyleSheet Replace() Functionality
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 30 17:53:48 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231054
Bug ID: 231054
Summary: Implement CSSStyleSheet Replace() Functionality
Product: WebKit
Version: Safari Technology Preview
Hardware: Mac (Intel)
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: karl+webkit at la-grange.net
> The replaceSync() method of the CSSStyleSheet interface synchronously replaces the content of the stylesheet with the content passed into it.
See https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/replaceSync
And https://drafts.csswg.org/cssom/#dom-cssstylesheet-replacesync
The method is implemented in both Blink and Gecko.
On Firefox, the feature is not yet enabled on Nightly but available behind a flag.
https://bugzilla.mozilla.org/show_bug.cgi?id=1613746
https://bugzilla.mozilla.org/show_bug.cgi?id=1644101
This creates a webcompat issue on https://boxy-svg.com/app
which has a feature detection mechanism depending on
```
window.CSSStyleSheet.prototype.replaceSync !== undefined &&
```
https://webcompat.com/issues/88587
--
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/20211001/c75a373d/attachment.htm>
More information about the webkit-unassigned
mailing list