Re: [CSS21] text-decoration/visibility

On Thu, 12 Nov 2009 17:26:18 +0100, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> They treat it identically in standards mode (and correctly per spec,  
> which does fully specify this).

Reading http://www.w3.org/TR/CSS21/text.html#lining-striking-props I don't  
find the spec very clear at all.

- It doesn't say that the decorations are propagated when specified on an  
inline (unless I'm misunderstanding the meaning of "box generated by that  
element" and/or "text of an element")
- It's not very obvious that visibility:hidden on an element (apparently)  
applies to decorations specified on that element (making them invisible,  
also when propagating) but not to propagated decorations specified on an  
ancestor
- As for decoration specified on a given element being ignored if the same  
type (e.g. underline, line-through) is propagated from an ancestor, is  
that what "cannot have any effect on the decoration of the ancestor" is  
meant to say? If so, maybe it would be clearer if, say, "of" were to be  
replaced with "propagated from".

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Thursday, 12 November 2009 17:29:00 UTC