W3C home > Mailing lists > Public > www-style@w3.org > October 2007

RE: BR element and generated content

From: Alex Mogilevsky <alexmog@exchange.microsoft.com>
Date: Fri, 12 Oct 2007 12:46:09 -0700
To: "freyjkell@gmail.com" <freyjkell@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>, Markus Mielke <mmielke@windows.microsoft.com>, Saloni Mira Rai <salonir@microsoft.com>, Arron Eicholz <Arron.Eicholz@microsoft.com>
Message-ID: <04F36FB4ED0F85459AA447F72711526F010F4803B3E6@DF-GRTDANE-MSG.exchange.corp.microsoft.com>

I like this approach too, and it is what most UAs do.

<BR> can be seen as a replaced element with special behavior which can't be expressed in CSS.

I means though that Opera's implementation which allows adding content before/after <br> is not standards-compliant.

-----Original Message-----
From: Nikodem [mailto:freyjkell@gmail.com]
Sent: Friday, October 12, 2007 12:26 PM
Subject: Re: BR element and generated content

Alex Mogilevsky wrote:
> CSS2.1 default stylesheet defines <BR> element as
> br:before       { content: "\A" }
> If taken literally, this means
It is not taken literally. Generally, the <br/> element was introduced
as not an object, but just presentative instruction for UA, 'make line
break'.
Received on Friday, 12 October 2007 19:46:24 GMT

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