[oXygen-user] CSS validation warnings
Oxygen XML Editor Support (Radu Coravu)
support at oxygenxml.com
Wed Jan 18 04:35:20 CST 2023
Hi Frank,
There are two distinct aspects to this:
1) Installing your framework in Oxygen and editing a DITA topic in the
Author mode using your custom framework's CSS. I tested and on my side
Oxygen reports no error when opening and editing a DITA topic with your
framework. So I cannot reproduce this problem you reported:
> This is annoying because the "Results" window keeps popping up
> whenever I save a dita file.
2) Opening your "custom.css" in Oxygen and validating it. Here indeed
some errors are reported.
2.1)
> Unknown pseudo-element or pseudo-class “:no-tags”
You can avoid this error by prefixing the custom pseudo class with
"-oxy-", something like ":root:-oxy-no-tags".
Also make sure you prefix the pseudo class value also in the oxy_action.
2.2)
> “-2em” negative values are not allowed :
Such errors are reported by the W3C CSS validator, the CSS is considered
invalid according to the CSS standard. We do not have settings to filter
out errors reported by the CSS validator.
2.3)
> Property “margin-inline-start” doesn't exist : 0
Again this property does not see to be defined in the CSS3 standard and
is reported as such by the W3C CSS validator. We do not have a way to
inhibit this.
Oxygen's CSS engine used to render DITA topics in the Author mode does
not support this "margin-inline-start" property or use it in any way.
But some browsers seem to support it.
Regards,
Radu
Radu Coravu
Oxygen XML Editor
On 1/18/23 11:30, Frank Dissinger wrote:
>
> Hi list,
>
>
> I keep getting the following CSS validation errors for my "custom.css"
> file in oXygen V25:
>
> * Unknown pseudo-element or pseudo-class “:no-tags”
> * Negative values are not allowed: -0.5em /(padding)/
> * Property “margin-inline-start” doesn't exist : 0
>
> This is annoying because the "Results" window keeps popping up
> whenever I save a dita file.
>
>
> How can I tell oXygen to ignore these elements/properties/values?
>
> I can't find the required settings under "Options > Preferences > CSS
> Validator".
>
>
> Frank
>
> --
>
> *Frank Dissinger*
>
> Documentation Manager
>
> ....................................................................
>
> *CGS Publishing Technologies International GmbH*
>
> *Email *frank.dissinger at cgs-oris.com | *Web* www.cgs-oris.com
> <http://www.cgs-oris.com/>
>
> *Address* Kettelerstr. 24 | D-63512 Hainburg | Germany
>
> *Phone* +49 6182 9626-27 | *Fax* +49 6182 9626-99
>
> *Commercial register* Offenbach, HRB no. 21495
>
> *Managing directors* Bernd Rückert, Christoph Thommessen
>
>
> https://www.cgs-oris.com/Signatur.png <https://www.cgs-oris.com/signatur>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20230118/a07f7496/attachment.htm>
More information about the oXygen-user
mailing list