Page 1 of 1

SVG CSS validation not working?

Posted: Sat Aug 08, 2009 10:32 pm
by alyxandr
Hello,

I set Options > Preferences > CSS Validator > Profile to "SVG", but it still complains about setting things like fill and stroke in shapes. For example,

Code: Select all

circle { stroke: black; }
path { fill: blue; }
yields:

Code: Select all

E [W3C CSS Validator] Context : circle in property : stroke Unrecognized  - [empty string]
E [W3C CSS Validator] Context : path in property : fill Unrecognized - [empty string]
Am i missing something basic, or is this an issue? (v10.3 WinXP SP3)

TIA,

--alex.

Re: SVG CSS validation not working?

Posted: Mon Aug 10, 2009 4:11 pm
by sorin_ristache
Hello,

It is an issue of the W3C validator which Oxygen uses for CSS validation. I filed a bug report on the W3C validator.


Regards,
Sorin

Re: SVG CSS validation not working?

Posted: Mon Aug 10, 2009 7:16 pm
by alyxandr
Thank you. I have to say that, in my so far limited experience with it, this is far and away the most helpful and informative product support forum i've ever had the pleasure to use.

Re: SVG CSS validation not working?

Posted: Wed Apr 11, 2012 1:44 am
by alyxandr
Bump. The CSS Validator profile "SVG" still doesn't recognize "stroke" or "fill" as of v13.2.

Re: SVG CSS validation not working?

Posted: Wed Apr 11, 2012 12:01 pm
by sorin_ristache
Hello,

A new version of the CSS Validator was included in Oxygen but the bug is not fixed. We will consider adding better support for the SVG profiles in a future version of Oxygen.


Regards,
Sorin

Re: SVG CSS validation not working?

Posted: Wed Apr 11, 2012 7:29 pm
by alyxandr
Thanks! Some way to switch profiles on a per-css-file basis, instead of just picking one globally, would be nice too, although i'm not sure how such a thing would be done. --alex.

Re: SVG CSS validation not working?

Posted: Thu Apr 12, 2012 9:10 am
by sorin_ristache
Hi Alex,

Implementing this feature for a profile for each file will not be trivial, we will consider if it is feasible.


Thank you for the suggestion,
Sorin