Closed Bug 1852444 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41900 - Take neighboring values for gradient color stops with missing parameters

Categories

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

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Aaron Krajeski <aaronhk@chromium.org> wrote:

Take neighboring values for gradient color stops with missing parameters

https://github.com/w3c/csswg-drafts/issues/9295

I mistakenly thought earlier that missing parameters should resolve as
if that parameter were not there. In fact it should effectively become two stops in the same spot, taking non-missing parameters from
the left and right neighbors, respectively. If either neighbor is
missing then the parameter resolves to zero.

The test had to be updated.

Bug: 1462612
Change-Id: Ie3c55d17117537052fa7cecb66bfd2b953952a38

Reviewed-on: https://chromium-review.googlesource.com/4834550
WPT-Export-Revision: 075279355580d9f0e5d5abd3cb8a6f4a35cc3d53

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e5003ff32889 [wpt PR 41900] - Take neighboring values for gradient color stops with missing parameters, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.