Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_box.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_box.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_box.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..be87c0281a32de0156847fdeed2e9b7bef5139d2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_box.html |
@@ -0,0 +1,22 @@ |
+<!DOCTYPE html> |
+<html> |
+<title>WebVTT rendering, ::cue(* *) should match nothing (since the background box is anonymous)</title> |
+<link rel="match" href="background_box-ref.html"> |
+<style> |
+html { overflow:hidden } |
+body { margin:0 } |
+::cue(* *) { |
+ background:red; |
+ color:yellow |
+} |
+</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/test.vtt"> |
+ <script> |
+ document.getElementsByTagName('track')[0].track.mode = 'showing'; |
+ </script> |
+</video> |
+</html> |