Skip to content

Commit a1fa1a5

Browse files
authored
[css-anchor-position-1] Add CSSOM interfaces (w3c#9005)
1 parent 96be933 commit a1fa1a5

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,6 +1262,48 @@ with no additional effects.)
12621262
</div>
12631263

12641264

1265+
<!--
1266+
Insert ASCII art here
1267+
-->
1268+
1269+
DOM Interfaces {#interfaces}
1270+
==========
1271+
1272+
The CSSPositionFallbackRule interface {#position-fallback-rule}
1273+
-------------------------------------
1274+
1275+
The {{CSSPositionFallbackRule}} interface represents
1276+
the ''@position-fallback'' rule:
1277+
1278+
<pre class='idl' export>
1279+
[Exposed=Window]
1280+
interface CSSPositionFallbackRule : CSSGroupingRule {
1281+
readonly attribute CSSOMString name;
1282+
};
1283+
</pre>
1284+
1285+
Its <dfn attribute for=CSSPositionFallbackRule>name</dfn> attribute
1286+
represents the name declared by the at-rule itself.
1287+
1288+
1289+
1290+
The CSSTryRule interface {#position-fallback-rule}
1291+
-------------------------------------
1292+
1293+
The {{CSSTryRule}} interface represents a ''@try'' block
1294+
declared in a ''@position-fallback'' rule:
1295+
1296+
<pre class='idl' export>
1297+
[Exposed=Window]
1298+
interface CSSTryRule : CSSRule {
1299+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
1300+
};
1301+
</pre>
1302+
1303+
Its <dfn attribute for=CSSTryRule>style</dfn> attribute
1304+
represents the declarations declared by the ''@try'' block itself in the specified order.
1305+
1306+
12651307
Security Considerations {#sec}
12661308
=======================
12671309

0 commit comments

Comments
 (0)