From 1a49892d574e3b77a75df8cfc77307a7d5daab35 Mon Sep 17 00:00:00 2001 From: Nishan Date: Mon, 19 Aug 2024 18:23:13 -0700 Subject: [PATCH] fix: linear gradient color stop fix up spec (#45969) Summary: - Color stops needs to follow [fix up spec](https://drafts.csswg.org/css-images-4/#color-stop-fixup) - Adds multiple stops syntax support. e.g. linear-gradient(red 30% 50%, green). - Rename `position` to `positions` in object style API. Optional string array here makes more sense. We'll add number array support once `px` support is added. Will do it as a follow up to this PR. TODOs: transition hint syntax support `linear-gradient(red, 50%, green)` (Done locally, dependent on this PR). `px` support. ## Changelog: [GENERAL] [FIXED] - Linear gradient color stop spec.