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

> 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.

—Florian

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