mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
LibWeb: Implement CSSStyleSheet.replaceSync()
This method behaves the same as `CSSStyleSheet.replace()` but the operation is performed synchronously.
This commit is contained in:
parent
81c67d34eb
commit
87b52a1816
5 changed files with 94 additions and 1 deletions
|
@ -14,7 +14,7 @@ interface CSSStyleSheet : StyleSheet {
|
|||
undefined deleteRule(unsigned long index);
|
||||
|
||||
Promise<CSSStyleSheet> replace(USVString text);
|
||||
// FIXME: undefined replaceSync(USVString text);
|
||||
undefined replaceSync(USVString text);
|
||||
|
||||
// https://drafts.csswg.org/cssom/#legacy-css-style-sheet-members
|
||||
[SameObject, ImplementedAs=css_rules] readonly attribute CSSRuleList rules;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue