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

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

From: fantasai <fantasai@escape.com>
Date: Mon, 26 Aug 2002 18:20:39 -0400
Message-ID: <3D6AA9B7.5DDF9BCB@escape.com>
To: www-style@w3.org

Bert Bos wrote:
> 
> fantasai writes:
> >
> > Which makes sense and is how Mozilla implements the 'content' property.
> > After all, \A is just an escape sequence that means "newline". CSS2.1,
> > however, seems to override that expectation with the wording of its \A
> > explanation and the following example.
> 
> No, the 'white-space' property has no effect on '\A', since the '\A'
> is not inserted into the *input* of the CSS renderer, but into the
> *output*.

So whitespace in generated content is always preserved.
  content: "  <-twospaces	<-tab\A<-newline"
would become
--
  <-twospaces	<-tab
newline
--

You should mention this in the spec, then, as it is not clear.

~fantasai
Received on Monday, 26 August 2002 18:16:47 GMT

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