Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_shorthand_css_relative_url.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_shorthand_css_relative_url.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_shorthand_css_relative_url.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a206765beb174e8ad4248a8d34c6580b69bc9aa |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/background_shorthand_css_relative_url.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<html> |
+<title>WebVTT rendering, ::cue(), background shorthand, background image URL with relative path from CSS file</title> |
+<link rel="match" href="background_shorthand_css_relative_url-ref.html"> |
+<style> |
+html { overflow:hidden } |
+body { margin:0 } |
+::cue(*) { |
+ font-family: Ahem, sans-serif; |
+ background: #0f0 url('../../media/background.gif') repeat-x top left; |
+ 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/test.vtt"> |
+ <script> |
+ document.getElementsByTagName('track')[0].track.mode = 'showing'; |
+ </script> |
+</video> |
+</html> |