W3C home > Mailing lists > Public > www-style@w3.org > October 2009

[css3-layout] shorthand for slot construction

From: Stephen Hay <haymail@gmail.com>
Date: Sun, 18 Oct 2009 10:56:23 +0200
Message-ID: <f29fb5880910180156s1f0744a6t2bcf8aa0588b5eb4@mail.gmail.com>
To: Www-style <www-style@w3.org>
Hi all,

The only real criticism I've heard regarding Template Layout, is the
whole ASCII art thing. While the comparison of the syntax with ASCII
art is flimsy at best, I'm assuming that some feel that brevity could
be introduced in some cases.


#example {
    display: "aaaaaaaaaa.b"
             "cccccccccccc" }

can be useful, especially for "drawing" things like GUI components,
would a shorthand be possible?

Is something like:

#example {
    display: "a[10].b"
             "c[12]" }

conceivable, or would it even be useful? Admittedly, this throws the
visual aspect (which I tend to like) out the window, but because it's
just a shorthand, authors are still free to use the longer form.

Any thoughts?

Stephen Hay
Received on Sunday, 18 October 2009 08:56:55 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC