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

Re: BR element and generated content

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 08 Oct 2007 21:15:02 -0500
Message-ID: <470AE426.8090102@mit.edu>
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

That stylesheet is non-normative and has a number of issues in it.  I wouldn't 
use it for more than a general guideline to how HTML should look by default, 

> If taken literally, this means

In a UA that doesn't treat <br> as a replaced element, this rule would have the 
effect of putting in a newline (well, if white-space is also set).  In a UA that 
treats <br> as a replaced element (most of them), the effect of this rule is 
undefined, last I checked.

Received on Tuesday, 9 October 2007 02:15:27 UTC

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