Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> |
michael@0 | 2 | |
michael@0 | 3 | <title>Testcase for basic clipPath</title> |
michael@0 | 4 | |
michael@0 | 5 | <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=377892 --> |
michael@0 | 6 | |
michael@0 | 7 | <defs> |
michael@0 | 8 | <clipPath id="clip"> |
michael@0 | 9 | <rect width="0%" height="0%"/> |
michael@0 | 10 | </clipPath> |
michael@0 | 11 | </defs> |
michael@0 | 12 | |
michael@0 | 13 | <rect width="100%" height="100%" fill="lime"/> |
michael@0 | 14 | |
michael@0 | 15 | <rect width="100%" height="100%" fill="red" clip-path="url(#clip)"/> |
michael@0 | 16 | |
michael@0 | 17 | </svg> |