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

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 UTC