W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2015

Re: SVG properties

From: Jeremie Patonnier <jeremie.patonnier@gmail.com>
Date: Sat, 3 Jan 2015 21:30:12 +0100
Message-ID: <CAEi838=gfxDcaiwbUiyPJ=uY1RCeU-PEspFVMGPMCy8QobrChw@mail.gmail.com>
To: Jens Oliver Meiert <jens@meiert.com>
Cc: Dirk Schulze <dschulze@adobe.com>, www-svg <www-svg@w3.org>, W3C WWW Validator CSS <www-validator-css@w3.org>
Hi :)

2015-01-02 22:33 GMT+01:00 Jens Oliver Meiert <jens@meiert.com>:

> I'm not sure what to do with your response but if you're suggesting
> that *all* properties defined in SVG will ultimately make it into CSS
> modules


It's a yes and no answer actually. Any CSS property define within the SVG
specification *is already* a valid CSS property in the context of any SVG
content. It doesn't need to be in any CSS specification to remain a valid
CSS property ;)

A CSS specification define properties that are valid in any context (SVG,
HTML or any other language claiming supporting CSS). Currently, the SVG and
CSS working groups are working on porting some SVG specific CSS properties
define into the SVG specification into separate CSS specifications valid
for any context (See the CSS filter module for example).

But again let's be clear, any CSS property define in a non CSS
specification is always a valid property *for a given context define in its
original specification*.


> *and* that that means that they will also, guaranteed, be
> supported by the CSS validator, then thanks for the affirmation :)
>

This is an entire different issue. Most of the time, the CSS validator is
out of date each time a specification (whether from the CSS WG or from any
other WG) is updated. Having the CSS validator being able to perfectly
match all the spec published by the W3C is totally independent of the state
of any specification. It depends on the time and money the W3C is able to
afford in updating that validator (and sadly the W3C is quite short in
money and human ressources).

The W3C's CSS validator is only informative and certainly not normative in
any way. You should only use it the get some hints but never to be sure
your stylesheet will actually work (which is again another issue 100%
independent from the W3C).

So in conclusion, any CSS property define within the SVG specification *is*
a valid CSS property, even if the CSS validator is telling otherwise. In
any case, the W3C validator is only informative because even if its a valid
property it does not tell you if a browser has implemented it or not.
--
Jeremie
.............................
Web : http://jeremie.patonnier.net
Twitter : @JeremiePat <http://twitter.com/JeremiePat>
Received on Saturday, 3 January 2015 20:31:20 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:16 UTC