Closed Bug 1692185 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27591 - Fix monotonic increasing gradient stop check

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Rune Lillesveen <futhark@chromium.org>' wrote:

Fix monotonic increasing gradient stop check

Make sure we test against previous stop where clamping inf values
already happened.

Also make sure we don't store any inf values in the non-normalized
stops for calc() values. Otherwise the DCHECK_GT(span, 0) will trigger.

Bug: 1174046
Change-Id: I1e77f91825a1dc8219174d3757a7c1691474e4d0
Reviewed-on: https://chromium-review.googlesource.com/2690346
WPT-Export-Revision: fa1ac1ad1e46ea12742a4878c1ba8bf4f12820cf

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
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/75c780142226 [wpt PR 27591] - Fix monotonic increasing gradient stop check, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.