Attributes
- parser
parser = values.length
- valid
valid = [ ('1.2em', (1.2, 'em')), ('0', (0, None)), ('10045px', (10045, 'px')), ('300%', (300, '%')) ]
Method summary
- testIntegersIfPossible(self)
- testNoSpaceBetweenValueAndUnit(self)
- testValidValues(self)
Methods
- testIntegersIfPossible(self)
- testNoSpaceBetweenValueAndUnit(self)
CSS spec section 4.3.2 requires that the length identifier immediately follow the value
- testValidValues(self)