Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve font-weight values with CSSLengthResolver
This CL adds clamping to [1, 1000] interval as per spec https://drafts.csswg.org/css-fonts/#font-weight-prop in style builder converter, as we now resolve calc() there as well. This CL leaves TODO for interpolation code, as now it resolves units before interpolation. Bug: 40946458 Fixed: 386860174 Change-Id: I12092088aa21a001bbcd9ae4241a1dae8ca07825 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172306 Reviewed-by: Anders Hartvoll Ruud <[email protected]> Commit-Queue: Daniil Sakhapov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1408543}
- Loading branch information