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

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

From: fantasai <fantasai@escape.com>
Date: Thu, 05 Sep 2002 21:02:26 -0400
Message-ID: <3D77FEA2.C54D5E4F@escape.com>
To: www-style@w3.org

Tantek Çelik wrote:
> 
> br { line-break-after:always }

br:after {content: "\A"; white-space: pre} ?

> >>   p:before {content: "<em>"}
> >>
> >> That simply inserts four literal characters into the ouput, it does
> >> not create an EM element.
> 
> It should do neither.  It should insert "&lt;em&gt;" into the input.

It should insert "<em>", not "&lt;em&gt;", because generated content,
wherever it enters layout, does not get processed by the HTML/XML/SGML
parser.

~fantasai
Received on Thursday, 5 September 2002 20:58:31 GMT

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