github web-platform-tests/wpt merge_pr_48270

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

Part 2 - Mark a flex item's intrinsic inline size dirty if we override its block size.

In a column-oriented flex container, if a flex item's intrinsic inline size or
its descendants' inline size contributions depend on the item's block size,
NS_FRAME_DESCENDANT_INTRINSIC_ISIZE_DEPENDS_ON_BSIZE will be set. In this
case, when determining the flex item's cross-size, we need to mark the flex
item's intrinsic inline size as dirty such that its (auto) inline size is
recomputed when constructing its ReflowInput.

testing/web-platform/tests/css/css-sizing/intrinsic-percent-replaced-017.html
is the test coverage for this patch.

Differential Revision: https://phabricator.services.mozilla.com/D222231

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1918576
gecko-commit: 51fd81b5ced0f6cec53b3b475fa50a9a48010848
gecko-reviewers: dholbert

Don't miss a new wpt release

NewReleases is sending notifications on new releases.