layout/reftests/bugs/169749-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/169749-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
     1.5 +<html><head>
     1.6 +  <style type="text/css">
     1.7 +	p { margin: 0px; }
     1.8 +        ul { border: 2px solid blue; }
     1.9 +	li { border: 5px solid transparent } /* prevent margin collapsing */
    1.10 +        .test1
    1.11 +          li
    1.12 +           { margin-bottom: 30px; }
    1.13 +        .test2
    1.14 +          li
    1.15 +           { margin-top: 30px; }
    1.16 +        .test3
    1.17 +          li
    1.18 +           { margin-top: 30px; margin-bottom: 30px; }
    1.19 +        .test4
    1.20 +          li
    1.21 +           { margin-top: 20px; margin-bottom: 10px; }
    1.22 +        .test5
    1.23 +          li
    1.24 +            { margin-top: -10px; margin-bottom: 10px; }
    1.25 +  </style>
    1.26 +</head>
    1.27 +<body>
    1.28 +<ul class="test1"><li><p>P (30px bottom margin)</p></li></ul>
    1.29 +
    1.30 +<ul class="test2"><li><p>P (30px top margin)</p></li></ul>
    1.31 +
    1.32 +<ul class="test3"><li><p>P (30px top+bottom margin)</p></li></ul>
    1.33 +
    1.34 +<ul class="test4"><li><p>P (20px top and 10px bottom margin)</p></li></ul>
    1.35 +
    1.36 +<ul class="test5"><li><p>P (-10px top and 10px bottom margin)</p></li></ul>
    1.37 +</body>
    1.38 +</html>

mercurial