Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/too_many_cues.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/too_many_cues.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/too_many_cues.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..573ffcc21a98f6fa0e4ee51e9e976b2f624897c5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/too_many_cues.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html class="reftest-wait"> |
+<title>WebVTT rendering, too many cues - cues that cannot fit should not be shown</title> |
+<link rel="match" href="too_many_cues-ref.html"> |
+<style> |
+html { overflow:hidden } |
+body { margin:0 } |
+::cue { |
+ font-family: Ahem, sans-serif; |
+ color: green |
+} |
+</style> |
+<script src="/common/reftest-wait.js"></script> |
+<video width="1280" height="720" 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.vtt"> |
+ <script> |
+ document.getElementsByTagName('track')[0].track.mode = 'showing'; |
+ </script> |
+</video> |
+</html> |