Skip to content

Space between modifier and value #18

@taion

Description

@taion

According to the note on https://drafts.csswg.org/css-color/#modifying-colors:

Note: While scaling can be specified without any spaces, like lightness(*150%), adding/subtracting must be done with spaces after the +/-, or else the +/- will be interpreted as part of the number by the CSS parser.

This suggests that the + or - modifiers should only be parsed as such if there is a space between the modifier and the modified value. This is not the current behavior of the parser.

Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions