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

Re: [css21] Default HTML Style sheet needs updating

From: Etan Wexler <ewexler@stickdog.com>
Date: Fri, 28 Nov 2003 15:41:33 -0800
Cc: "Chris Moschini" <cmoschini@myrealbox.com>
To: www-style@w3.org
Message-Id: <65F248AC-21FC-11D8-B12D-000502CB1B77@stickdog.com>

Chris Moschini wrote to <mailto:www-style@w3.org> on 29 September 2003 
in "[css21] Default HTML Style sheet needs updating" 
(<mid:1064856561.a6c4b580cmoschini@myrealbox.com>):

> 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 do justice to the typical presentation of frames. The 
following, using mechanisms from CSS 2.1 and from CSS 3 drafts, is 
closer to the legacy presentation. It gets the frame placement correct, 
but leaves out issues of border styling, scrolling, and resizability.

frameset[rows]:not([cols]) {
     display: table;
     }

frameset[rows]:not([cols]) > frame::outside {
     display: table-row;
     }

frameset[cols]:not([rows])::outside {
     display: table;
     }

frameset[cols]:not([rows]) {
     display: table-row;
     }

frame {
     display: table-cell;
     }

frameset[rows][cols] > * {
     /* This is a pathological case which violates the prose of the
        HTML 4.01 specification. Maybe somebody can devise
        rule sets to handle it. */
     }
Received on Friday, 28 November 2003 18:40:13 GMT

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