W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [CSS21] text-decoration/visibility

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Thu, 12 Nov 2009 18:28:02 +0100
To: www-style@w3.org
Message-ID: <op.u3alg0e3ru61ud@oyvinds-desktop>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT