Skip to content

Commit

Permalink
[css-contain-3] Add APIs section with CSSContainerRules w3c#7033
Browse files Browse the repository at this point in the history
Might need to add @container specifics prose for conditionText like we
have for @support, but the syntax is e.g. currently missing
<general-enclosed>.
  • Loading branch information
lilles committed Feb 10, 2022
1 parent 59972ba commit 9d57eb8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css-contain-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,19 @@ Container Relative Lengths: the ''cqw'', ''cqh'', ''cqi'', ''cqb'', ''cqmin'', '
</pre>
</div>

<h2 id="apis">APIs</h2>

<h3 id="the-csscontainerrule-interface">
The <code>CSSContainerRule</code> interface</h3>

The {{CSSContainerRule}} interface represents an ''@container'' rule.

<pre class='idl'>
[Exposed=Window]
interface CSSContainerRule : CSSConditionRule {
};
</pre>


Suppressing An Element’s Contents Entirely: the 'content-visibility' property {#content-visibility}
=================
Expand Down

0 comments on commit 9d57eb8

Please sign in to comment.