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