mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibWeb: Add CSSStyleSheet.{insert,delete,remove}Rule() APIs
Note that insertRule() is really just a big TODO right now.
This commit is contained in:
parent
3a4565beec
commit
30d710a0a2
5 changed files with 73 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
interface CSSStyleSheet : StyleSheet {
|
||||
// readonly attribute CSSRule? ownerRule;
|
||||
[SameObject] readonly attribute CSSRuleList cssRules;
|
||||
// unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
||||
// undefined deleteRule(unsigned long index);
|
||||
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
||||
undefined deleteRule(unsigned long index);
|
||||
undefined removeRule(unsigned long index);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue