Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/disable_controls_reposition.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/disable_controls_reposition.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/disable_controls_reposition.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..892e7e6a5270b1c30689a52c29da26fcbff66c44 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/disable_controls_reposition.html |
@@ -0,0 +1,28 @@ |
+<!doctype html> |
+<html class="reftest-wait"> |
+<title>WebVTT rendering, cue reposition after disabling controls</title> |
+<link rel="match" href="disable_controls_reposition-ref.html"> |
+<style> |
+video { |
+ outline: solid; |
+ width: 320px; |
+ height: 240px; |
+} |
+::cue { |
+ font-family: Ahem, sans-serif; |
+ font-size: 50px; |
+ color: green; |
+} |
+</style> |
+<script src="/common/reftest-wait.js"></script> |
+<video autoplay controls onplaying="this.onplaying = null; |
+ this.pause(); |
+ this.currentTime = 0; |
+ setTimeout(function(video){ |
+ video.controls = false; |
+ }, 100, this); |
+ setTimeout(takeScreenshot, 200);"> |
+ <source src="/media/white.webm" type="video/webm"> |
+ <source src="/media/white.mp4" type="video/mp4"> |
+ <track src=support/foo.vtt> |
+</video> |