commit | c82e4ff1304adb9c285e827479dbab18f939ac69 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Thu Mar 27 11:22:13 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 27 11:22:13 2025 |
tree | 441193b1fddecb22501fe0e20993fb6c03195055 | |
parent | 0125b40ec15b2f34085fdffff0fb10b417c8ac58 [diff] |
Support unresolved calc() expressions for steps() timing functions Steps including sign() or sibling-index() that were not possible to simplify at parse time were causing NOTREACHED() and DCHECK()s to trigger because we tried to retrieve the integer value at parse time without checking the CSSValue type for range checking. Don't do range checking at parse time in such cases, but do range clamping at computed value time. This is in line with what the css-values-4 spec says. Bug: 405422525 Change-Id: Ib620b2bd0eed4d9de646299ae6f510d96f383d90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6400854 Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1438661}
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.