Skip to content

Commit 83f1b8d

Browse files
authored
Editorial: clarify the difference between :stalled pseudo-class and stalled event
See #12145 (comment) for context.
1 parent 748b068 commit 83f1b8d

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

source

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79704,10 +79704,17 @@ Demos:
7970479704
</dd>
7970579705

7970679706
<dt><dfn selector noexport><code data-x="selector-stalled">:stalled</code></dfn></dt>
79707-
<dd><p>The <code data-x="selector-stalled">:stalled</code> <span>pseudo-class</span> must match
79708-
all <span data-x="media element">media elements</span> that match the <code
79709-
data-x="selector-buffering">:buffering</code> <span>pseudo-class</span> and whose <span>is
79710-
currently stalled</span> is true.</p></dd>
79707+
<dd>
79708+
<p>The <code data-x="selector-stalled">:stalled</code> <span>pseudo-class</span> must match
79709+
all <span data-x="media element">media elements</span> that match the <code
79710+
data-x="selector-buffering">:buffering</code> <span>pseudo-class</span> and whose <span>is
79711+
currently stalled</span> is true.</p>
79712+
79713+
<p class="note">This pseudo-class is intended for displaying player state UI when video playback
79714+
has been buffering for too long. Unlike the <code
79715+
data-x="event-media-stalled">stalled</code> event, which fires whenever the network download has
79716+
stalled regardless of playback or ready state.</p>
79717+
</dd>
7971179718

7971279719
<dt><dfn selector noexport><code data-x="selector-muted">:muted</code></dfn></dt>
7971379720
<dd><p>The <code data-x="selector-muted">:muted</code> <span>pseudo-class</span> must match all

0 commit comments

Comments
 (0)