OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 #escaped-clip { | |
4 width: 100px; | |
5 height: 100px; | |
6 overflow: hidden; | |
7 opacity: 0.5; | |
8 } | |
9 | |
10 #escaping-child { | |
11 position: absolute; | |
12 width: 100px; | |
13 height: 100px; | |
14 background: green; | |
15 transform: translate3d(50px, 50px, 0); | |
16 } | |
17 </style> | |
18 <div id="escaped-clip"> | |
19 <div id="escaping-child"></div> | |
20 </div> | |
21 The test succeeds if a green box of 100x100 instead of 50x50 can be seen. | |
OLD | NEW |