commit | e5c2623f2efc7c15a7532091e196485693b7c253 | [log] [tgz] |
---|---|---|
author | David Baron <dbaron@chromium.org> | Wed Apr 02 18:20:08 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 02 18:20:08 2025 |
tree | f5243ef2c31cfea9ef743b3c6123d7d10a7e0419 | |
parent | 640e135d8df8ad646f8da2c327a3522e5ec3d064 [diff] |
Make HasAuto()/IsAuto() check match for body height quirk. We need to be consistent about whether to use HasAuto() versus IsAuto() between BlockLayoutAlgorithm::CalculateQuirkyBodyMarginBlockSum and ClampIntrinsicBlockSize or we will fail a DCHECK() in the latter. This aligns to make these match and to match the discussion in https://chromium-review.googlesource.com/c/chromium/src/+/5388894/comment/71137861_08bfd107/ Prior to this change, the added test crashes with a DCHECK() failure in a DCHECK-enabled build and fails in a non-DCHECK-enabled build. With this change it passes in both. Bug: 406530491 Change-Id: Ieb70b9a2f482aa63dcdef3afb5b9d4c03a28acba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6420168 Commit-Queue: David Baron <dbaron@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1441650}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.