commit | ba6fac3722b2a088fcd4cd293e9ca4a7070ec220 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Fri Dec 21 10:51:52 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 21 10:51:52 2018 |
tree | c3a6944fb006a6c658132f597df8a35b7c4c2e88 | |
parent | 874463d823ad4cd3d67e4ae867aba2868700e19c [diff] |
Move 'contain: size' handling for replaced content For Legacy layout, hoist the check for size containment out to ComputeIntrinsicSizingInfoForReplacedContent, since this is the "real" entrypoint. For NG, put the check in NGLayoutInputNode::IntrinsicSize. This also makes ComputeIntrinsicSizingInfo slightly more focused on computing the intrinsic dimensions, and avoids calling it at all if the box is subject to size containment. Bug: 917018 Change-Id: I0e3fdc48e9c5a104cadaa253cb7cef23fdc42ece Reviewed-on: https://chromium-review.googlesource.com/c/1386849 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Reviewed-by: Manuel Rego <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#618496}
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 .