Skip to content

Commit 9fd4636

Browse files
CanadaHonkemilio
authored andcommitted
[cssom-1] Add CSSImportRule.supportsText attribute
Fixes w3c#8710
1 parent ba53095 commit 9fd4636

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cssom-1/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -2046,6 +2046,7 @@ interface CSSImportRule : CSSRule {
20462046
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
20472047
[SameObject] readonly attribute CSSStyleSheet styleSheet;
20482048
readonly attribute CSSOMString? layerName;
2049+
readonly attribute CSSOMString? supportsText;
20492050
};
20502051
</pre>
20512052

@@ -2064,6 +2065,9 @@ The <dfn attribute for=CSSImportRule>layerName</dfn> attribute must return the [
20642065
or an empty string if the layer is anonymous,
20652066
or null if the at-rule does not declare a layer.
20662067

2068+
The <dfn attribute for=CSSImportRule>supportsText</dfn> attribute must return the <<supports-condition>> declared in the at-rule itself,
2069+
or null if the at-rule does not declare a supports condition.
2070+
20672071
Note: An <code>@import</code> at-rule always has an associated <a>CSS style sheet</a>.
20682072

20692073

0 commit comments

Comments
 (0)