Re: 'stroke' shorthand

On Thu, Nov 14, 2013 at 3:26 PM, Paul LeBeau <paul.lebeau@gmail.com> wrote:
> Alex write:
>> What about adding ‘stroke-color’ to both SVG and CSS, and changing
>> “stroke” to a shorthand across the board?
>
> And breakage could be additionally mitigated if SVG2 renderers didn't honour
> the reset behaviour if the document version="1.1".

We can't "not honor the reset behavior".  That behavior is part and
parcel of how shorthands are implemented in browsers.  Plus, styling
doesn't just come from an SVG document - it could be embedded in HTML,
with the stylesheet in the HTML document, for example.

~TJ

Received on Friday, 15 November 2013 00:53:46 UTC