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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.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, 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 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 if (window.testRunner) { 4 if (window.testRunner) {
6 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
7 } 6 }
8 </script> 7 </script>
9 </head> 8 <div>This test passes if this img tag below is empty and displays nothing. It en sures that the srcset attribute supports invalid inputs</div>
10 9 <img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did not load invalid inputs')" onload="testFailed('Loaded invalid inputs')">
11 <body id="body">
12 <div>This test passes if this img tag below is empty and displays nothing. I t ensures that the srcset attribute supports invalid inputs</div>
13 <img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did not load invalid inputs')" onload="testFailed('Loaded
14 invalid inputs')"></img>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698