Skip to content

Commit fecadfd

Browse files
committed
[selectors-4] Add :modal. w3c#6965
1 parent 37612be commit fecadfd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

selectors-4/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,6 +2491,15 @@ Sound State: the '':muted'' and '':volume-locked'' pseudo-classes</h3>
24912491
when programmatically changing the element’s volume
24922492
does not change the element's [=HTMLMediaElement/effective media volume=].
24932493

2494+
<h3 id="modal-state">
2495+
Modal (Exclusive Interaction) State: the '':modal'' pseudo-class</h3>
2496+
2497+
The <dfn>:modal</dfn> pseudo-class represents
2498+
an element which is in a state that excludes all interaction
2499+
with elements outside it until it has been dismissed.
2500+
Multiple elements can be '':modal'' simultaneously,
2501+
with only one of them active (able to receive input).
2502+
24942503
<h2 id='input-pseudos'>
24952504
The Input Pseudo-classes</h2>
24962505

@@ -4016,6 +4025,8 @@ Changes since the 21 November 2018 Working Draft</h3>
40164025
<li>Added [[#sub-pseudo-elements]] to define [=sub-pseudo-elements=] and related terminology.
40174026
<li>Added '':defined''.
40184027
(<a href="https://github.com/w3c/csswg-drafts/issues/2258">Issue 2258</a>)
4028+
<li>Added '':modal''.
4029+
(<a href="https://github.com/w3c/csswg-drafts/issues/6965">Issue 6965</a>)
40194030
<li>Added '':seeking'', '':buffering'', and ':stalled'' media playback state pseudo-classes.
40204031
(<a href="https://github.com/w3c/csswg-drafts/issues/3821">Issue 3821</a>)
40214032
<li>Added '':muted'' and '':volume-locked'' sound state pseudo-classes.

0 commit comments

Comments
 (0)