commit | 8d94b3c9de25c4685bc8e8ed7ba41e8d96749cc4 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Wed Jun 26 23:44:04 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 26 23:44:04 2019 |
tree | d23c8915f112f337416a08c4f891c29665fd0535 | |
parent | 6f2da658d3593af0786293a0defe697b601dfe87 [diff] |
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 <futhark@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#672718}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .