W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

[csswg-drafts] [css-contain] contain:layout incorrectly claims "nothing outside can affect its internal layout" (#3357)

From: Christian Biesinger via GitHub <sysbot+gh@w3.org>
Date: Fri, 30 Nov 2018 18:38:59 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-386303303-1543603138-sysbot+gh@w3.org>
cbiesinger has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain] contain:layout incorrectly claims "nothing outside can affect its internal layout" ==
https://www.w3.org/TR/css-contain-1/#valdef-contain-layout

 layout
 This value turns on layout containment for the element. This ensures that the containing element is totally 
 opaque for layout purposes; nothing outside can affect its internal layout, and vice versa.

However, I can't find anything in the description of contain: layout that disallows sizing to the available space (<div style="width: auto">) or fit-content sizing. So the inline-size of the containing element, in the common case, depends on the size of its parent.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3357 using your GitHub account
Received on Friday, 30 November 2018 18:39:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:39 UTC