Closed Bug 1667072 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 25721 - Fix resolution of 'auto' in SVGLengthContext::ResolveLengthPair

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Fredrik S\xc3\xb6derqvist <fs@opera.com>' wrote:

Fix resolution of 'auto' in SVGLengthContext::ResolveLengthPair

If one of the Lengths was 'auto' while the other was a percentage or
calc(...), the 'auto' Length would resolve to the corresponding viewport
dimension (i.e like if it was 100%) rather than 0.

Fixed: 1131324
Change-Id: Iec4e406d74b29551f417ab32caf3ef6cc627909b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426483
Reviewed-by: Stephen Chenney \<schenney@chromium.org>
Commit-Queue: Fredrik Söderquist \<fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#809844}

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dcb42e643761 [wpt PR 25721] - Fix resolution of 'auto' in SVGLengthContext::ResolveLengthPair, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.