Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html><head> |
michael@0 | 2 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
michael@0 | 3 | <title>Testcase for bug 433700</title> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | |
michael@0 | 6 | body { font-family: sans-serif; font-size: 16px; } |
michael@0 | 7 | |
michael@0 | 8 | fieldset,legend { padding:0; margin:0; border-width:0; border-style:solid; } |
michael@0 | 9 | fieldset { border-right:7px solid blue; font-size: 16px; } |
michael@0 | 10 | |
michael@0 | 11 | #test1 { position:fixed; } |
michael@0 | 12 | #test1 fieldset { background:lime;} |
michael@0 | 13 | #test1 .legend { margin-left:30px; background:pink; } |
michael@0 | 14 | |
michael@0 | 15 | #test2 { position:fixed; top:3em; } |
michael@0 | 16 | #test2 fieldset { background:lime; width:260px; } |
michael@0 | 17 | #test2 .legend { margin-left: 20px; background:pink; } |
michael@0 | 18 | |
michael@0 | 19 | #test3 { position:fixed; top:6em; width:200px; } |
michael@0 | 20 | #test3 fieldset { background:lime;} |
michael@0 | 21 | #test3 .legend { margin-left: 80px; background:pink; } |
michael@0 | 22 | |
michael@0 | 23 | #test4 { position:fixed; top:9em; width:200px; } |
michael@0 | 24 | #test4 fieldset { background:lime; width:260px; } |
michael@0 | 25 | #test4 .legend { margin-left: 80px; background:pink; } |
michael@0 | 26 | |
michael@0 | 27 | #test5 { position:fixed; top:12em; width:200px; } |
michael@0 | 28 | #test5 fieldset { background:lime;} |
michael@0 | 29 | #test5 .legend { margin-left: 193px; background:pink; } |
michael@0 | 30 | |
michael@0 | 31 | #test6 { position:fixed; left:20px; top:15em; width:400px; } |
michael@0 | 32 | #test6 fieldset { width:300px; } |
michael@0 | 33 | #test6 fieldset div { position:relative; left:100px; padding-left:0px; width:200px; background:lime; } |
michael@0 | 34 | #test6 legend { margin-left:0; background:pink; } |
michael@0 | 35 | |
michael@0 | 36 | fieldset div { padding-left:60px; } |
michael@0 | 37 | |
michael@0 | 38 | .legend { display:block; } |
michael@0 | 39 | |
michael@0 | 40 | </style> |
michael@0 | 41 | </head> |
michael@0 | 42 | <body> |
michael@0 | 43 | |
michael@0 | 44 | <div id="test1"> |
michael@0 | 45 | <fieldset> |
michael@0 | 46 | <legend><span class="legend">LEGEND</span></legend> |
michael@0 | 47 | <div>FIELDSET</div> |
michael@0 | 48 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 49 | </fieldset> |
michael@0 | 50 | </div> |
michael@0 | 51 | |
michael@0 | 52 | <div id="test2"> |
michael@0 | 53 | <fieldset> |
michael@0 | 54 | <legend><span class="legend">LEGEND</span></legend> |
michael@0 | 55 | <div>FIELDSET</div> |
michael@0 | 56 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 57 | </fieldset> |
michael@0 | 58 | </div> |
michael@0 | 59 | |
michael@0 | 60 | <div id="test3"> |
michael@0 | 61 | <fieldset> |
michael@0 | 62 | <legend><span class="legend">LEGEND</span></legend> |
michael@0 | 63 | <div>FIELDSET</div> |
michael@0 | 64 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 65 | </fieldset> |
michael@0 | 66 | </div> |
michael@0 | 67 | |
michael@0 | 68 | <div id="test4"> |
michael@0 | 69 | <fieldset> |
michael@0 | 70 | <legend><span class="legend">LEGEND</span></legend> |
michael@0 | 71 | <div>FIELDSET</div> |
michael@0 | 72 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 73 | </fieldset> |
michael@0 | 74 | </div> |
michael@0 | 75 | |
michael@0 | 76 | <div id="test5"> |
michael@0 | 77 | <fieldset> |
michael@0 | 78 | <legend><span class="legend">LEGEND</span></legend> |
michael@0 | 79 | <div>FIELDSET</div> |
michael@0 | 80 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 81 | </fieldset> |
michael@0 | 82 | </div> |
michael@0 | 83 | |
michael@0 | 84 | <div id="test6"> |
michael@0 | 85 | <fieldset> |
michael@0 | 86 | <legend>LEGEND</legend> |
michael@0 | 87 | <div>FIELDSET</div> |
michael@0 | 88 | <script>var v = document.body.offsetHeight;</script> |
michael@0 | 89 | </fieldset> |
michael@0 | 90 | </div> |
michael@0 | 91 | |
michael@0 | 92 | </body></html> |