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

Side by Side Diff: LayoutTests/fast/viewport/viewport-legacy-ordering-9.html

Issue 23101004: Make configurationForViewport match production code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed configurationForViewport to viewportAsText Created 7 years, 4 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 <head> 1 <head>
2 <title>MobileOptimized, HandheldFriendly, Viewport Meta.</title> 2 <title>MobileOptimized, HandheldFriendly, Viewport Meta.</title>
3 <meta name="MobileOptimized" content="480"> 3 <meta name="MobileOptimized" content="480">
4 <meta name="HandheldFriendly" content="true"> 4 <meta name="HandheldFriendly" content="true">
5 <meta name="viewport" content="width = 300"> 5 <meta name="viewport" content="width = 300">
6 <script> 6 <script>
7 function test() { 7 function test() {
8 if (window.testRunner) { 8 if (window.testRunner) {
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352)); 10 alert(internals.viewportAsText(document, 1, 320, 352));
11 } 11 }
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body onload="test();"> 15 <body onload="test();">
OLDNEW
« no previous file with comments | « LayoutTests/fast/viewport/viewport-legacy-ordering-8.html ('k') | LayoutTests/fast/viewport/viewport-legacy-xhtmlmp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698