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

Side by Side Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-2x-expected.txt

Issue 674923004: Avoid srcset resource download when higher density resource is in cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed layout tests and added some. Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 PASS successfullyParsed is true 1 PASS successfullyParsed is true
2 2
3 TEST COMPLETE 3 TEST COMPLETE
4 PASS document.getElementById("simple").clientWidth is window.innerWidth 4 PASS document.getElementById("simple").clientWidth is window.innerWidth
5 PASS currentSrcFileName("simple") is "image-set-2x.png" 5 PASS currentSrcFileNameNoParams("simple") is "image-set-2x.png"
6 PASS document.getElementById("small_sizes").clientWidth is 300 6 PASS document.getElementById("small_sizes").clientWidth is 300
7 PASS currentSrcFileName("small_sizes") is "image-set-2x.png" 7 PASS currentSrcFileNameNoParams("small_sizes") is "image-set-2x.png"
8 PASS document.getElementById("sizes_x_descriptors").clientWidth is 400 8 PASS document.getElementById("sizes_x_descriptors").clientWidth is 400
9 PASS currentSrcFileName("sizes_x_descriptors") is "image-set-2x.png" 9 PASS currentSrcFileNameNoParams("sizes_x_descriptors") is "image-set-2x.png"
10 PASS document.getElementById("sizes_src").clientWidth is 400 10 PASS document.getElementById("sizes_src").clientWidth is 400
11 PASS currentSrcFileName("sizes_src") is "image-set-1x.png" 11 PASS currentSrcFileNameNoParams("sizes_src") is "image-set-1x.png"
12 PASS document.getElementById("default_sizes").clientWidth is window.innerWidth 12 PASS document.getElementById("default_sizes").clientWidth is window.innerWidth
13 PASS currentSrcFileName("default_sizes") is "image-set-4x.png" 13 PASS currentSrcFileNameNoParams("default_sizes") is "image-set-4x.png"
14 PASS document.getElementById("invalid_length").clientWidth is window.innerWidth 14 PASS document.getElementById("invalid_length").clientWidth is window.innerWidth
15 PASS currentSrcFileName("invalid_length") is "image-set-2x.png" 15 PASS currentSrcFileNameNoParams("invalid_length") is "image-set-2x.png"
16 PASS document.getElementById("src_and_w").clientWidth is within 0.015625 of 700 16 PASS document.getElementById("src_and_w").clientWidth is within 0.015625 of 700
17 PASS currentSrcFileName("src_and_w") is "image-set-4x.png" 17 PASS currentSrcFileNameNoParams("src_and_w") is "image-set-4x.png"
18 PASS document.getElementById("x_and_w").clientWidth is within 0.015625 of 700 18 PASS document.getElementById("x_and_w").clientWidth is within 0.015625 of 700
19 PASS currentSrcFileName("x_and_w") is "image-set-4x.png" 19 PASS currentSrcFileNameNoParams("x_and_w") is "image-set-4x.png"
20 PASS document.getElementById("x_and_w2").clientWidth is 400 20 PASS document.getElementById("x_and_w2").clientWidth is 400
21 PASS currentSrcFileName("x_and_w2") is "image-set-2x.png" 21 PASS currentSrcFileNameNoParams("x_and_w2") is "image-set-2x.png"
22 PASS document.getElementById("x_and_w3").clientWidth is 400 22 PASS document.getElementById("x_and_w3").clientWidth is 400
23 PASS currentSrcFileName("x_and_w3") is "image-set-2x.png" 23 PASS currentSrcFileNameNoParams("x_and_w3") is "image-set-2x.png"
24 PASS document.getElementById("half_size").clientWidth is (window.innerWidth/2) 24 PASS document.getElementById("half_size").clientWidth is (window.innerWidth/2)
25 PASS currentSrcFileName("half_size") is "image-set-2x.png" 25 PASS currentSrcFileNameNoParams("half_size") is "image-set-2x.png"
26 PASS document.getElementById("infitisimal_sizes").clientWidth is (window.innerWi dth/100) 26 PASS document.getElementById("infitisimal_sizes").clientWidth is (window.innerWi dth/100)
27 PASS currentSrcFileName("infitisimal_sizes") is "image-set-2x.png" 27 PASS currentSrcFileNameNoParams("infitisimal_sizes") is "image-set-2x.png"
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698