Bug 1918529 - fix some subpixel misalignment issues with gfx.webrender.svg-filter...
[gecko.git] / layout / reftests / margin-collapsing / block-no-content-5b-dyn.html
blob69e1f225f1815e0182dc91380704f016df4615fd
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 .separator {
6 height: 20px;
7 background-color: green;
9 #parent {
10 margin-top: 60px;
11 margin-bottom: -30px;
13 #child {
14 margin-top: -20px;
16 </style>
17 <script type="text/javascript">
18 function test() {
19 document.getElementById('child').style.marginBottom = '70px';
20 document.documentElement.removeAttribute('class');
22 document.addEventListener('MozReftestInvalidate', test);
23 </script>
24 </head>
25 <body>
26 <div class="separator"></div>
27 <div id="parent">
28 <div id="child"></div>
29 </div>
30 <div class="separator"></div>
31 </body>
32 </html>