Files
firefox/testing/web-platform/tests/css/css-layout-api
Oriol Brufau 639bdbc0c0 Bug 1564653 [wpt PR 17536] - Recalculate descendant styles when display changes to custom layout, a=testonly
Automatic update from web-platform-tests
Recalculate descendant styles when display changes to custom layout

Previously this only happened if the old display was custom layout,
but not when changing from a standard display to a custom one.
This was a typo, the same condition was checked twice for old_style,
but the second occurrence should check new_style instead.
The change matters when there are inline children that should be
blockified by the custom layout, without the patch they would remain
inline.

BUG=978990
TEST=external/wpt/css/css-layout-api/layout-child-inlines-dynamic.https.html

Change-Id: I73bcf679209dd4bc4a0d7a49f4345ee699bbf37e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678484
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Oriol Brufau <[email protected]>
Cr-Commit-Position: refs/heads/master@{#672718}

--

wpt-commits: b26fcfbbc09d2fb3bfa1b9bbc643f7d4ffb971b0
wpt-pr: 17536
2019-07-24 13:31:39 +01:00
..