summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/container-for-cue-ref.html
blob: 40b0a07ae0183163576247a4adcf534345b068c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html class="reftest-wait">
<head>
  <title>CSS Test Reference</title>
  <script src="/common/reftest-wait.js"></script>
  <style>
    video {
      contain: size;
      width: 200px;
      height: 200px;
    }
    video::cue { background-color: green }
    video::cue(b) { color: lime }
  </style>
</head>
<body>
  <video autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
    <track default src="support/test.vtt">
    <source src="/media/white.mp4" type="video/mp4">
    <source src="/media/white.webm" type="video/webm">
  </video>
</body>
</html>