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

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial