<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Kris and Radu,</p>
<p><br>
</p>
<p>I refer to (2): Opening "custom.css" in oXygen.</p>
<p><i>Also make sure you prefix the pseudo class value also in the
oxy_action. </i>--> How do I do this?</p>
<p>Negative values do have an effect in oXygen's Author mode and
they are essential for me. Hm...???</p>
<p>I'll investigate to see if "margin-inline-start" is really
required or can be replaced. I saw that it is used in one of
oXygen's CSS files and wanted to reverse a formatting effect
produced with this style.<br>
</p>
<p>Do I use an oXygen framework for my custom.css? Probably... How
can I verify this?</p>
<p><br>
</p>
<p>Regards,</p>
<p>Frank<br>
</p>
<p><br>
</p>
<hr width="100%" size="2">
<p>
<blockquote type="cite">
<p>Hi Frank,</p>
<p><br>
</p>
<p>There are two distinct aspects to this:</p>
<p><br>
</p>
<p>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:</p>
<p><br>
</p>
<p> </p>
<blockquote type="cite">This is annoying because the "Results"
window keeps popping up whenever I save a dita file.</blockquote>
2) <b>Opening your "custom.css" in Oxygen and validating it</b>.
Here indeed some errors are reported.
<p><br>
</p>
<p>2.1) <br>
</p>
<p><br>
</p>
<p> </p>
<blockquote type="cite">Unknown pseudo-element or pseudo-class
“:no-tags”</blockquote>
You can avoid this error by prefixing the custom pseudo class
with "-oxy-", something like ":root:-oxy-no-tags".
<p><b>Also make sure you prefix the pseudo class value also in
the oxy_action.</b></p>
<p><br>
</p>
<p>2.2)</p>
<p><br>
</p>
<p> </p>
<blockquote type="cite"><b>“-2em” negative values are not
allowed </b>:</blockquote>
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.
<p><br>
</p>
<p>2.3)</p>
<p><br>
</p>
<p> </p>
<blockquote type="cite">Property “<b>margin-inline-start</b>”
doesn't exist : 0</blockquote>
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.
<p>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.<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
</blockquote>
<br>
</p>
<div class="moz-cite-prefix">
<hr width="100%" size="2">Am 18.01.2023 um 11:46 schrieb Kristen
James Eberlein:<br>
</div>
<blockquote type="cite"
cite="mid:LV2PR01MB7886BB2C840829FAC8E30002B4C79@LV2PR01MB7886.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style>@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}div.WordSection1
{page:WordSection1;}ol
{margin-bottom:0in;}ul
{margin-bottom:0in;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><b>Frank, are you using an Oxygen framework
for your custom CSS?</b><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Kris<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kristen James Eberlein<br>
Chair, OASIS DITA Technical Committee<br>
Owner, Eberlein Consulting LLC<br>
<a class="moz-txt-link-abbreviated" href="mailto:kris@eberleinconsulting.com">kris@eberleinconsulting.com</a><o:p></o:p></p>
<p class="MsoNormal">Skype: kriseberlein; voice: +1 (919)
622-1501<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> oXygen-user
<a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user-bounces@oxygenxml.com"><oxygen-user-bounces@oxygenxml.com></a>
<b>On Behalf Of </b>Frank Dissinger<br>
<b>Sent:</b> Wednesday, January 18, 2023 4:31 AM<br>
<b>To:</b> Oxygen User Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:oxygen-user@oxygenxml.com"><oxygen-user@oxygenxml.com></a><br>
<b>Subject:</b> [oXygen-user] CSS validation warnings<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi list,<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>I keep getting the following CSS validation errors for my
"custom.css" file in oXygen V25:
<o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1">
Unknown pseudo-element or pseudo-class “:no-tags”<o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1">
Negative values are not allowed: -0.5em <i>(padding)</i><o:p></o:p></li>
<li class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0
level1 lfo1">
Property “margin-inline-start” doesn't exist : 0<o:p></o:p></li>
</ul>
<p>This is annoying because the "Results" window keeps popping
up whenever I save a dita file.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>How can I tell oXygen to ignore these
elements/properties/values?<o:p></o:p></p>
<p>I can't find the required settings under "Options >
Preferences > CSS Validator".<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>Frank<o:p></o:p></p>
</div>
</blockquote>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<div class="moz-signature">
<style>
div.signature {font-family: Verdana, sans-serif; font-size: 10pt; color: #7F8C8D; padding-top: 0.4em;}
div.name {padding-bottom: 0.8em; padding-top: 0.8em}
div.contact {padding-bottom: 0.8em;}
p {margin: 0;}
span.separator {border-top-style: dotted; border-top-width: 2px; padding-top: 0.6em;}
a {color: inherit}
</style>
<div class="signature">
<div class="name">
<p><strong>Frank Dissinger</strong></p>
<p>Documentation Manager</p>
<p>....................................................................</p>
</div>
<div class="contact">
<p><strong>CGS Publishing Technologies International GmbH</strong></p>
<p><strong>Email </strong><a
href="mailto:frank.dissinger@cgs-oris.com"
target="_blank" class="moz-txt-link-freetext">frank.dissinger@cgs-oris.com</a>
| <strong>Web</strong> <a
href="http://www.cgs-oris.com/" target="_blank">www.cgs-oris.com</a></p>
<p><strong>Address</strong> Kettelerstr. 24 | D-63512
Hainburg | Germany</p>
<p><strong>Phone</strong> +49 6182 9626-27 | <strong>Fax</strong>
+49 6182 9626-99</p>
<p><strong>Commercial register</strong> Offenbach, HRB no.
21495</p>
<p><strong>Managing directors</strong> Bernd Rückert,
Christoph Thommessen</p>
<p><br>
</p>
<a href="https://www.cgs-oris.com/signatur"><img
alt="https://www.cgs-oris.com/Signatur.png"
longdesc="https://www.cgs-oris.com/signatur"
src="https://www.cgs-oris.com/Signatur.png" width="394"
height="200"></a> </div>
</div>
</div>
</div>
</body>
</html>