ben-eb/css-values

Handle multiple values appropriately

Open

#3 aperta il 15 mar 2016

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (3 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (64 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

At the moment, this module just validates a single value and doesn't handle multiple values very well. For example, in the output module a couple of tests for the initial-letter property are failing, because the module doesn't take into account the position of each of the values.

normal | [<number> <integer>?]

https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter

So, we need to make the module aware of multiple value syntaxes such as this one; test fixtures should be generated to handle cases such as initial-letter: 3.0 2 for example.

Guida contributor