Bug 1732060 [wpt PR 30876] - Update wpt metadata, a=testonly
[gecko.git] / layout / reftests / box-properties / overflow-clip-box-3.html
blob001e54d26063bc5c0b2adcc63c7131cf05357eb4
1 <!DOCTYPE html>
2 <html>
3 <meta charset="utf-8">
4 <title>Testcase for 'overflow-clip-box: content-box' (Bug 1226305)</title>
5 <style>
6 .test {
7 overflow-clip-box: content-box;
8 overflow: hidden;
9 padding: 20px;
10 background: green content-box;
11 width: 300px;
12 height: 20px;
13 border: 1px solid;
15 .test > div {
16 margin-top: -40px;
17 height: 40px;
18 background: red;
20 </style>
22 <body>
23 <p>There should be no red areas.</p>
24 <div class="test"><div>FAIL</div></div>
25 <div class="test"><div style="width: 200%">FAIL</div></div>
26 <div class="test"><div style="margin-left: 100%; height:20px; margin-top:0">FAIL</div></div>
27 <div class="test"><div style="margin-left: -100px">FAIL</div></div>
28 <div class="test"><div style="margin-left: -100%; width: 100%; height:20px; margin-top:0">FAIL</div></div>
29 </body>
30 </html>