Bug 1858983 [wpt PR 42532] - Update wpt metadata, a=testonly
[gecko.git] / layout / reftests / css-display / display-contents-suppression-dynamic.html
blob341b5804af4f1004fa36f8d76c02ef7db1701b37
1 <!doctype html>
2 <body>
3 <script>
4 const SVG_NS = "http://www.w3.org/2000/svg";
5 let g = document.createElementNS(SVG_NS, "g");
6 g.style.display = "contents";
7 document.body.appendChild(g);
8 // The only difference between this test and the ref is this flush, this
9 // tests we're consistent.
10 g.offsetTop;
11 let div = document.createElement('div');
12 div.style.width = div.style.height = "100px";
13 div.style.backgroundColor = "green";
14 g.appendChild(div);
15 </script>
16 </body>