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

Separation of Content, Layout and Style

From: Mark Moore <mark.moore@notlimited.com>
Date: Fri, 8 Apr 2005 21:14:38 -0700
To: <www-style@w3.org>
Cc: "'Emrah BASKAYA'" <emrahbaskaya@hesido.com>
Message-ID: <E1DK7RT-0008H5-8R@frink.w3.org>

My personal take would be that CSS3 should try to leverage / learn from the
number of existing layout solutions that are already deployed instead of
trying to invent something from scratch.

I've been forced to use 3 or 4 in the course of my career.  (The first was
the PenPoint layout manager from Go in 1991.)  The latest I've seen is the
layout manager for SWT which looks like it may offer a pretty good starting
point today. [1]

Many of the concepts in the CSS box model correspond directly to elements of
other layout systems (for example the row and grid layouts in SWT).  This
should make the task fairly tractable once the WG decides to try and
separate the notion of layout from style.

[1]
http://www.eclipse.org/articles/Understanding%20Layouts/Understanding%20Layo
uts.htm


> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf
> Of Emrah BASKAYA
> Sent: Friday, April 08, 2005 6:56 PM
> To: www-style@w3.org
> Subject: Re: Parent pseudo-containers - a method for seperation of content
> from design
> 
[MDM] <<snip>>
> 
> This is a good example why the CSS2 box model was a bad choice IMHO.
> Hopefully in CSS3 we'll be able to select the box model. Current method
> could be much more bearable for flexible layouts with simple arithmetic
> expressions like %50 - 6px (for a 3px border, in this example). There had
> been a discussion on expression recently I guess.. Dunno. I don't need
> complex expressions. Just adding and subtracting two same/different units
> would have been killer.
> 
> One method to deal with that is to have a box in box. BAD :) Other is
> giving them smaller % on a trial basis. Another one, which is encouraged
> by this current model, is to use px. and have a non-flexible design. BAD,
> again.
> 
> 
> --
> Emrah BASKAYA
> www.hesido.com
Received on Saturday, 9 April 2005 04:19:31 GMT

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