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

Side by Side Diff: LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html

Issue 23861003: Enable srcset support in HTMLImageElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed a flaky test Created 7 years, 3 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 src="../js/resources/js-test-pre.js"></script>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 }
8 </script>
9 </head>
10
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