Closed Bug 1876726 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 44225 - Add support for math expressions for offset-rotate interpolation

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44225 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44225
Details from upstream follow.

Daniil Sakhapov <sakhapov@chromium.org> wrote:

Add support for math expressions for offset-rotate interpolation

This CL:

  1. Adds support for offset-rotate property usage with
    math expressions and interpolation of this property;
  2. Creates ComputeDegrees API for CSSPrimitiveValue with
    CSSLengthResolver;
  3. Adds type info to the InterpolationNumber to make
    arithmetic operations for number and expression.

Note: the UnresolvedStyleOffsetRotation is needed to interpolate
in expressions, before they are resolved to a single number.
Bug: 1521261
Change-Id: I5e08bc69d0d33e7f9a4675e3a7bcc2fe7971ebd5
Reviewed-on: https://chromium-review.googlesource.com/5237680
WPT-Export-Revision: d6906bbb35b4ef919a4d62f726795de3b92de8d7

Component: web-platform-tests → SVG
Product: Testing → Core

There were two versions of this PR that generated two different bugs here.

The PR associated with this bug didn't get merged. --> Duping this bug to the bug for the other PR that got merged.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1879613
Resolution: --- → DUPLICATE
No longer duplicate of bug: 1879613
Resolution: DUPLICATE → INVALID
You need to log in before you can comment on or make changes to this bug.