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

Side by Side Diff: LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html

Issue 302083009: Revert of Enable a srcset 0x descriptor (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 window.targetScaleFactor = 2;
5 </script>
6 <script src="resources/srcset-helper.js"></script>
7 <script src="../../resources/js-test.js"></script>
8 <script>
9 addEventListener("load", function() {
10 shouldBe('document.getElementById("foo").clientWidth', '33554432');
11 }, false);
12 </script>
13 </head>
14
15 <body id="body">
16 <div>
17 This test passes if the image is displayed with infinite dimensions
18 </div>
19 <img id="foo" srcset="resources/blue-100-px-square.png 0x">
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698