layout/reftests/margin-collapsing/block-no-content-3a-dyn.html

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:3f2990f90c1d
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <head>
4 <style type="text/css">
5 #separator {
6 height: 20px;
7 background-color: green;
8 }
9 #parent {
10 background-color: green;
11 margin-top: 10px;
12 }
13 #first-child {
14 margin-top: 20px;
15 }
16 #last-child {
17 height: 20px;
18 margin-top: 15px;
19 }
20 </style>
21 <script type="text/javascript">
22 function test() {
23 document.getElementById('first-child').style.marginBottom = '30px';
24 document.documentElement.removeAttribute('class');
25 }
26 document.addEventListener('MozReftestInvalidate', test, false);
27 </script>
28 </head>
29 <body>
30 <div id="separator"></div>
31 <div id="parent">
32 <div id="first-child"></div>
33 <div id="last-child"></div>
34 </div>
35 </body>
36 </html>

mercurial