commit | 01aeb7fee40714a9dbf7944c00d03d890c7656fe | [log] [tgz] |
---|---|---|
author | Kevin Babbitt <kbabbitt@microsoft.com> | Mon Feb 26 23:24:21 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 26 23:24:21 2024 |
tree | d01a2f912e8bc5ac6fe2287c86e42ad7778db7fa | |
parent | 0897f1e09d84d7dbd6d697ab9cebb34851851ae0 [diff] |
Add CSSValuePhase parameter to CSSValueFromComputedStyleInternal There's special-casing in ComputedStyleUtils::ComputedPropertyValue() for properties whose computed value differs from resolved value. The set of such properties is larger than previously understood, so to avoid an excessive number of special cases, this CL starts a refactor to push CSSValuePhase into CSSProperty::CSSValueFromComputedStyle() so that properties can define their own behaviors. The changes here are only to CSSValuePhase into css_property.h, add the parameter to the heavily overridden CSSValueFromComputedStyleInternal method, and fix up call sites. Further plumbing and functional changes will come in follow-up CLs. Bug: 40137692 Change-Id: I3ff43df162be4d8eac81fe5a94f37d6a28f6c69b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5304240 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1265521}
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.