W3C home > Mailing lists > Public > www-style@w3.org > April 2017

Re: [css-containment][css-display] Layout containment on display: contents and display: run-in

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 20 Apr 2017 15:01:27 +0900
Cc: www-style@w3.org
Message-Id: <31FDCD6A-7CAE-4984-9FE4-C3D580CAB49B@rivoal.net>
To: Kyle Zentner <kzentner@mozilla.com>
> On Jul 16, 2015, at 03:52, Kyle Zentner <kzentner@mozilla.com> wrote:
> Hi www-style,
> I'm implementing 'contain: layout' in Gecko right now. One of my test cases set 'display: contents' on a 'contain: layout' element.
> I don't see any obvious way for this to work. What should happen in this case?
> Similarly, it's not clear how 'contain: layout' should be applied to a 'display: run-in' element, since its layout depends on whether it contains a block.
> Should FCification take care of these cases? If so, how?

The working group has decided to clarify: style containment works even when when display is contents, but other types of containment have no effect. This is now reflected in the editor's draft.

Received on Thursday, 20 April 2017 06:02:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:07 UTC