-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
From the CSS specification:
The format of a length value is an optional sign character ('+' or '-', with '+' being the default) immediately followed by a number...
Current output:
-1px=>[{"type":"ident","string":"-1px"}]-1=>[{"type":"ident","string":"-1"}]-0=>[{"type":"ident","string":"-0"}]+0=> throwsfailed to parse near +0...+1=> throwsfailed to parse near +1...+1px=> throwsfailed to parse near +1px...
Expected output:
-1px=>{ type: 'number', string: '-1px', unit: 'px', value: -1 }-1=>{ type: 'number', string: '-1', unit: '', value: -1 }-0=>{ type: 'number', string: '-0', unit: '', value: -0 }+0=>{ type: 'number', string: '+0', unit: '', value: 0 }+1=>{ type: 'number', string: '+1', unit: '', value: 1 }+1px=>{ type: 'number', string: '+1px', unit: 'px', value: 1 }
Metadata
Metadata
Assignees
Labels
No labels