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, 
basically...

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

-Boris
Received on Tuesday, 9 October 2007 02:15:27 GMT

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