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

Side by Side Diff: LayoutTests/fast/hidpi/image-srcset-data-srcset-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, 1 month 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("foo").clientWidth==150 is true 4 PASS document.getElementById("foo").clientWidth==75 is true
5 This test passes if the image below looks like a 2x2 grid (yellow, gray, light g reen, dark green). In this case the srcset attribute has a base64 url, with the comma escaped. 5 This test passes if the image below looks like a 2x2 grid (yellow, gray, light g reen, dark green). In this case the srcset attribute has a base64 url, with the comma escaped.
6 The image is displayed in a width of 75px, since the 2x resource gets picked (as the highest density resource current available.
6 7
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698