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

Re: CSS2.1: \A and white-space

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 6 Sep 2002 03:48:00 +0000 (GMT)
To: Tantek Çelik <tantek@cs.stanford.edu>
Cc: "L. David Baron" <dbaron@fas.harvard.edu>, Bert Bos <bert@w3.org>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.21.0209060340100.26840-100000@dhalsim.dreamhost.com>

On Thu, 5 Sep 2002, Tantek Çelik wrote:
> 
> E.g.
> 
>    br { line-break-after:always }

I've had use for inserting arbitrary newlines into 'content'.

   body:after { content: 'Written by Ian Hickson\A\A9  copyright 2002' }

Don't take that away from me. :-)


(Ok, that's a poor example. My point stands though. With CSS3:

   head > meta[name=author] { string-set: author attr(content); }
   head > meta[name=copyright] { string-set: copyright attr(copyright); }
   body:after { content: 'Written by ' string(author)
                         '\A' string(copyright) 
                         '\A Styled by Foo Style\2122.'; }

...which _is_ perfectly reasonable.)


-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 6 September 2002 00:11:35 GMT

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