Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html class="reftest-wait"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | #parent { |
michael@0 | 6 | width: 200px; |
michael@0 | 7 | background-color: lightgreen; |
michael@0 | 8 | } |
michael@0 | 9 | #inline-block1, #inline-block2 { |
michael@0 | 10 | height: 2em; width: 200px; |
michael@0 | 11 | background-color: green; |
michael@0 | 12 | vertical-align: bottom; |
michael@0 | 13 | } |
michael@0 | 14 | #inline-block1 { |
michael@0 | 15 | margin-bottom: 1.5em; |
michael@0 | 16 | } |
michael@0 | 17 | #inline-block2 { |
michael@0 | 18 | margin-top: .5em; |
michael@0 | 19 | } |
michael@0 | 20 | </style> |
michael@0 | 21 | <script type="text/javascript"> |
michael@0 | 22 | function test() { |
michael@0 | 23 | document.getElementById('inline-block1').style.display = 'inline-block'; |
michael@0 | 24 | document.getElementById('inline-block2').style.display = 'inline-block'; |
michael@0 | 25 | document.documentElement.removeAttribute('class'); |
michael@0 | 26 | } |
michael@0 | 27 | document.addEventListener('MozReftestInvalidate', test, false); |
michael@0 | 28 | </script> |
michael@0 | 29 | </head> |
michael@0 | 30 | <body> |
michael@0 | 31 | <div id="parent"> |
michael@0 | 32 | <div id="inline-block1"></div> |
michael@0 | 33 | <div id="inline-block2"></div> |
michael@0 | 34 | </div> |
michael@0 | 35 | </body> |
michael@0 | 36 | </html> |