mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibWeb: Add CSSStyleSheet.ownerRule
attribute
This returns the `CSSImportRule` corresponding to the `@import` at-rule that imported the stylesheet into the document. If the stylesheet wasn't imported then this property is null.
This commit is contained in:
parent
588a031e2d
commit
9b1ea4e2fc
3 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
interface CSSStyleSheet : StyleSheet {
|
||||
// FIXME: constructor(optional CSSStyleSheetInit options = {});
|
||||
|
||||
// FIXME: readonly attribute CSSRule? ownerRule;
|
||||
readonly attribute CSSRule? ownerRule;
|
||||
[SameObject] readonly attribute CSSRuleList cssRules;
|
||||
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
|
||||
undefined deleteRule(unsigned long index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue