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

Side by Side Diff: LayoutTests/fast/viewport/viewport-90.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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" 2 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
3 "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> 3 "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5 <head> 5 <head>
6 <title>XHTML Mobile Profile 1.0 document with viewport meta</title> 6 <title>XHTML Mobile Profile 1.0 document with viewport meta</title>
7 <meta name="viewport" content="width=700, initial-scale=0.5"> 7 <meta name="viewport" content="width=700, initial-scale=0.5">
8 <script> 8 <script>
9 function test() { 9 function test() {
10 if (window.testRunner) { 10 if (window.testRunner) {
11 testRunner.dumpAsText(); 11 testRunner.dumpAsText();
12 alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352)); 12 alert(internals.viewportAsText(document, 1, 320, 352));
13 } 13 }
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="test();"> 17 <body onload="test();">
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/viewport/viewport-9.html ('k') | LayoutTests/fast/viewport/viewport-legacy-handheldfriendly.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698