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

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

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 window.targetScaleFactor = 1; 4 window.targetScaleFactor = 1;
5 </script> 5 </script>
6 <script src="resources/srcset-helper.js"></script> 6 <script src="resources/srcset-helper.js"></script>
7 <script src="../js/resources/js-test-pre.js"></script> 7 <script src="../../resources/js-test.js"></script>
8 <script> 8 <script>
9 addEventListener("load", function() { 9 addEventListener("load", function() {
10 shouldBeTrue('document.getElementById("foo").clientWidth==100'); 10 shouldBeTrue('document.getElementById("foo").clientWidth==100');
11 }, false); 11 }, false);
12 </script> 12 </script>
13 </head> 13 </head>
14 14
15 <body id="body"> 15 <body id="body">
16 <div>This test passes if the image below is a 100px blue square when the dev iceScaleFactor is 1.</div> 16 <div>This test passes if the image below is a 100px blue square when the dev iceScaleFactor is 1.</div>
17 <div> It tests that even though the 1x resource contains many invalid descri ptors, only the invalid descriptors are ignored (according 17 <div> It tests that even though the 1x resource contains many invalid descri ptors, only the invalid descriptors are ignored (according
18 to the spec) </div> 18 to the spec) </div>
19 <img id="foo" src="" srcset="resources/blue-100-px-square.png 43q 1x dfs 3dd , resources/green-400-px-square.png 2x"> 19 <img id="foo" src="" srcset="resources/blue-100-px-square.png 43q 1x dfs 3dd , resources/green-400-px-square.png 2x">
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/hidpi/image-srcset-intrinsic-size.html ('k') | LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698