Fabian Mandelbaum wrote:
>
> it looks like XXE Pro 3.4 is not honouring the text-decoration CSS
> property.
>
> Below you have an excerpt of the CSS:
>
> * [revisionflag=deleted],
> lswe|* [revisionflag=deleted] {
> background-color: #ff7f7f;
> text-decoration: line-through;
> }
Please remove the space between '*' and '[' because in CSS selectors,
spaces are significant.
> That is, all elements with no namespace (or on the default one) and
> all elements in the lswe namespace with the attribute
> revisionflag="deleted" should have a reddish background and be
> striken-through. The backround is red, but all text in the contained
> element is not striken-through, it's 'normal'.
>
> Known "feature"? Bad CSS? Both?
>
To my knowledge, "text-decoration: line-through;" works fine.
This is an excerpt of xhtml.css:
---
/*
* Partial support for the Transitional DTD.
*/
strike,
s {
text-decoration: line-through;
}
u {
text-decoration: underline;
}
---
Please test this in an XHTML document: select some text, convert it to
an "s" element and you'll see.