Files
sousa-gecko/testing/web-platform/tests/svg/path
Virali Purbey 627704311c Bug 2051916 [wpt PR 61020] - [SVG] Change path-length CSS property from <number> to <length>, a=testonly
Automatic update from web-platform-tests
[SVG] Change `path-length` CSS property from <number> to <length>

Per the CSSWG resolution [1], change the `path-length` syntax from
`none | <number [0,inf]>` to `none | <length [0,inf]>`, allowing it
to be composed with `calc()`.

The value is stored as a `Length` (default `Length::None()`), with
interpolation moved to the `<length>` group. The stored length is in
zoomed pixels, so `AuthorPathLength()` divides out the effective zoom
to keep the author-specified value stable across zoom levels.

The feature remains behind the experimental `SvgPathLengthCssProperty`
flag and is not shipped.

[1] https://github.com/w3c/csswg-drafts/issues/13901
https://github.com/w3c/svgwg/pull/1118

Bug: 1045430
Change-Id: I0c5a72c05e87844f3185ed91f290eb1daee02f1a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7870411
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Virali Purbey <viralipurbey@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1655740}

--

wpt-commits: c331d056e3065d8fa4dbc93a073da2c4afed1d27
wpt-pr: 61020
2026-07-10 09:23:46 +00:00
..