layout/reftests/bugs/134706-7-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" "http://www.w3.org/TR/html4/strict.dtd">
michael@0 2 <html lang="en-US">
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: Test for flow around floats (reference)</title>
michael@0 5 <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
michael@0 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
michael@0 7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 8 <meta http-equiv="Content-Style-Type" content="text/css">
michael@0 9 <style type="text/css">
michael@0 10
michael@0 11 table { margin: 0; border-spacing: 0; }
michael@0 12 td, th { padding: 0; vertical-align: top; }
michael@0 13
michael@0 14 </style>
michael@0 15 </head>
michael@0 16 <body>
michael@0 17
michael@0 18 <!-- 6px margin between (from top, from bottom, from both) -->
michael@0 19
michael@0 20 <table width="300" style="background: aqua"><tr><td>
michael@0 21 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 22 <div style="height: 5px; background: purple;"></div>
michael@0 23 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow; margin-top: 1px;"></div>
michael@0 24 </td></tr></table>
michael@0 25
michael@0 26 <table width="300" style="background: aqua"><tr><td>
michael@0 27 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 28 <div style="height: 5px; background: purple;"></div>
michael@0 29 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow; margin-top: 1px;"></div>
michael@0 30 </td></tr></table>
michael@0 31
michael@0 32 <table width="300" style="background: aqua"><tr><td>
michael@0 33 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 34 <div style="height: 5px; background: purple;"></div>
michael@0 35 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow; margin-top: 1px;"></div>
michael@0 36 </td></tr></table>
michael@0 37
michael@0 38 <!-- 5px margin between (from both) -->
michael@0 39
michael@0 40 <table width="300" style="background: aqua"><tr><td>
michael@0 41 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 42 <div style="height: 5px; background: purple;"></div>
michael@0 43 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 44 </td></tr></table>
michael@0 45
michael@0 46 <table width="300" style="background: aqua"><tr><td>
michael@0 47 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 48 <div style="height: 5px; background: purple;"></div>
michael@0 49 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 50 </td></tr></table>
michael@0 51
michael@0 52 <table width="300" style="background: aqua"><tr><td>
michael@0 53 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 54 <div style="height: 5px; background: purple;"></div>
michael@0 55 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 56 </td></tr></table>
michael@0 57
michael@0 58 <!-- 4px margin between (from both) -->
michael@0 59
michael@0 60 <table width="300" style="background: aqua"><tr><td>
michael@0 61 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 62 <div style="height: 5px; background: purple;"></div>
michael@0 63 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 64 </td></tr></table>
michael@0 65
michael@0 66 <table width="300" style="background: aqua"><tr><td>
michael@0 67 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 68 <div style="height: 5px; background: purple;"></div>
michael@0 69 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 70 </td></tr></table>
michael@0 71
michael@0 72 <table width="300" style="background: aqua"><tr><td>
michael@0 73 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 74 <div style="height: 5px; background: purple;"></div>
michael@0 75 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 76 </td></tr></table>
michael@0 77
michael@0 78 <!-- negative margin between -->
michael@0 79
michael@0 80 <table width="300" style="background: aqua"><tr><td>
michael@0 81 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 82 <div style="height: 5px; background: purple;"></div>
michael@0 83 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 84 </td></tr></table>
michael@0 85
michael@0 86 <table width="300" style="background: aqua"><tr><td>
michael@0 87 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 88 <div style="height: 5px; background: purple;"></div>
michael@0 89 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 90 </td></tr></table>
michael@0 91
michael@0 92 <table width="300" style="background: aqua"><tr><td>
michael@0 93 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 94 <div style="height: 5px; background: purple;"></div>
michael@0 95 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 96 </td></tr></table>
michael@0 97
michael@0 98 <table width="300" style="background: aqua"><tr><td>
michael@0 99 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 100 <div style="height: 5px; background: purple;"></div>
michael@0 101 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 102 </td></tr></table>
michael@0 103
michael@0 104 <table width="300" style="background: aqua"><tr><td>
michael@0 105 <div style="float: left; height: 10px; width: 150px; background: blue"></div>
michael@0 106 <div style="height: 5px; background: purple;"></div>
michael@0 107 <div style="float: left; clear: left; width: 200px; height: 5px; background: yellow;"></div>
michael@0 108 </td></tr></table>
michael@0 109
michael@0 110 </body>
michael@0 111 </html>

mercurial