OLD | NEW |
---|---|
(Empty) | |
1 <style> | |
2 #overlap { | |
3 width: 10px; | |
4 height: 100px; | |
5 background: green; | |
6 will-change: transform; | |
7 } | |
8 #transformed { | |
9 position: absolute; | |
10 left: 0; | |
11 top: 0; | |
12 overflow: hidden; | |
13 transform: translate(0, 50px); | |
14 } | |
15 </style> | |
16 <div id="overlap"></div> | |
17 <div id="transformed"> | |
18 This test succeeds if this text is visible. | |
19 </div> | |
20 This test verifies squashed transformed elements have their ancestor clip and lo cal clip applied in the correct spaces. | |
OLD | NEW |