See https://drafts.csswg.org/css-contain/#containment-size This bug is on making our layout/reflow code react appropriately to "contain: size". Historical note: the behavior for "contain:size" was lumped in with layout containment in an earlier version of the spec, so I think part of this was included in the work-in-progress patch stack on bug 1178895. But it's now been split out into its own keyword, which can be specified independently from (or together with) "contain:layout". (Note that bug 1463589 will add CSS Parser support for "contain:size".)
Assignee: nobody → mreschenberg
5 'inline-block' with 'contain: size' tests: http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-006.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-007.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-008.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-009.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-010.xht More tests will come. Right now, Chromium 66.0.3359.117 and Chrome 68.0.3438.3 pass those 5 tests. Firefox 62.0a1 buildID=20180613220131 with layout.css.contain.enabled set to true fails those 5 tests.
Visit http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/ for inline-block tests (8 tests: from contain-size-006 to 013) and for inline-table tests (expecting 8 tests: from contain-size-021 to 028). Reference files: http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-006-ref.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-007-ref.xht
> http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/ > > for inline-block tests (8 tests: from contain-size-006 to 013) and > > for inline-table tests (expecting 8 tests: from contain-size-021 to 028). Those tests' filename numbers will unfortunately have to be changed because tests in https://bugs.chromium.org/p/chromium/issues/detail?id=843329#c6 are already using those filename numbers.
Tests with *new* filename numbers - - - - - - - - - - - - - - - - - http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/ for inline-block tests (8 tests: from contain-size-021 to 028) New reference files: http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-021-ref.xht http://www.gtalbot.org/BrowserBugsSection/CSS3Contain/contain-size-022-ref.xht for inline-table tests (expecting 8 tests: from contain-size-031 to 038) (I must reconsider those tests based on the fact that 'contain: size' does not apply to table elements and presumably redo these tests.) for inline replaced element tests: contain-size-041 and contain-size-042 for table-cell tests: contain-size-051 and contain-size-052 for block box tests: 1 test for now: contain-size-061
You need to log in before you can comment on or make changes to this bug.