[CSS2.1] Flow control interop

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