Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html><head> |
michael@0 | 3 | <meta charset="utf-8"> |
michael@0 | 4 | <title>Testcase for bug 971653</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | html,body { |
michael@0 | 7 | color:black; background-color:white; font-size:16px; padding:0; margin:0; |
michael@0 | 8 | } |
michael@0 | 9 | |
michael@0 | 10 | div { |
michael@0 | 11 | position: absolute; |
michael@0 | 12 | background: rgba(0,255,0,0.5); |
michael@0 | 13 | top:0; bottom:0; |
michael@0 | 14 | left:0; right:0; |
michael@0 | 15 | z-index: 0; |
michael@0 | 16 | } |
michael@0 | 17 | c { |
michael@0 | 18 | display: block; |
michael@0 | 19 | background: blue; |
michael@0 | 20 | height:100%; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | legend { height: 24px; } |
michael@0 | 24 | |
michael@0 | 25 | fieldset { |
michael@0 | 26 | position: absolute; |
michael@0 | 27 | border: 2px green solid; |
michael@0 | 28 | width: 100px; |
michael@0 | 29 | height: 100px; |
michael@0 | 30 | margin-bottom:40px; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | #t1,#t3 { padding: 3px 5px 7px 11px; } |
michael@0 | 34 | #t2,#t4 { padding: 0; } |
michael@0 | 35 | |
michael@0 | 36 | #t1 div, #t3 div { |
michael@0 | 37 | /* same numbers as padding above */ |
michael@0 | 38 | left: -11px; right: -5px; |
michael@0 | 39 | top: -3px; bottom:-7px; |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | #t2 { top: 120px; } |
michael@0 | 43 | #t3 { top: 240px; } |
michael@0 | 44 | #t4 { top: 360px; } |
michael@0 | 45 | |
michael@0 | 46 | x { |
michael@0 | 47 | position: absolute; |
michael@0 | 48 | width:100px; |
michael@0 | 49 | height:100px; |
michael@0 | 50 | } |
michael@0 | 51 | #t1 x, #t2 x { |
michael@0 | 52 | height:78px; /* compensate for legend */ |
michael@0 | 53 | } |
michael@0 | 54 | </style> |
michael@0 | 55 | </head> |
michael@0 | 56 | <body> |
michael@0 | 57 | |
michael@0 | 58 | |
michael@0 | 59 | <fieldset id="t1"> |
michael@0 | 60 | <legend>legend</legend> |
michael@0 | 61 | <x><div></div><c></c></x> |
michael@0 | 62 | </fieldset> |
michael@0 | 63 | |
michael@0 | 64 | <fieldset id="t2"> |
michael@0 | 65 | <legend>legend</legend> |
michael@0 | 66 | <x><div></div></x> |
michael@0 | 67 | </fieldset> |
michael@0 | 68 | |
michael@0 | 69 | <fieldset id="t3"> |
michael@0 | 70 | <x><div></div><c></c></x> |
michael@0 | 71 | </fieldset> |
michael@0 | 72 | |
michael@0 | 73 | <fieldset id="t4"> |
michael@0 | 74 | <x><div></div></x> |
michael@0 | 75 | </fieldset> |
michael@0 | 76 | |
michael@0 | 77 | |
michael@0 | 78 | </body> |
michael@0 | 79 | </html> |