- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Fri, 12 Oct 2007 16:25:36 -0400
- To: Alex Mogilevsky <alexmog@exchange.microsoft.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>
Alex Mogilevsky wrote: > CSS2.1 default stylesheet defines <BR> element as > br:before { content: "\A" Alex Mogilevsky wrote: > 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>. The default stylesheet is just a guideline: it's not normative. Also, in CSS3 we'll be able to do br { white-space: pre; content: "\A"; } I'm opposed to specifying normative behavior for <br> that requires special-casing it. Implementing <br> as above should be allowed. ~fantasai
Received on Friday, 12 October 2007 20:25:53 UTC