How to enable custom CSS properties in CSS validation
Posted: Thu Oct 17, 2013 10:11 pm
My CSS stylesheets make use of some CSS3 paged media module properties and selectors as well as a properties that are specific to my software. When editing my CSS in Oxygen, I get a ton of errors and warnings because of this. It makes CSS validation not useful.
I saw your documentation for adding custom properties and values, but I can't seem to get it to work. I am to create a file called customProperties.xml and put it in the following folder: [Oxygen-install-folder]/endorsed/builtin/css-validator. But none of those directories exist, from "endorsed" on down. I created these folders and put my file in there, but it still doesn't work. Using just the placeholder you provided ("custom" property with "customValue1" and "customValue2"), I still couldn't get it to work. I see the schema you have for this XML file ([Oxygen install folder]/frameworks/css-support), but I can't figure out where to put my custom properties file and how to link it up with my CSS validation.
Is the documentation for this feature out of date? Am I doing something else wrong?
I know I could have the validator ignore my properties in the options panel, but it doesn't seem to work with my @ selectors and properties (used heavily in the paged media module). And I'd rather have defined custom properties that get validated.
Any suggestions?
I saw your documentation for adding custom properties and values, but I can't seem to get it to work. I am to create a file called customProperties.xml and put it in the following folder: [Oxygen-install-folder]/endorsed/builtin/css-validator. But none of those directories exist, from "endorsed" on down. I created these folders and put my file in there, but it still doesn't work. Using just the placeholder you provided ("custom" property with "customValue1" and "customValue2"), I still couldn't get it to work. I see the schema you have for this XML file ([Oxygen install folder]/frameworks/css-support), but I can't figure out where to put my custom properties file and how to link it up with my CSS validation.
Is the documentation for this feature out of date? Am I doing something else wrong?
I know I could have the validator ignore my properties in the options panel, but it doesn't seem to work with my @ selectors and properties (used heavily in the paged media module). And I'd rather have defined custom properties that get validated.
Any suggestions?