Index: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/not_root_selector.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/not_root_selector.html b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/not_root_selector.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94d44369050e0b008707a2ca937bc419d0e6411d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/not_root_selector.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<title>WebVTT rendering, ::cue(:not(:root)) should not match the root</title> |
+<link rel="match" href="not_root_selector-ref.html"> |
+<style> |
+html { overflow:hidden } |
+body { margin:0 } |
+::cue(:not(:root)) { |
+ color:lime |
+} |
+</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/foo_c_bar.vtt"> |
+ <script> |
+ document.getElementsByTagName('track')[0].track.mode = 'showing'; |
+ </script> |
+</video> |
+</html> |