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