Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-video-element/video_dynamic_poster_relative.htm

Issue 2110093002: Import wpt@00af177447b0a4b2de95f051b040290f7307acd3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wpt-rewrite-nopathhacks
Patch Set: Merge branch 'master' into wpt_import2 Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-video-element/video_dynamic_poster_relative.htm
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-video-element/video_dynamic_poster_relative.htm b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-video-element/video_dynamic_poster_relative.htm
new file mode 100644
index 0000000000000000000000000000000000000000..4faca61c40a468c6cf1f628d6f97dcdbab06c039
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/embedded-content/the-video-element/video_dynamic_poster_relative.htm
@@ -0,0 +1,12 @@
+<!DOCTYPE HTML>
+<meta charset=UTF-8>
+<title>The 'HTMLVideoElement' interface supports setting 'poster' to a relative URL</title>
+<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-video-poster">
+<link rel="match" href="video_dynamic_poster-ref.htm">
+<meta name="assert" content="The 'HTMLVideoElement' interface supports setting 'poster' to a relative URL">
+<video id="video0">Your browser does not support video.</video>
+<script>
+var testElem = document.getElementById("video0");
+testElem.poster = "../../../../media/poster.png";
+</script>

Powered by Google App Engine
This is Rietveld 408576698