css/selectors/media/

8 / 20 WPT subtests passing

Failed
0
Timed out
6
Not run
6
Test files
6
Blocking files
0

Chrome 0 / 20 WPT subtests passing on the same files, none blocking

Tests

6 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
media-loading-state-timing.sub.html0 / 1 passingChrome 0 / 10 failedExempt
Standing
Exempt runner status ERROR
Chrome
Exempt 0 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

the one subtest waits for waiting and stalled on a WebM video the default platform cannot decode; video.play() rejects (no supported source), which the harness reports as the file's unhandled rejection

Media
support/stall-resume.py?video, serving /media/movie_300.webm (video/webm)
Failing assertion
harness ERROR: Unhandled rejection (the play() promise), and TIMEOUT: Test :stalled timing relative to waiting and timeupdate events - Test timed out

Harness message

Unhandled rejection

/css/selectors/media/media-loading-state-timing.sub.html ERROR 0 / 1

Unhandled rejection
  1. TIMEOUTTest :stalled timing relative to waiting and timeupdate events
    Test timed out
media-loading-state.sub.html1 / 3 passingChrome 0 / 30 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 3 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

the :stalled and :buffering subtests wait for the stalled event of a WebM video the stall script serves 4 KiB of and then holds; the default platform cannot decode WebM, so the element fails before it can stall (the syntax subtest passes)

Media
support/stall-resume.py, serving /media/movie_300.webm (video/webm)
Failing assertion
TIMEOUT: Test :stalled pseudo-class - Test timed out (then :buffering NOTRUN; 1/3 pass)

/css/selectors/media/media-loading-state.sub.html TIMEOUT 1 / 3

  1. TIMEOUTTest :stalled pseudo-class
    Test timed out
  2. NOT RUNTest :buffering pseudo-class
1 passing subtest
  1. Test :pseudo-class syntax is supported without throwing a SyntaxError
media-playback-state-timing.html1 / 3 passingChrome 0 / 30 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 3 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

the media-resource subtests wait for canplay on getVideoURI's video, which the default platform cannot decode (canPlayType "" for WebM and MP4), so canplay never fires (the subtest without a media resource passes)

Media
/media/counting.mp4 (video/mp4)
Failing assertion
TIMEOUT: Test :playing and :paused timing with a media resource - Test timed out (then the :seeking subtest NOTRUN; 1/3 pass)

/css/selectors/media/media-playback-state-timing.html TIMEOUT 1 / 3

  1. TIMEOUTTest :playing and :paused timing with a media resource
    Test timed out
  2. NOT RUNTest :seeking timing when setting currentTime
1 passing subtest
  1. Test :playing and :paused timing without media resource
media-playback-state.html2 / 5 passingChrome 0 / 50 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 5 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

the :playing, :paused and :seeking subtests wait for canplay on /common/media.js getVideoURI's video; the default platform decodes WAV only, so canPlayType is "" for WebM and MP4, resource selection ends in MEDIA_ERR_SRC_NOT_SUPPORTED and canplay never fires (the syntax and non-media-element subtests pass)

Media
/media/counting.mp4 (video/mp4; /media/counting.webm when canPlayType answers for VP9 + Opus)
Failing assertion
TIMEOUT: Test :playing pseudo-class - Test timed out (then :paused and :seeking NOTRUN; 2/5 pass)

/css/selectors/media/media-playback-state.html TIMEOUT 2 / 5

  1. TIMEOUTTest :playing pseudo-class
    Test timed out
  2. NOT RUNTest :paused pseudo-class
  3. NOT RUNTest :seeking pseudo-class
2 passing subtests
  1. Test :pseudo-class syntax is supported without throwing a SyntaxError
  2. Test that non-media elements do not match :playing, :paused, or :seeking
media-playing-paused-style-invalidation.html0 / 3 passingChrome 0 / 30 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 3 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

all three subtests wait for canplay on getVideoURI's video, which the default platform cannot decode (canPlayType "" for WebM and MP4), so canplay never fires

Media
/media/counting.mp4 (video/mp4)
Failing assertion
TIMEOUT: CSS invalidation fires for :playing when no :paused rule is present - Test timed out (the other two NOTRUN)

/css/selectors/media/media-playing-paused-style-invalidation.html TIMEOUT 0 / 3

  1. TIMEOUTCSS invalidation fires for :playing when no :paused rule is present
    Test timed out
  2. NOT RUNCSS invalidation fires for :paused when no :playing rule is present
  3. NOT RUNCSS invalidation fires for both :playing and :paused rules
sound-state.html4 / 5 passingChrome 0 / 50 failedExempt
Standing
Exempt runner status TIMEOUT
Chrome
Exempt 0 / 5 WPT subtests passing runner status OK

Exempt from the 0.1 gate until a decoder plays its media

the :muted subtest waits for canplay on getVideoURI's video, which the default platform cannot decode, so canplay never fires and the file times out (the syntax subtest and the three muted-content-attribute subtests pass)

Media
/media/counting.mp4 (video/mp4)
Failing assertion
TIMEOUT: Test :muted pseudo-class - Test timed out (4/5 pass)

/css/selectors/media/sound-state.html TIMEOUT 4 / 5

  1. TIMEOUTTest :muted pseudo-class
    Test timed out
4 passing subtests
  1. Test :pseudo-class syntax is supported without throwing a SyntaxError
  2. Test :muted matches .muted for content attribute default
  3. Test :muted matches .muted for content attribute set
  4. Test :muted matches .muted for content attribute set, and overridden

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.