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

Unified Diff: third_party/WebKit/LayoutTests/media/video-size-expected.txt

Issue 2126753002: Convert video-[default, size, timeupdate]* tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 5 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/media/video-size-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/video-size-expected.txt b/third_party/WebKit/LayoutTests/media/video-size-expected.txt
deleted file mode 100644
index 8e190779e3dde6a1978cab6e03f22eb24dc931e1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-size-expected.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-Test <video> element size with and without 'src' and 'poster' attributes.
-
-Testing movie with no 'src' and no 'poster', with 'width' and 'height' attributes.
-EXPECTED (video.clientWidth == '640') OK
-EXPECTED (video.clientHeight == '480') OK
-EXPECTED (video.videoWidth == '0') OK
-EXPECTED (video.videoHeight == '0') OK
-
-Removing 'width' and 'height' attributes.
-Testing movie with no 'src' and no 'poster', with NO 'width' and 'height' attributes, should be default size.
-EXPECTED (video.clientWidth == '300') OK
-EXPECTED (video.clientHeight == '150') OK
-EXPECTED (video.videoWidth == '0') OK
-EXPECTED (video.videoHeight == '0') OK
-
-Setting 'poster' to "content/abe.png"
-Testing movie with 'poster' but no 'src', should be image size.
-EXPECTED (video.clientWidth == '76') OK
-EXPECTED (video.clientHeight == '103') OK
-EXPECTED (video.videoWidth == '0') OK
-EXPECTED (video.videoHeight == '0') OK
-
-Setting 'src' to "content/test.[extension]"
-Testing movie with 'poster' and 'src', should be <video> size.
-EXPECTED (video.clientWidth == '320') OK
-EXPECTED (video.clientHeight == '240') OK
-EXPECTED (video.videoWidth == '320') OK
-EXPECTED (video.videoHeight == '240') OK
-
-Setting 'src' to "content/bogus.[extension]" 'poster' to "content/greenbox.png"
-Testing movie with 'poster' and invalid 'src', should be image size.
-EXPECTED (video.clientWidth == '25') OK
-EXPECTED (video.clientHeight == '25') OK
-EXPECTED (video.videoWidth == '0') OK
-EXPECTED (video.videoHeight == '0') OK
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698