Bug 1918529 - fix some subpixel misalignment issues with gfx.webrender.svg-filter...
[gecko.git] / layout / reftests / margin-collapsing / block-html-html-3-dyn.html
blobc3c59585675237dcbcf580cd765f0050509da4df
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 html, body {
6 margin: 0; padding: 0;
8 html {
9 background-color: white;
10 margin: 10px 0;
12 body {
13 background-color: red;
14 margin: 20px 0;
16 div {
17 display: none;
18 background-color: green;
19 margin: 40px 0;
20 height: 100px;
22 </style>
23 <script type="text/javascript">
24 function test() {
25 document.getElementsByTagName('div')[0].style.display = 'block';
26 document.documentElement.removeAttribute('class');
28 document.addEventListener('MozReftestInvalidate', test);
29 </script>
30 </head>
31 <body>
32 <div></div>
33 </body>
34 </html>