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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-data-src.html

Issue 1908463002: Modernize fast/hidpi layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NeedsManualRebaseline Created 4 years, 8 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 <html> 1 <!DOCTYPE html>
2 <head>
3 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
4 <script> 3 <script>
5 addEventListener("load", function() { 4 addEventListener("load", function() {
6 shouldBeTrue('document.getElementById("foo").clientWidth==150'); 5 shouldBeTrue('document.getElementById("foo").clientWidth==150');
7 }, false); 6 }, false);
8 </script> 7 </script>
9 </head> 8 <div>This test passes if the image below looks like a 2x2 grid (yellow, gray, li ght green, dark green).</div>
10 9 <img id="foo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAIAAAA L5NQ9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2woaBQc4oLEFpAAAABl0RVh0Q29tbWVudAB DcmVhdGVkIHdpdGggR0lNUFeBDhcAAACMSURBVHja7dNBEYAgFEVRPhHMYgAzUIsmVnFvB/fsoQb+Obf BmzMvxneW1D1vzz2wFiEUQiFEKIRCKIQIhVAIhRChEAqhECIUQiEUQoRCKIRCiFAIhVAIEep3xTWTLzz u5oVCKIRCiFAIhVAIEQqhEAohQiEUQiFEKIRCKIQIhVAIhRChEAqhECLUZi3VEwcBMGr1NgAAAABJRU5 ErkJggg==">
11 <body id="body">
12 <div>This test passes if the image below looks like a 2x2 grid (yellow, gray , light green, dark green).</div>
13 <img id="foo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAA8CAI AAAAL5NQ9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2woaBQc4oLEFpAAAABl0RVh0Q29tbWV udABDcmVhdGVkIHdpdGggR0lNUFeBDhcAAACMSURBVHja7dNBEYAgFEVRPhHMYgAzUIsmVnFvB/fsoQb +ObfBmzMvxneW1D1vzz2wFiEUQiFEKIRCKIQIhVAIhRChEAqhECIUQiEUQoRCKIRCiFAIhVAIEep3xTW TLzzu5oVCKIRCiFAIhVAIEQqhEAohQiEUQiFEKIRCKIQIhVAIhRChEAqhECLUZi3VEwcBMGr1NgAAAAB JRU5ErkJggg==">
14 </body>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698