- 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>
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 UTC