Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1008 Bytes

CHANGELOG.md

File metadata and controls

51 lines (33 loc) · 1008 Bytes

@rmenke/css-tokenizer-tests

1.2.0

Add extra test coverage and fix existing test cases for input stream preprocessing behavior. With special thanks to @keithamus for reporting this issue and for providing insights.

1.1.6

Add extra tests with code points spanning two string indices.

1.1.5

Add a test for string tokens containing a backslash followed by CRLF.

1.1.4

Fix negative zero serialization in test corpus.

1.1.3

Move recent tests from the numeric category to number.

1.1.2

Add a test for .2.7

1.1.1

Add a test for 1e+

1.1.0

Add signCharacter for number, dimension and percentage tokens. This makes it possible to distinguish between +10 and 10 or -0 and 0.

This value can be either provided by a tokenizer or inferred from the first character of the raw value.

{
	"type": "number-token",
	"raw": "+10",
	"startIndex": 0,
	"endIndex": 3,
	"structured": {
		"signCharacter": "+",
		"value": 10,
		"type": "integer"
	}
}