OLD | NEW |
1 <style> | 1 <style> |
2 .container { | 2 .container { |
3 -webkit-writing-mode: horizontal-bt; | 3 -webkit-writing-mode: horizontal-bt; |
4 height: 100px; | 4 height: 100px; |
5 border: 1px solid black; | 5 border: 1px solid black; |
6 } | 6 } |
7 div { | 7 div { |
8 height: 20px; | 8 height: 20px; |
9 } | 9 } |
10 .box { | 10 .box { |
11 width: 20px; | 11 width: 20px; |
12 height: 20px; | 12 height: 20px; |
13 background-color: blue; | 13 background-color: blue; |
14 } | 14 } |
15 | 15 |
16 .transformed { | 16 .transformed { |
17 -webkit-transform: translateZ(0); | 17 transform: translateZ(0); |
18 } | 18 } |
19 span { | 19 span { |
20 opacity: 0.8; | 20 opacity: 0.8; |
21 } | 21 } |
22 | 22 |
23 </style> | 23 </style> |
24 <div class="container"> | 24 <div class="container"> |
25 <span> | 25 <span> |
26 <div class="transformed box"></div> | 26 <div class="transformed box"></div> |
27 <div style="display: inline-block">This test should not assert in debug
builds</div> | 27 <div style="display: inline-block">This test should not assert in debug
builds</div> |
28 </span> | 28 </span> |
29 </div> | 29 </div> |
30 <script> | 30 <script> |
31 if (window.testRunner) | 31 if (window.testRunner) |
32 testRunner.dumpAsText(); | 32 testRunner.dumpAsText(); |
33 </script> | 33 </script> |
OLD | NEW |