| commit | 51e5344f890c9da6e36a41abd7fd426ad3b75e8c | [log] [tgz] |
|---|---|---|
| author | Kevin Babbitt <kbabbitt@microsoft.com> | Thu Sep 05 16:43:41 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 05 16:43:41 2024 |
| tree | ca0276169fdcb6a39e8cc9db00fa1aff1ec20a88 | |
| parent | a3feb8b06551fd67a8576f9148fbba87f0f2cc62 [diff] |
Factor out CSS color function metadata for use in calc expressions Currently, this metadata is used at parse time to determine which channel names are valid for a given color function, and to resolve calc expressions for color channels at parse time when the origin is known. We'll also need this information to resolve calc expressions at used-value time when the origin is `currentcolor`, so this CL lifts the metadata to a location where it can be used outside of parsing. Bug: 325309578 Change-Id: Ifc85e64d1d4b780f2dd1428f3429ac24cc5a904d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5714465 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1351494}
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.