Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <style type="text/css"> |
michael@0 | 4 | body { background-color: white; margin: 0; padding: 0; } |
michael@0 | 5 | p { |
michael@0 | 6 | margin: 10px; |
michael@0 | 7 | padding: 0; |
michael@0 | 8 | border: 10px solid rgba(200, 160, 120, 0.5); |
michael@0 | 9 | height: 10px; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | /** |
michael@0 | 13 | * XXX we cannot test the corner by this testing because when the corner |
michael@0 | 14 | * is joined with anti-aliased, the edge isn't matching with the |
michael@0 | 15 | * reference. The dotted line's anti-aliasing is same. |
michael@0 | 16 | */ |
michael@0 | 17 | |
michael@0 | 18 | /* Cover the coners by the white div element */ |
michael@0 | 19 | div { |
michael@0 | 20 | position: absolute; |
michael@0 | 21 | width: 10px; |
michael@0 | 22 | height: 10px; |
michael@0 | 23 | background-color: white; |
michael@0 | 24 | } |
michael@0 | 25 | div.tr { |
michael@0 | 26 | right: 10px; |
michael@0 | 27 | } |
michael@0 | 28 | div.tl { |
michael@0 | 29 | left: 10px; |
michael@0 | 30 | } |
michael@0 | 31 | div.bl { |
michael@0 | 32 | left: 10px; |
michael@0 | 33 | margin-top: 20px; |
michael@0 | 34 | } |
michael@0 | 35 | div.br { |
michael@0 | 36 | right: 10px; |
michael@0 | 37 | margin-top: 20px; |
michael@0 | 38 | } |
michael@0 | 39 | </style> |
michael@0 | 40 | </head> |
michael@0 | 41 | <body> |
michael@0 | 42 | <p style="border-style: solid;"> </p> |
michael@0 | 43 | <p style="border-style: dashed;"> </p> |
michael@0 | 44 | <!-- <p style="border-style: dotted;"> </p> --> |
michael@0 | 45 | <p style="border-style: double;"> </p> |
michael@0 | 46 | <div class="tr"></div> |
michael@0 | 47 | <div class="bl"></div> |
michael@0 | 48 | <p style="border-style: ridge;"> </p> |
michael@0 | 49 | <div class="tr"></div> |
michael@0 | 50 | <div class="bl"></div> |
michael@0 | 51 | <p style="border-style: groove;"> </p> |
michael@0 | 52 | <div class="tr"></div> |
michael@0 | 53 | <div class="bl"></div> |
michael@0 | 54 | <p style="border-style: inset;"> </p> |
michael@0 | 55 | <div class="tr"></div> |
michael@0 | 56 | <div class="bl"></div> |
michael@0 | 57 | <p style="border-style: outset;"> </p> |
michael@0 | 58 | </body> |
michael@0 | 59 | </html> |