github web-platform-tests/wpt merge_pr_49263

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
9 months ago

Resolve lengths in @counter-style using MediaValues.

This fixes a number of crashes in parsing integers,
and also removes a large chunk of the remaining calls
to the problematic GetIntValue() function.

We use the metrics from the initial style (like with
media queries), as specified in css-values-4.

Bug: 40946458
Change-Id: I87799b606a01854bed69f7b474ef85cab1845a60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6032724
Commit-Queue: Steinar H Gunderson sesse@chromium.org
Reviewed-by: Rune Lillesveen futhark@chromium.org
Cr-Commit-Position: refs/heads/main@{#1384933}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.