Skip to content

Commit 2469f0e

Browse files
committed
[selectors-4][editorial] Rephrase :muted/:volume-locked to read better. w3c#8061
1 parent 120dbb8 commit 2469f0e

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

selectors-4/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,14 +2469,17 @@ Media Loading State: the '':buffering'' and '':stalled'' pseudo-classes</h3>
24692469
Sound State: the '':muted'' and '':volume-locked'' pseudo-classes</h3>
24702470

24712471
The <dfn>:muted</dfn> pseudo-class represents
2472-
an element capable of making sound
2473-
when that element is “muted“ (forced silent).
2472+
an element that is capable of making sound,
2473+
but is currently “muted“ (forced silent).
24742474
(For the <{audio}> and <{video}> elements of HTML, see [=muted=]. [[HTML]])
24752475

24762476
The <dfn>:volume-locked</dfn> pseudo-class represents
2477-
an element capable of making sound
2478-
when programmatically changing the element’s volume
2479-
does not change the element's [=HTMLMediaElement/effective media volume=].
2477+
an element that is capable of making sound,
2478+
and currently has its volume "locked"
2479+
by the UA or the user,
2480+
so the page author cannot change it.
2481+
(For the <{audio}> and <{video}> elements of HTML,
2482+
see the algorithm for setting the element's [=HTMLMediaElement/effective media volume=]. [[HTML]])
24802483

24812484
<h2 id="display-state-pseudos">
24822485
Element Display State Pseudo-classes</h2>

0 commit comments

Comments
 (0)