Closed Bug 1780891 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34975 - Fix DCHECK with pathLength/-0.0 being -infinity

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Rogers <pdr@chromium.org> wrote:

Fix DCHECK with pathLength/-0.0 being -infinity

This comment did not account for the behavior of negative zero:
A value of zero is valid and must be treated as a scaling factor of
infinity.

Bug: 1345806
Change-Id: Ib780c7201a6edffdc897ec63f79c1ff53e276ab5
Reviewed-on: https://chromium-review.googlesource.com/3781420
WPT-Export-Revision: 84093c86fd4254006c65aee88d33866dc78ec77f

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4970d3bae4f4
[wpt PR 34975] - Fix DCHECK with pathLength/-0.0 being -infinity, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.