I'm having problems styling a certain element with or without an attribute differently. The css is part of a project specific framework that contains also a template for new xml files. The framework has the highest priority of all frameworks within the frameworks collection. The oXygen version is 14.1.
In the CSS, in case a) the element has no attribute whereas in case b) the type attribute is specified
Code: Select all
/* Example for a) */
mentioned{
font-style:italic;
-oxy-placeholder-content:"placeholder XY";
}
Code: Select all
/* Example for b) */
mentioned[type="Z"]{
font-style:italic;
-oxy-placeholder-content:"placeholder Z";
}
If I create a new, arbitrary file not using the template of my framework and add the elements <mentioned> and <mentioned type="Z">, the styling of both options is correct, the CSS works.
Maybe there's a problem with the preferences of my framework?
Thanks,
Franziska