Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html><head> |
michael@0 | 3 | <meta charset="utf-8"> |
michael@0 | 4 | <title>Testcase for bug 485149</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | |
michael@0 | 7 | html,body { |
michael@0 | 8 | color:black; background-color:white; font-size:16px; padding:0; margin:0; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | |
michael@0 | 12 | body {padding:20px;} |
michael@0 | 13 | |
michael@0 | 14 | fieldset { |
michael@0 | 15 | overflow:hidden; |
michael@0 | 16 | background:yellow; |
michael@0 | 17 | |
michael@0 | 18 | box-shadow:0 0 5px 5px #cccccc; |
michael@0 | 19 | border:1px solid #000000; |
michael@0 | 20 | border-radius:7px; |
michael@0 | 21 | width:200px; |
michael@0 | 22 | height:50px; |
michael@0 | 23 | margin-left:5px; |
michael@0 | 24 | margin-right:2px; |
michael@0 | 25 | padding:10px; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | legend { height:16px; } |
michael@0 | 29 | |
michael@0 | 30 | p { height:40px; margin:0; } |
michael@0 | 31 | |
michael@0 | 32 | #mask1 { |
michael@0 | 33 | position:absolute; |
michael@0 | 34 | left:0; |
michael@0 | 35 | top:0; |
michael@0 | 36 | background:black; |
michael@0 | 37 | z-index:1; |
michael@0 | 38 | width:150px; |
michael@0 | 39 | height:700px; |
michael@0 | 40 | } |
michael@0 | 41 | |
michael@0 | 42 | #mask2 { |
michael@0 | 43 | position:absolute; |
michael@0 | 44 | left:170px; |
michael@0 | 45 | top:330px; |
michael@0 | 46 | background:black; |
michael@0 | 47 | z-index:1; |
michael@0 | 48 | width:150px; |
michael@0 | 49 | height:300px; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | #mask3 { |
michael@0 | 53 | position:absolute; |
michael@0 | 54 | left:0; |
michael@0 | 55 | top:380px; |
michael@0 | 56 | background:black; |
michael@0 | 57 | z-index:1; |
michael@0 | 58 | width:300px; |
michael@0 | 59 | height:300px; |
michael@0 | 60 | } |
michael@0 | 61 | |
michael@0 | 62 | </style> |
michael@0 | 63 | </head> |
michael@0 | 64 | <body> |
michael@0 | 65 | |
michael@0 | 66 | <fieldset><legend>Legend</legend> |
michael@0 | 67 | 1 |
michael@0 | 68 | </fieldset> |
michael@0 | 69 | |
michael@0 | 70 | <p></p> |
michael@0 | 71 | <fieldset style="position:relative;"><legend>Legend</legend> |
michael@0 | 72 | 2 |
michael@0 | 73 | </fieldset> |
michael@0 | 74 | |
michael@0 | 75 | <p></p> |
michael@0 | 76 | <fieldset> |
michael@0 | 77 | 3 |
michael@0 | 78 | </fieldset> |
michael@0 | 79 | |
michael@0 | 80 | <p></p> |
michael@0 | 81 | <fieldset><legend style="width:150px;"></legend> |
michael@0 | 82 | 4 |
michael@0 | 83 | </fieldset> |
michael@0 | 84 | |
michael@0 | 85 | <div id="mask1"></div> |
michael@0 | 86 | <div id="mask2"></div> |
michael@0 | 87 | <div id="mask3"></div> |
michael@0 | 88 | |
michael@0 | 89 | </body> |
michael@0 | 90 | </html> |