W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2014

Re: [whatwg] HTML spec incorrectly suggests that <br> can have its rendering changed with CSS

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 23 Jan 2014 09:32:10 -0500
Message-ID: <52E127EA.6080905@mit.edu>
To: whatwg@lists.whatwg.org
On 1/23/14 6:16 AM, Stewart Brodie wrote:
> I get different results on your test case for the bottom two tests.  In
> Chrome 33 and Opera 12.16 (Linux), there is a line break; in Firefox 26
> there isn't.

Indeed.

What Gecko does with <br> is basically to treat it like a special box 
type that has special sizing/painting/linebreak behavior.  But we do 
still allow that box to be positioned/floated, just like an <img>...

-Boris
Received on Thursday, 23 January 2014 14:32:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC