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

Side by Side Diff: LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-5.html

Issue 19555002: Translate viewport related meta tags into @viewport descriptors as suggested by the CSS Device Adap… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <title>Viewport Meta with "width=device-width".</title> 2 <title>MobileOptimized Meta with content bigger than the viewport width".</t itle>
3 <meta name="viewport" content="width=device-width"> 3 <meta name="MobileOptimized" content="1000">
4 <script> 4 <script>
5 function test() { 5 function test() {
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 alert(internals.viewportAsText(document, 1, 320, 352)); 8 alert(internals.viewportAsText(document, 1, 320, 352));
9 } 9 }
10 } 10 }
11 </script> 11 </script>
12 </head> 12 </head>
13 <body onload="test();"> 13 <body onload="test();">
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698