RE: solid colors

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:longsonr@gmail.com] 
Sent: Friday, July 29, 2016 8:03 AM
To: www-svg@w3.org
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.

Received on Friday, 29 July 2016 16:10:26 UTC