Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
michael@0 | 2 | <svg xmlns="http://www.w3.org/2000/svg" |
michael@0 | 3 | xmlns:xlink="http://www.w3.org/1999/xlink" |
michael@0 | 4 | version="1.1"> |
michael@0 | 5 | |
michael@0 | 6 | <!-- use an empty g to force filters.svg to load before onload --> |
michael@0 | 7 | <use xlink:href="../filters.svg#empty" /> |
michael@0 | 8 | |
michael@0 | 9 | <foreignObject filter="url(../filters.svg#NonBlackToWhite)" |
michael@0 | 10 | x="0" y="0" height="100%" width="100%"> |
michael@0 | 11 | <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 12 | <head> |
michael@0 | 13 | <title>Filter sanity-check</title> |
michael@0 | 14 | <style type="text/css"> |
michael@0 | 15 | html, body { margin: 0; background: white; color: black; height: 100%; width: 100%; } |
michael@0 | 16 | body { position: relative; } |
michael@0 | 17 | </style> |
michael@0 | 18 | </head> |
michael@0 | 19 | <body> |
michael@0 | 20 | |
michael@0 | 21 | <div style="position: absolute; top: 10px; left: 10px; width: 100px; height: 10px; background: green"></div> |
michael@0 | 22 | |
michael@0 | 23 | <div style="position: absolute; top: 30px; left: 10px; width: 94px; height: 4px; border: 3px solid #c90;"></div> |
michael@0 | 24 | |
michael@0 | 25 | <div style="position: absolute; top: 50px; left: 10px; width: 100px; height: 10px; background: black"></div> |
michael@0 | 26 | |
michael@0 | 27 | <div style="position: absolute; top: 70px; left: 10px; width: 94px; height: 4px; border: 3px solid #000;"></div> |
michael@0 | 28 | |
michael@0 | 29 | </body> |
michael@0 | 30 | </html> |
michael@0 | 31 | </foreignObject> |
michael@0 | 32 | </svg> |