Browse files

Fix recognition of HSL colors in tokenizer

  • Loading branch information...
1 parent 63f0285 commit 5bfe9847f6b9518005b126ef597297645777f465 Jason Johnston committed Jun 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/Tokenizer.js
View
2 sources/Tokenizer.js
@@ -192,7 +192,7 @@ PIE.Tokenizer = (function() {
isNumOrPct( next() ) &&
isValue( next(), ',' ) &&
isNumOrPct( next() ) &&
- ( val === 'rgb' || val === 'hsa' || (
+ ( val === 'rgb' || val === 'hsl' || (
isValue( next(), ',' ) &&
isNum( next() )
) ) &&

0 comments on commit 5bfe984

Please sign in to comment.