Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style type="text/css"> | |
| 5 </style> | |
| 6 <style> | |
| 7 @font-face { | |
| 8 font-family: CSSHWOrientationTest; | |
| 9 src: url(../../resources/CSSHWOrientationTest.ttf) format("truetype"); | |
| 10 } | |
| 11 | |
| 12 html { | |
| 13 -webkit-writing-mode: vertical-rl; | |
| 14 text-rendering: geometricPrecision; | |
| 15 } | |
| 16 | |
| 17 p { | |
| 18 font-family: "CSSHWOrientationTest"; | |
| 19 font-size: 24px; | |
| 20 width: 24px; | |
| 21 height: 24px; | |
| 22 margin: 0; | |
| 23 padding: 0; | |
| 24 } | |
| 25 | |
| 26 .combine { | |
| 27 -webkit-text-combine: horizontal; | |
| 28 font-size: 24px; | |
| 29 line-height: 100%; | |
| 30 margin: 0; | |
| 31 padding: 0px; | |
| 32 } | |
| 33 | |
| 34 | |
| 35 </style> | |
| 36 <script src="../../resources/testharness.js"></script> | |
| 37 <script src="../../resources/testharnessreport.js"></script> | |
| 38 | |
| 39 <script type="text/javascript"> | |
| 40 setup({ explicit_done: true }); | |
| 41 function load() { | |
| 42 var spanElement = document.getElementById("variantCombine"); | |
| 43 var theCSSprop_1 = document.querySelector('.combine').clientHe ight; | |
| 44 | |
| 45 test(function() { | |
| 46 assert_true(( (theCSSprop_1 >= 24) && (theCSSprop_1 < (2 * 24 ))), "Numbers laid out in one line."); | |
|
Dominik Röttsches
2014/05/15 13:29:25
Why >=24? The condition should be 24, right? You'r
h.joshi
2014/05/19 12:45:36
Thank you for notifying this, will make changes to
| |
| 47 }, "Numbers exected to be laid out in one line"); | |
| 48 } | |
| 49 </script> | |
| 50 </head> | |
| 51 | |
| 52 <body onload="load(); done();"> | |
| 53 <p id="variantCombine" class="combine">90</p> | |
| 54 <div id="log"></div> | |
| 55 </body> | |
| 56 </html> | |
| OLD | NEW |