-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
css3: workaround complex rgb/rgba comma grammars
The VDS syntax allows a non-context free mode of automatic comma removal (requires at least some sort of lookahead/backtracking). So workaround the main two grammars where we encounter this: rgb/rgba. We group the comma and the following alpha value and make the whole group optional. Add to ticket mdn/data#341. However, looks like the workaround is unlikely to be incorporated since the contextual comma removal appears desired for ease of specifying those cases.
- Loading branch information
Showing
3 changed files
with
34 additions
and
12 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
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
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