Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_background_properties.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_background_properties.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_background_properties.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..765b01f65c0bea8c332b9124882495bd3d7819fe |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/class_object/class_background_properties.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<title>WebVTT rendering, ::cue(c), background properties</title> |
+<link rel="match" href="class_background_properties-ref.html"> |
+<style> |
+html { overflow:hidden } |
+body { margin:0 } |
+::cue(c) { |
+ font-family: sans-serif; |
+ background-color: #0f0; |
+ background-image: url('../../../media/background.gif'); |
+ background-repeat: repeat-x; |
+ background-position: top left; |
+ color: black; |
+} |
+</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_class.vtt"> |
+ <script> |
+ document.getElementsByTagName('track')[0].track.mode = 'showing'; |
+ </script> |
+</video> |
+</html> |