Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1869602 [wpt PR 43631] - Support number producing css math functi…
…ons in ConvertScale, a=testonly Automatic update from web-platform-tests Support number producing css math functions in ConvertScale Currently, StyleBuilderConverter::ConvertScale directly calls GetDoubleValue() which is incorrect for math functions, rewrite it to use ComputeNumber with CssToLengthConversionData instead. Note: the crash is due to the parse time percent resolution in ConsumeNumberOrPercent, which doesn't work with math functions yet. It will be fixed in the following CL, meanwhile the added test case covers the changed functionality. Bug: 1505817 Change-Id: Icf553423d09b9ff71ebc3b625c06e10fec637352 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5116383 Commit-Queue: Daniil Sakhapov <[email protected]> Reviewed-by: Anders Hartvoll Ruud <[email protected]> Cr-Commit-Position: refs/heads/main@{#1237458} -- wpt-commits: 26441c2d67e8807e676ed55270e1e9ec4002e306 wpt-pr: 43631
- Loading branch information