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

Tantek Çelik wrote:
> 
> On 9/5/02 6:02 PM, "fantasai" <fantasai@escape.com> wrote:
> 
> >
> > Tantek Çelik wrote:
> >>
> >> br { line-break-after:always }
> >
> > br:after {content: "\A"; white-space: pre} ?
> 
> Right, this is exactly the nonsense hack that I am saying there is no need
> for.  There was no need to introduce "\A" as a "formatting instruction", and

.... Well, assuming \A gets replaced by a line feed character
according to the CSS escaping rules [1], I don't see anything
nonsensical about this example here. White-space is pre, so
line breaks should be honored.

Or am I missing something here?

[1] http://www.w3.org/TR/REC-CSS2/syndata.html#escaped-characters

~fantasai

Received on Friday, 6 September 2002 00:29:21 UTC