Bug
1463607 [wpt PR 11107] - [css-layout-api] Adds ability to set available sizes on children., a=testonly
Automatic update from web-platform-tests[css-layout-api] Adds ability to set available sizes on children.
This adds the availableInlineSize, availableBlockSize, to the layout
constriants options dictionary.
This also makes the children "shrink-to-fit" if they are inside a
custom layout pass. Additional logic was needed to *not* "shrink-to-fit"
children during the layout fallback if any occurred, so
LayoutCustomPhaseScope was added to handle this.
The tests that were added test a new BFC with inline children to
see if shrink to fitting works as expected.
Bug: 726125
Change-Id: Ic86d51579b680d871c66040f54e532bc47d79979
Reviewed-on: https://chromium-review.googlesource.com/
1069252
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561602}
--
wpt-commits:
127a32efa15d361e0eb4d0db1cbf5a99d26d72d9
wpt-pr: 11107