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

Re: Porting fill/stroke (and -opacity variants) to plain CSS

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 24 Jan 2013 12:25:36 +0100
To: www-svg@w3.org
Message-Id: <201301241225.36140.Dr.O.Hoffmann@gmx.de>
Dirk Schulze:

> PS: Ironically a previous version of SVG had the initial value 'none' for 
> fill before, until we changed it for SVG1.1SE to follow implementations
> IIRC.  

Which version? In SVG 1.0, SVG1.1 (first edition) and SVG tiny 1.2 it is
black - I think, there was never another initial value. Right from the
beginning one expects a black fill due to specifications, if there is no
other value applicable.
Up to now, the backwards compatibility of SVG specifications is
pretty good, what might change with the current efforts concerning SVG 2.

I think, in some versions of Gecko there is additionally a bug, that
everything turns into black, if CSS interpretation is switched off for
documents having only presentation attributes and no CSS at all -
such bugs are really an indication, that SVG interpretation in browsers 
is not ready for use yet ;o)

Could the model of fill and stroke be useful for the box-model of
CSS as well? Instead or additionally to that of borders and outlines?

Received on Thursday, 24 January 2013 11:26:04 UTC

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