W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Inline formatting model document

From: Matthew Brealey <thelawnet@yahoo.com>
Date: Wed, 26 Jan 2000 03:18:22 -0800 (PST)
Message-ID: <20000126111822.29666.qmail@web902.mail.yahoo.com>
To: www-style <www-style@w3.org>
--- Ian Hickson <py8ieh@bath.ac.uk> wrote:
> On Mon, 24 Jan 2000, Matthew Brealey wrote:
> It should never inherit. It should, however, affect all inline
> descendants, even if there are blocks in between (e.g., if the <body>
> element in HTML is set to underline, then all text in the document will
> be underlines, even though there will probably be several blocks in
> between the body and the inline elements). 
If the property is specified for a block-level element, it affects all
inline-level descendants of the element.
Now given 

Some text

HTML {text-decoration: underline}

P should not be underlined (because it is not an inline-level descendant),
but it is by Mozilla.

It is not possible to interpret the spec in any other way - 'inline-level
descendants' means inline descendant elements.

If what was meant was 'inline descendant boxes', then that would have been
said, but it wasn't :
1. the use of 'descendants' implies elements
2. 'inline-level' is an attribute only used in terms of _elements_ - not

It is not possible to draw the conclusion that you have done.

From Matthew Brealey (http://members.tripod.co.uk/lawnet (for law)or http://members.tripod.co.uk/lawnet/WEBFRAME.HTM (for CSS))
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Received on Wednesday, 26 January 2000 06:18:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:52 UTC