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

Side by Side Diff: LayoutTests/css3/device-adapt/viewport-initial-height-zero.html

Issue 16826008: [css-device-adapt] Implemented spec changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Corrected expectations for tests added after original upload. Created 7 years, 5 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Use initial width for auto width if initial height is zero</title>
5 <link rel="help" href="http://www.w3.org/TR/css-device-adapt/#constraining-v iewport-descriptor-values">
6 <style type="text/css">
7 @viewport {
8 width: auto;
9 height: 100px;
10 }
11 </style>
12 <script type="text/javascript">
13 function test() {
14 if (window.testRunner) {
15 testRunner.dumpAsText();
16 alert(internals.configurationForViewport(document, 1, 320, 480, 200, 0));
17 }
18 }
19 </script>
20 </head>
21 <body onload="test();"></body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698