-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1352643 - Implement multi-position gradient color-stops syntax. r…
…=emilio This commit adds the multi-position gradient color-stops syntax. GradientItem::parse_comma_separated is extended to attempt to parse a LengthOrPercent after each color stop. If it succeeds, it appends an additional color stop with a duplicate color and the specified position. This change is only to the parsing, serialization is left unchanged as per [1]. [1] w3c/csswg-drafts#2714 Differential Revision: https://phabricator.services.mozilla.com/D7380 UltraBlame original commit: 984902ba6faf1864c04fef525f6764983439ce1b
- Loading branch information
Showing
9 changed files
with
941 additions
and
554 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.