Compliance cases
These are the 6,835 inputs a submission must decode. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.
Run the full compliance suite locally. Replace your-component.wasm
with your compiled component.
Download the suite
curl -fLo unescape_html.comply.wasm https://calculated.world/comply/unescape_html.wasm
qipx comply your-component.wasm --with unescape_html.comply.wasm
All 6,835 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001050 | html5lib/namedEntities/0643 html5lib-tests |
≹
|
16 B | |
| 001051 | html5lib/namedEntities/0644 html5lib-tests |
&NotGreaterSlantEqual
|
21 B | |
| 001052 | html5lib/namedEntities/0645 html5lib-tests |
⩾̸
|
22 B | |
| 001053 | html5lib/namedEntities/0646 html5lib-tests |
&NotGreaterTilde
|
16 B | |
| 001054 | html5lib/namedEntities/0647 html5lib-tests |
≵
|
17 B | |
| 001055 | html5lib/namedEntities/0648 html5lib-tests |
&NotHumpDownHump
|
16 B | |
| 001056 | html5lib/namedEntities/0649 html5lib-tests |
≎̸
|
17 B | |
| 001057 | html5lib/namedEntities/0650 html5lib-tests |
&NotHumpEqual
|
13 B | |
| 001058 | html5lib/namedEntities/0651 html5lib-tests |
≏̸
|
14 B | |
| 001059 | html5lib/namedEntities/0652 html5lib-tests |
&NotLeftTriangle
|
16 B | |
| 001060 | html5lib/namedEntities/0653 html5lib-tests |
⋪
|
17 B | |
| 001061 | html5lib/namedEntities/0654 html5lib-tests |
&NotLeftTriangleBar
|
19 B | |
| 001062 | html5lib/namedEntities/0655 html5lib-tests |
⧏̸
|
20 B | |
| 001063 | html5lib/namedEntities/0656 html5lib-tests |
&NotLeftTriangleEqual
|
21 B | |
| 001064 | html5lib/namedEntities/0657 html5lib-tests |
⋬
|
22 B | |
| 001065 | html5lib/namedEntities/0658 html5lib-tests |
&NotLess
|
8 B | |
| 001066 | html5lib/namedEntities/0659 html5lib-tests |
≮
|
9 B | |
| 001067 | html5lib/namedEntities/0660 html5lib-tests |
&NotLessEqual
|
13 B | |
| 001068 | html5lib/namedEntities/0661 html5lib-tests |
≰
|
14 B | |
| 001069 | html5lib/namedEntities/0662 html5lib-tests |
&NotLessGreater
|
15 B | |
| 001070 | html5lib/namedEntities/0663 html5lib-tests |
≸
|
16 B | |
| 001071 | html5lib/namedEntities/0664 html5lib-tests |
&NotLessLess
|
12 B | |
| 001072 | html5lib/namedEntities/0665 html5lib-tests |
≪̸
|
13 B | |
| 001073 | html5lib/namedEntities/0666 html5lib-tests |
&NotLessSlantEqual
|
18 B | |
| 001074 | html5lib/namedEntities/0667 html5lib-tests |
⩽̸
|
19 B | |
| 001075 | html5lib/namedEntities/0668 html5lib-tests |
&NotLessTilde
|
13 B | |
| 001076 | html5lib/namedEntities/0669 html5lib-tests |
≴
|
14 B | |
| 001077 | html5lib/namedEntities/0670 html5lib-tests |
&NotNestedGreaterGreater
|
24 B | |
| 001078 | html5lib/namedEntities/0671 html5lib-tests |
⪢̸
|
25 B | |
| 001079 | html5lib/namedEntities/0672 html5lib-tests |
&NotNestedLessLess
|
18 B | |
| 001080 | html5lib/namedEntities/0673 html5lib-tests |
⪡̸
|
19 B | |
| 001081 | html5lib/namedEntities/0674 html5lib-tests |
&NotPrecedes
|
12 B | |
| 001082 | html5lib/namedEntities/0675 html5lib-tests |
⊀
|
13 B | |
| 001083 | html5lib/namedEntities/0676 html5lib-tests |
&NotPrecedesEqual
|
17 B | |
| 001084 | html5lib/namedEntities/0677 html5lib-tests |
⪯̸
|
18 B | |
| 001085 | html5lib/namedEntities/0678 html5lib-tests |
&NotPrecedesSlantEqual
|
22 B | |
| 001086 | html5lib/namedEntities/0679 html5lib-tests |
⋠
|
23 B | |
| 001087 | html5lib/namedEntities/0680 html5lib-tests |
&NotReverseElement
|
18 B | |
| 001088 | html5lib/namedEntities/0681 html5lib-tests |
∌
|
19 B | |
| 001089 | html5lib/namedEntities/0682 html5lib-tests |
&NotRightTriangle
|
17 B | |
| 001090 | html5lib/namedEntities/0683 html5lib-tests |
⋫
|
18 B | |
| 001091 | html5lib/namedEntities/0684 html5lib-tests |
&NotRightTriangleBar
|
20 B | |
| 001092 | html5lib/namedEntities/0685 html5lib-tests |
⧐̸
|
21 B | |
| 001093 | html5lib/namedEntities/0686 html5lib-tests |
&NotRightTriangleEqual
|
22 B | |
| 001094 | html5lib/namedEntities/0687 html5lib-tests |
⋭
|
23 B | |
| 001095 | html5lib/namedEntities/0688 html5lib-tests |
&NotSquareSubset
|
16 B | |
| 001096 | html5lib/namedEntities/0689 html5lib-tests |
⊏̸
|
17 B | |
| 001097 | html5lib/namedEntities/0690 html5lib-tests |
&NotSquareSubsetEqual
|
21 B | |
| 001098 | html5lib/namedEntities/0691 html5lib-tests |
⋢
|
22 B | |
| 001099 | html5lib/namedEntities/0692 html5lib-tests |
&NotSquareSuperset
|
18 B |
Where these rules come from
Expected outputs come from Python’s html.unescape, changed to keep references to controls and noncharacters the way the WHATWG tokenizer does.
- Named character references — the table of 2,231 names, including the legacy ones that work without a semicolon
- Numeric character reference end state — the Windows-1252 remapping and the rules for 0, surrogates and out-of-range numbers
- html5lib-tests tokenizer tests — the source of the 4,617 html5lib cases