- From: Matthew Brealey <thelawnet@yahoo.com>
- Date: Wed, 26 Jan 2000 03:18:22 -0800 (PST)
- 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). No. <q> If the property is specified for a block-level element, it affects all inline-level descendants of the element. </q> Now given <html> <body> <p> 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 boxes. 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. http://im.yahoo.com
Received on Wednesday, 26 January 2000 06:18:23 UTC