Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>border</title> |
michael@0 | 5 | <style type="text/css"> |
michael@0 | 6 | |
michael@0 | 7 | body { |
michael@0 | 8 | filter: url('../filters.svg#NonWhiteToBlack'); |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | body > div { |
michael@0 | 12 | /* filter doesn't change alpha */ |
michael@0 | 13 | background: white; |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | div.test { |
michael@0 | 17 | width: 144px; |
michael@0 | 18 | height: 86px; |
michael@0 | 19 | border-radius: 72px; |
michael@0 | 20 | border-top: 28px solid; |
michael@0 | 21 | border-bottom: 28px solid; |
michael@0 | 22 | background: cyan; |
michael@0 | 23 | margin-bottom: 20px; |
michael@0 | 24 | border-color: blue; |
michael@0 | 25 | border-left: 5px solid red; |
michael@0 | 26 | border-right: 5px solid red; |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | </style> |
michael@0 | 30 | </head> |
michael@0 | 31 | <body> |
michael@0 | 32 | <div> |
michael@0 | 33 | <div class="test"></div> |
michael@0 | 34 | </div> |
michael@0 | 35 | <svg xmlns="http://www.w3.org/2000/svg" |
michael@0 | 36 | xmlns:xlink="http://www.w3.org/1999/xlink" |
michael@0 | 37 | version="1.1"> |
michael@0 | 38 | <!-- use an empty g to force filters.svg to load before onload --> |
michael@0 | 39 | <use xlink:href="../filters.svg#empty" /> |
michael@0 | 40 | </svg> |
michael@0 | 41 | </body> |
michael@0 | 42 | </html> |