On May 21, 7:44 am, [EMAIL PROTECTED] wrote: > This sounds like fun. How do you define the behavior for something > like: > > <p style="fill: url(#MyGradient);">Foo</p> > > Will the text be filled, or the background of the p element? Is it > possible to instead use something like: > > <p style="color: url(file.svg#MyGradient); background-color: > url(file.svg#MyOtherGradient); background-image... etc.">Foo</p> > > That seems... clearer to me, and more in line with what people are > used to. How hard would it be to allow these values on HTML CSS where > possible?
Turns out we don't want to use the 'fill' property, since 'fill' inherits. Creating a new color or image value, e.g. "paint(foo.svg#bar)", is probably the way to go. Rob _______________________________________________ dev-tech-layout mailing list dev-tech-layout@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-layout