RE: solid colors
"David Dailey" <[email protected]> Fri, 29 Jul 2016 12:09:48 -0400
| Newsgroups | gmane.comp.web.svg |
|---|---|
| Message-ID | <004601d1e9b3$a17fa550$e47eeff0$@net> |
Hi Robert, Yep! Interestingly, I started doing that yesterday before you replied, but thought it terribly inelegant. I wasn’t sure if it would work (not being sure what would happen if a gradient only had one stop), but it does. SVG2’s solidColor will be nice – one can currently fill a region with a video or whatever by using clipPaths, but it screws up the semantics. Text filled with <pattern> containing <image>[1] ( See http://srufaculty.sru.edu/david.dailey/svg/text/belize.svg ) Image carved by clipPath containing text[1] (see http://srufaculty.sru.edu/david.dailey/svg/text/belize2.svg ) The first is “accessible” as text; the second isn’t. Thanks David [1] http://cs.sru.edu/%7Eddailey/svg/GeometricAccessibility.html From: Robert Longson [mailto:[email protected]] Sent: Friday, July 29, 2016 8:03 AM To: [email protected] Cc: ddailey Subject: Re: solid colors Isn't that just a gradient with one stop? SVG tiny 1.2 had a solidColor element but nobody's implemented it because you can do the same thing with a 1 stop gradient. Robert.