SVG CSS validation not working?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
alyxandr
Posts: 18
Joined: Sat Aug 01, 2009 7:52 pm

SVG CSS validation not working?

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: SVG CSS validation not working?

Post 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
alyxandr
Posts: 18
Joined: Sat Aug 01, 2009 7:52 pm

Re: SVG CSS validation not working?

Post 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.
alyxandr
Posts: 18
Joined: Sat Aug 01, 2009 7:52 pm

Re: SVG CSS validation not working?

Post by alyxandr »

Bump. The CSS Validator profile "SVG" still doesn't recognize "stroke" or "fill" as of v13.2.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: SVG CSS validation not working?

Post 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
alyxandr
Posts: 18
Joined: Sat Aug 01, 2009 7:52 pm

Re: SVG CSS validation not working?

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: SVG CSS validation not working?

Post 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
Post Reply