@@ -575,6 +575,54 @@ Precedence of Non-CSS Presentational Hints</h3>
575575
576576 Issue: [[css-cascade-5#layering]]
577577
578+ <!--
579+ ██████ ██████ ██████ ███████ ██ ██
580+ ██ ██ ██ ██ ██ ██ ██ ██ ███ ███
581+ ██ ██ ██ ██ ██ ████ ████
582+ ██ ██████ ██████ ██ ██ ██ ███ ██
583+ ██ ██ ██ ██ ██ ██ ██
584+ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
585+ ██████ ██████ ██████ ███████ ██ ██
586+ -->
587+
588+ CSSOM {#cssom}
589+ ==============
590+
591+
592+ <h3 id="the-cssscoperule-interface">
593+ The <code>CSSScopeRule</code> interface</h3>
594+
595+ The {{CSSScopeRule}} interface represents the ''@scope'' rule:
596+
597+ <pre class='idl' export>
598+ [Exposed=Window]
599+ interface CSSScopeRule : CSSGroupingRule {
600+ readonly attribute CSSOMString start;
601+ readonly attribute CSSOMString end;
602+ };
603+ </pre>
604+
605+ <dl class='idl-attributes'>
606+ <dt><code> start</code> of type <code> CSSOMString</code>
607+ <dd> The <code> start</code> attribute must return a value as follows:
608+
609+ <dl class="switch">
610+ <dt data-md> The ''@scope'' rule has an associated <<scope-start>>
611+ <dd data-md> The result of serializing that <<scope-start>> .
612+ <dt data-md> Otherwise
613+ <dd data-md> An empty string.
614+ </dl>
615+
616+ <dt><code> end</code> of type <code> CSSOMString</code>
617+ <dd> The <code> end</code> attribute must return a value as follows:
618+
619+ <dl class="switch">
620+ <dt data-md> The ''@scope'' rule has an associated <<scope-end>>
621+ <dd data-md> The result of serializing that <<scope-end>> .
622+ <dt data-md> Otherwise
623+ <dd data-md> An empty string.
624+ </dl>
625+ </dl>
578626
579627<!--
580628████████ ████████ ██████
@@ -597,6 +645,8 @@ Changes since the 21 December 2021 First Public Working Draft</h3>
597645 Significant changes since the
598646 <a href="https://www.w3.org/TR/2021/WD-css-cascade-6-20211221/">21 December 2021 First Public Working Draft</a> include:
599647
648+ * Added the {{CSSScopeRule}} interface.
649+
600650 * Added [=implicit scopes=] .
601651 (<a href="https://github.com/w3c/csswg-drafts/issues/6606">Issue 6606</a> )
602652
0 commit comments