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

BR element and generated content

From: Alex Mogilevsky <alexmog@exchange.microsoft.com>
Date: Mon, 8 Oct 2007 18:55:19 -0700
To: "www-style@w3.org" <www-style@w3.org>
CC: Markus Mielke <mmielke@windows.microsoft.com>, Saloni Mira Rai <salonir@microsoft.com>, Arron Eicholz <Arron.Eicholz@microsoft.com>
Message-ID: <04F36FB4ED0F85459AA447F72711526F010804B3D9D4@DF-GRTDANE-MSG.exchange.corp.microsoft.com>
CSS2.1 default stylesheet defines <BR> element as

br:before       { content: "\A" }

If taken literally, this means

1)      Generated content is applicable to <BR>

2)      If a non-default stylesheet clears br:before it should not break line lines.

I am not sure these are intended consequences of this definition in the default stylesheet. Or are they?

Note that none of current browsers implement (2) and I believe only opera has generated content have any effect on <BR>.
Received on Tuesday, 9 October 2007 01:55:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC