W3C home > Mailing lists > Public > www-svg@w3.org > November 2013

Re: 'stroke' shorthand

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 14 Nov 2013 16:52:59 -0800
Message-ID: <CAAWBYDCaKOkhGnh6MR=MYeybGy47AZ=qYkJ-Xecc=YmCK84_Aw@mail.gmail.com>
To: Paul LeBeau <paul.lebeau@gmail.com>
Cc: Alex Bell <alex@bellandwhistle.net>, www-svg <www-svg@w3.org>, "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>
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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:47 UTC