I've removed the space between the element name and the [ declaring
the attribute  and got the same behaviour, the problem seems to be
somewhere else.

It looks like the elements "below" the ones declared on the CSS do not
inherit the line-through decoration.

XML excerpt:

<section revisionflag="deleted">
<title>The Title</title>
<para>Some content</para>
</section>

I expect that "The Title" and "Some content" are striken-through when
I set the revisionflag="deleted" on its containing element, here the
section, however they are not. If I go and set the
revisionflag="deleted" on, say the para, then "Some content" is
striken-through.

So, the CSS rule is not being inherited by the children of elements
with revisionflag="deleted". Is this expected behaviour? (I cannot
anticipate in advance all possible children of elements with
revisionflag="deleted", so it's not practicable to declare CSS rules
for them all...)

Thanks in advance for your prompt and accurate (as usual) answer.

On 3/28/07, Hussein Shafie <hussein at xmlmind.com> wrote:
> 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.
>

-- 
Fabian Mandelbaum
IS Engineer

Reply via email to