W3C home > Mailing lists > Public > www-style@w3.org > November 2014

[CSS2.1] Flow control interop

From: Greg Whitworth <gwhit@microsoft.com>
Date: Thu, 13 Nov 2014 23:12:41 +0000
To: www-style list <www-style@w3.org>
Message-ID: <c0d7c0d751ec428589614ffe1c5270a4@BN3PR0301MB0868.namprd03.prod.outlook.com>
Hello everyone,

Got another interop issue I would like to get alignment regarding floats and clearance. Here is a set of examples: http://jsfiddle.net/d83gt4d8/5/

The relevant part of the spec is[1]:

	"Then the amount of clearance is set to the greater of: 
		1. The amount necessary to place the border edge of the block even with the bottom outer edge of the lowest float that is to be cleared. 
		2. The amount necessary to place the top border edge of the block at its hypothetical position. 
		Alternatively, clearance is set exactly to the amount necessary to place the border edge of the block even with the bottom outer edge of the lowest float that is to be cleared.

	Note: Both behaviors are allowed pending evaluation of their compatibility with existing Web content. A future CSS specification will require either one or the other. 
	Note: The clearance can be negative or zero. "

IE is currently doing the max of 1 and 2, but the Note makes it so that basically every browser is "spec compliant." We're willing to match FF/Blink/Webkit but we would like it if FF/Blink/Webkit could agree as well and then we can get this specified (You'll notice Gecko and Blink/Webkit do not agree on the second one). This would allow us to get rid of that note and gain more interop.

Thank you!!!

Greg

[1] http://www.w3.org/TR/CSS21/visuren.html#flow-control
Received on Thursday, 13 November 2014 23:13:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC