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

Side by Side Diff: LayoutTests/fast/media/mq-pixel-ratio-print.html

Issue 48903019: Delete js-test-post.js. (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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 5
6 <div id="detector"></div> 6 <div id="detector"></div>
7 7
8 <style> 8 <style>
9 #detector { width: 100px; } 9 #detector { width: 100px; }
10 @media (-webkit-min-device-pixel-ratio: 1) { #detector { width: 10px; } } 10 @media (-webkit-min-device-pixel-ratio: 1) { #detector { width: 10px; } }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Should match the one requiring 'print' media type. 47 // Should match the one requiring 'print' media type.
48 shouldBe("resolutionFromStyle()", "3"); 48 shouldBe("resolutionFromStyle()", "3");
49 49
50 // As well as those matching 'all'. 50 // As well as those matching 'all'.
51 appendMediaRule("@media (-webkit-min-device-pixel-ratio: 3.125) { #detec tor { width: 31px; } }"); 51 appendMediaRule("@media (-webkit-min-device-pixel-ratio: 3.125) { #detec tor { width: 31px; } }");
52 shouldBe("resolutionFromStyle()", "3.125"); 52 shouldBe("resolutionFromStyle()", "3.125");
53 } 53 }
54 </script> 54 </script>
55 55
56 <script src="../js/resources/js-test-post.js"></script>
57 </body> 56 </body>
58 </html> 57 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/media/media-query-serialization.html ('k') | LayoutTests/fast/media/mq-resolution.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698