- From: François REMY <francois.remy.dev@outlook.com>
- Date: Wed, 10 Jun 2015 20:52:19 +0200
- To: "'Daniel Holbert'" <dholbert@mozilla.com>, <www-style@w3.org>
> > What's supposed to happen if I have content like: > > > > <span style="display:inline;contain: layout"> > > aaa > > <div style="display:block">bbb</div> > > ccc > > </span> > > > I'm also curious about the same scenario with "contain:paint", BTW. > Should each of the <span>'s boxes here (but not the <div>) have paint > containment applied to its content area? > > > > [...] > > > > Perhaps we need "contain" to blockify the display value? (similar to > > floats, abspos stuff, and flex/grid-item) I would be in favor of the containment instruction being ignored for display modes which clearly do not fit their containment strategy. In particular, "display: inline" seems particularly incompatible with "contain: layout".
Received on Wednesday, 10 June 2015 18:52:49 UTC