Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that disables it given conditions:
- os == "android" : https://bugzilla.mozilla.org/show_bug.cgi?id=1536762
- This WPT test may be referenced by the following Test IDs:
- /webvtt/rendering/cues-with-video/processing-model/too_many_cues_wrapped.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, too many cues (wrapped) - cues that cannot fit should not be shown</title>
<link rel="match" href="too_many_cues_wrapped-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html { overflow:hidden }
body { margin:0 }
::cue {
font: 20px/1 Ahem;
color: green
}
</style>
<script src="/common/reftest-wait.js"></script>
<video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();">
<source src="/media/white.webm" type="video/webm">
<source src="/media/white.mp4" type="video/mp4">
<track src="support/too_many_cues_wrapped.vtt">
<script>
document.getElementsByTagName('track')[0].track.mode = 'showing';
</script>
</video>
</html>