layout/reftests/bugs/169749-1.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
     2 <html><head>
     3   <style type="text/css">
     4 	p { margin: 0px; }
     5         ul { border: 2px solid blue; }
     6 	li { border: 5px solid transparent } /* prevent margin collapsing */
     7         .test1
     8           p
     9            { margin-bottom: 30px; }
    10         .test2
    11           p
    12            { margin-top: 30px; }
    13         .test3
    14           p
    15            { margin-top: 30px; margin-bottom: 30px; }
    16         .test4
    17           p
    18            { margin-top: 20px; margin-bottom: 10px; }
    19         .test5
    20           p
    21             { margin-top: -10px; margin-bottom: 10px; }
    22   </style>
    23 </head>
    24 <body>
    25 <ul class="test1"><li><p>P (30px bottom margin)</p></li></ul>
    27 <ul class="test2"><li><p>P (30px top margin)</p></li></ul>
    29 <ul class="test3"><li><p>P (30px top+bottom margin)</p></li></ul>
    31 <ul class="test4"><li><p>P (20px top and 10px bottom margin)</p></li></ul>
    33 <ul class="test5"><li><p>P (-10px top and 10px bottom margin)</p></li></ul>
    34 </body>
    35 </html>

mercurial