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

Side by Side Diff: LayoutTests/css3/device-adapt/viewport-user-agent-style.html

Issue 25092003: Added missing @viewport to the simple UA stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Retried after old chunk mismatch Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/viewport-user-agent-style-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>@viewport user agent stylesheet</title>
5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script>
7 <script>
8 if (window.testRunner) {
9 testRunner.enableFixedLayoutMode(true);
10 internals.settings.setViewportEnabled(true);
11 }
12 </script>
13 <style>
14 html, body { width: 100%; height: 100%; margin: 0 }
15 </style>
16 </head>
17 <body>
18 <div id="log"></div>
19 <script>
20 test(function(){
21 assert_equals(document.body.offsetWidth, 980);
22 }, "Check that we get a viewport width of 980px from the user agent styl esheet.");
23 </script>
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/viewport-user-agent-style-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698