Bug 1870621 [wpt PR 43704] - Reland "Support number producing css math functions...
commit49bb4f0783532dd18b6d9a0b4f822bc8853d2d44
authorDaniil Sakhapov <sakhapov@chromium.org>
Wed, 20 Dec 2023 04:43:51 +0000 (20 04:43 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 21 Dec 2023 05:50:15 +0000 (21 05:50 +0000)
tree76e349f58b6a388a6704bc4cf9a2d0adeea7b2c2
parent328f1fb82e0dbad5232f2592055542ab580dfa29
Bug 1870621 [wpt PR 43704] - Reland "Support number producing css math functions in ConvertScale", a=testonly

Automatic update from web-platform-tests
Reland "Support number producing css math functions in ConvertScale"

This is a reland of commit d694eb2ed43a9eb892f36825c8a1ec5ee060e780

The fix is to add Failure expectation for mac11 which doesn't crash
for some reason

Original change's description:
> 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 <sakhapov@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1237458}

Bug: 1505817
Change-Id: Ib2e6d2ca5e10e7fcf4e402eccc771f3448d7f6c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5130988
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1239006}

--

wpt-commits: 967023d1dc8a6107eb5bd62b9cd75fb3cb7e64ce
wpt-pr: 43704
testing/web-platform/tests/css/css-values/progress-computed.tentative.html