- From: Paul LeBeau <paul.lebeau@gmail.com>
- Date: Thu, 21 Nov 2013 12:40:13 +1300
- To: www-svg <www-svg@w3.org>
Received on Wednesday, 20 November 2013 23:41:02 UTC
Hi all Since functional IRIs take an IRI reference, just the same as href does, is there any particular reason you couldn't supply a paint server in the form of a data IRI? For example: <rect width = "100" height = "100" fill="url(data:image/svg+xml,%3ClinearGradient%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)"></rect> No browser I've tried supports this, but I'm curious if there is a technical or other reason that proscribes it. Paul
Received on Wednesday, 20 November 2013 23:41:02 UTC