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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt

Issue 290803002: Return an absolute URL for HTMLImageElement.currentSrc (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and review nits Created 6 years, 7 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: LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt
index dd5e916408242697881552dbbac7993c2c0de838..38b8e7626d8b7f6d7251c0cadd7a5aed442b1a64 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x-expected.txt
@@ -1,30 +1,31 @@
PASS successfullyParsed is true
TEST COMPLETE
+PASS document.getElementById("simple").currentSrc.indexOf("file://") == 0 is true
PASS document.getElementById("simple").clientWidth is (window.innerWidth)
-PASS document.getElementById("simple").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("simple") is "image-set-2x.png"
PASS document.getElementById("small_sizes").clientWidth is 300
-PASS document.getElementById("small_sizes").currentSrc is "../../hidpi/resources/image-set-1x.png"
+PASS currentSrcFileName("small_sizes") is "image-set-1x.png"
PASS document.getElementById("sizes_x_descriptors").clientWidth is 400
-PASS document.getElementById("sizes_x_descriptors").currentSrc is "../../hidpi/resources/image-set-1x.png"
+PASS currentSrcFileName("sizes_x_descriptors") is "image-set-1x.png"
PASS document.getElementById("sizes_src").clientWidth is 400
-PASS document.getElementById("sizes_src").currentSrc is "../../hidpi/resources/image-set-1x.png"
+PASS currentSrcFileName("sizes_src") is "image-set-1x.png"
PASS document.getElementById("default_sizes").clientWidth is window.innerWidth
-PASS document.getElementById("default_sizes").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("default_sizes") is "image-set-2x.png"
PASS document.getElementById("invalid_length").clientWidth is window.innerWidth
-PASS document.getElementById("invalid_length").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("invalid_length") is "image-set-2x.png"
PASS document.getElementById("src_and_w").clientWidth is within 0.015625 of 700
-PASS document.getElementById("src_and_w").currentSrc is "resources/image-set-4x.png"
+PASS currentSrcFileName("src_and_w") is "image-set-4x.png"
PASS document.getElementById("src_and_w2").clientWidth is within 0.015625 of 700
-PASS document.getElementById("src_and_w2").currentSrc is "../../hidpi/resources/image-set-1x.png"
+PASS currentSrcFileName("src_and_w2") is "image-set-1x.png"
PASS document.getElementById("x_and_w").clientWidth is within 0.015625 of 700
-PASS document.getElementById("x_and_w").currentSrc is "resources/image-set-4x.png"
+PASS currentSrcFileName("x_and_w") is "image-set-4x.png"
PASS document.getElementById("x_and_w2").clientWidth is 400
-PASS document.getElementById("x_and_w2").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("x_and_w2") is "image-set-2x.png"
PASS document.getElementById("x_and_w3").clientWidth is 400
-PASS document.getElementById("x_and_w3").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("x_and_w3") is "image-set-2x.png"
PASS document.getElementById("half_size").clientWidth is (window.innerWidth/2)
-PASS document.getElementById("half_size").currentSrc is "../../hidpi/resources/image-set-2x.png"
+PASS currentSrcFileName("half_size") is "image-set-2x.png"
PASS document.getElementById("infitisimal_sizes").clientWidth is (window.innerWidth/100)
-PASS document.getElementById("infitisimal_sizes").currentSrc is "../../hidpi/resources/image-set-2x.png"
-
+PASS currentSrcFileName("infitisimal_sizes") is "image-set-2x.png"
+
« no previous file with comments | « LayoutTests/fast/dom/HTMLImageElement/image-sizes-1x.html ('k') | LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698