To configure the CSS Validator preferences, open the
Preferences dialog box and go to CSS
Validator.
You can configure the following options for the built-in CSS Validator
of Oxygen XML Author Eclipse plugin:
- Profile - Selects one of the available validation profiles:
CSS 1, CSS 2, CSS
2.1, CSS 3, CSS 3 + SVG,
CSS 3 with Oxygen extensions, SVG,
SVG Basic, SVG Tiny,
Mobile, TV Profile, ATSC TV
Profile. The CSS 3 with Oxygen
extensions profile includes all the CSS 3 standard properties plus the
CSS extensions specific for Oxygen that can be used in Author
mode. That means all
Oxygen-specific extensions are accepted in a CSS stylesheet by the built-in CSS validator when this profile is selected.
- Media type - Selects one of the available mediums:
all, aural, braille,
embossed, handheld,
print, projection,
screen, tty, tv,
presentation, oxygen.
- Warning level - Sets the minimum severity level for reported
validation warnings. Can be one of: All,
Normal, Most Important, No
Warnings.
- Ignore properties - You can type comma
separated patterns that match the names of CSS properties that will be ignored at
validation. The following vendor extensions are specified as ignored by default:
-ro-* (PDFreactor), -ah-*
(Antenna House), prince-* (Prince). As
wildcards you can use:
- * to match any string.
- ? to match any character.
- Recognize browser CSS extensions (also applies to content
completion) - If selected, Oxygen XML Author Eclipse plugin recognizes browser-specific
CSS properties (no validation is performed). The Content Completion
Assistant lists these properties at the end of its list, prefixed with the
following particles:
- -moz- for Mozilla.
- -ms- for Edge.
- -o- for Opera.
- -webkit- for
Safari/Webkit.