Re: fill and stroke properties with CSS <image> values

On Wed, Jan 22, 2014 at 8:36 AM, Dirk Schulze <dschulze@adobe.com> wrote:
> On Jan 22, 2014, at 4:34 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> You can wrap a color in image() to transform it into an <image> value.
>
> I just wanted to point out that:
>
> background: url(“image.png”) red;
>
>  means something different than:
>
> fill: url(“image.png”) red;
>
> In the first example the color is drawn, in the second it is just a fallback.
>
> This is unfortunate but can not be changed.

Ah, gotcha.  I'd forgotten about that unfortunate aspect of the grammar.

~TJ

Received on Wednesday, 22 January 2014 17:06:04 UTC