Oxygen XML Web Author CSS LimitationsEdit online
The Oxygen XML Web Author CSS support is compatible with most of what is offered by
the standalone distribution of Oxygen XML Editor/Author. However, there are some
exceptions:
- The
+(direct adjacent) and>(child selector) structural selectors cannot be used to match table-related elements. - Oxygen CSS extensions are ignored on
printmedia. If an Oxygen CSS extension is used on thescreenmedia, it will also be used on theprintmedia. - Oxygen CSS extension properties and functions cannot be used in a rule that has a
:hoverpseudo-class in the selector. Theattrfunction is also not supported in such a rule due to a lack of browser support. - The
:hoverpseudo-class is only available for mouse-enabled platforms. - Oxygen CSS extensions used in property values that express lengths may not behave as expected. Nevertheless, it is a good approximation.
- Oxygen CSS extensions used in media queries may not behave as expected.
-
Oxygen synthetic DOM nodes
comment,reference,cdata,pi, anderrorinterfere with the+(direct adjacent) structural selector. For example:b + b { color: red; }will not match the following XML structure:<root> <b/> <!--comment--> <b/> </root>
- Oxygen XML Web Author does not render non-
table-rowchildren elements of tables and non-table-cellelements oftable-rowelements. - A
widthorheightproperty set on any element other than the root XML element may cause some resize handles (that cannot be disabled) to be displayed in IE 11. This is also true for elements that have apositionproperty with a value ofabsoluteorfixed. For more information about this issue, see this Microsoft Connect article. - Oxygen XML Web Author does not support the following:
:nth-last-of-type,:first-of-type,:last-of-type,:nth-last-of-typepseudo-classes.-oxy-tags-colorand-oxy-tags-background-colorproperties.- Subject selectors, since they are not supported by web browsers.
- Specifying widths for inline elements.
- Attribute selectors that use wildcard for the attribute name.
- Oxygen XML Editor/Author CSS extensions to style
:beforeand:afterpseudo-elements, except in thecontentproperty. - CSS property values that contain the
oxy_xpathfunction are not refreshed correctly.
- The
-oxy-foldableproperty does not work with elements that have:display: inline. - For security reasons, if an XML document references a CSS that is not included in the document's framework, the following editor variables cannot be expanded when they are referenced from the CSS: configured.ditaot.dir, dita.dir.url, ds, dsu, env, framework, frameworkDir, frameworks, frameworksDir, home, homeDir, makeRelative, oxygenHome, oxygenInstallDir, system, xmlCatalogFilesList, ps, tsf, pluginDirURL, pluginDir.
- Some form controls have a property named
columnsand its unit size is "the width of the w character". In Oxygen XML Web Author, the unit size is 1em.
To overcome some of these limitations, you can use media queries described in Customization Tips.