W3C home > Mailing lists > Public > www-style@w3.org > September 2003

Re: [css21] Default HTML Style sheet needs updating

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 29 Sep 2003 10:53:50 -0700
To: Chris Moschini <cmoschini@myrealbox.com>
Cc: www-style@w3.org
Message-ID: <20030929175350.GA4936@darby.dbaron.org>

On Monday 2003-09-29 13:29 -0400, Chris Moschini wrote:
> 
> In the CSS2.1 Default HTML Style sheet:
> 
> http://www.w3.org/TR/CSS21/sample.html
> 
> It still says that CSS2.1 cannot fully express the presentation
> of elements like img and frame. Yet CSS3 can, like so:
> 
> img, object, applet, embed, iframe, frame, frameset 
> { 
>  display:inline-block; 
> }

That doesn't fully describe the presentation, since it doesn't say what
the replaced content is.  Doing that requires CSS3.

> http://www.w3.org/TR/2003/WD-css3-ui-20030703/#qA
> 
> With the introduction of inline-block to CSS2.1, it can in fact
> fully define all these elements' presentation. This and several

The addition of 'inline-block' doesn't change *anything* for replaced
elements, since the rules for inline and inline-block replaced elements
are exactly the same.  ('inline-block' allows non-replaced elements to
act like inline replaced elements.)

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
Received on Monday, 29 September 2003 13:55:45 GMT

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