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

Floater inside of floater sizing

From: Bogdan Brinza <bbrinza@microsoft.com>
Date: Tue, 17 Jun 2014 23:21:05 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <1f6a2997edcb4134b143517f9c719724@CH1PR03MB610.namprd03.prod.outlook.com>
Another interoperability problem we've uncovered while investigating compatibility problems reported to Internet Explorer. This was found on few internal sites, but should affect every site with same combination, and we expect this is pretty common:

Consider the following reduction: http://jsfiddle.net/boggydigital/6M2yu/

If a floater contains inline-block element and a floater next to it - Chrome would break the line after the first element and sizes container as if line break didn't happen, even though there should be enough space to fit the child floating element without breaking the line.

Internet Explorer and Firefox fit both elements without a line break. Is this the expected behavior?
Received on Tuesday, 17 June 2014 23:21:37 UTC

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