- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 20 Nov 2013 19:18:03 -0500
- To: www-svg@w3.org
On 11/20/13 6:40 PM, Paul LeBeau wrote: > No browser I've tried supports this Works fine in Firefox and in Presto-based Opera once I fix the various bugs in the testcase (missing SVG namespace, missing id, malformed url() with other parens nested inside, etc). Example: <svg> <rect width="100" height="100" fill="url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3ClinearGradient%20id=%22foo%22%20x1=%220%25%22%20y1=%2250%25%22%20x2=%22100%25%22%20y2=%2250%25%22%3E%3Cstop%20offset=%220%25%22%20style=%22stop-color:rgb(255,255,255);stop-opacity:1;%22%3E%3C/stop%3E%3Cstop%20offset=%22100%25%22%20style=%22stop-color:rgb(0,0,0);stop-opacity:1;%22%3E%3C/stop%3E%3C/linearGradient%3E%3C/svg%3E#foo')"></rect> </svg> -Boris
Received on Thursday, 21 November 2013 00:18:32 UTC