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

Replaced elements (was Re: Text-Decoration)

From: Matthew Brealey <webmaster@richinstyle.com>
Date: Mon, 03 Apr 2000 11:03:49 -0700
Message-ID: <38E8D998.3FD1@richinstyle.com>
To: www-style@w3.org
L. David Baron wrote:
> > Consider this:
> > H1 { text-indent: 4em; }
> >
> > <h1>
> >  <object data="/images/corporate_logo">
> >   Bodgitt and Scarper Plumbing
> >  </object>
> > </h1>
> >
> > ...should the logo be indented?
> 
> Yes, if the object element has 'display: inline' and is thus a replaced
> inline element 

Of course the term 'replaced' in the spec (used throughout) is usually
incorrect, since, although it is sometimes used to mean replaced
content, it is more usually used to mean that the element defines an
inline-level block.

(BTW: Unless I've missed something the question didn't have anything to
do with text-decoration; if it did, and it was making a point as to the
respective merits of the various interpretations of the spec, then I
could do with some elucidation.)
Received on Monday, 3 April 2000 06:00:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT