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
5,931 of 6,835 cases
| Case | Name | Expected | Note | Size |
|---|---|---|---|---|
| 001104 | html5lib/namedEntities/0697 html5lib-tests |
⊂⃒
|
11 B | |
| 001105 | html5lib/namedEntities/0698 html5lib-tests |
&NotSubsetEqual
|
15 B | |
| 001106 | html5lib/namedEntities/0699 html5lib-tests |
⊈
|
16 B | |
| 001107 | html5lib/namedEntities/0700 html5lib-tests |
&NotSucceeds
|
12 B | |
| 001108 | html5lib/namedEntities/0701 html5lib-tests |
⊁
|
13 B | |
| 001109 | html5lib/namedEntities/0702 html5lib-tests |
&NotSucceedsEqual
|
17 B | |
| 001110 | html5lib/namedEntities/0703 html5lib-tests |
⪰̸
|
18 B | |
| 001111 | html5lib/namedEntities/0704 html5lib-tests |
&NotSucceedsSlantEqual
|
22 B | |
| 001112 | html5lib/namedEntities/0705 html5lib-tests |
⋡
|
23 B | |
| 001113 | html5lib/namedEntities/0706 html5lib-tests |
&NotSucceedsTilde
|
17 B | |
| 001114 | html5lib/namedEntities/0707 html5lib-tests |
≿̸
|
18 B | |
| 001115 | html5lib/namedEntities/0708 html5lib-tests |
&NotSuperset
|
12 B | |
| 001116 | html5lib/namedEntities/0709 html5lib-tests |
⊃⃒
|
13 B | |
| 001117 | html5lib/namedEntities/0710 html5lib-tests |
&NotSupersetEqual
|
17 B | |
| 001118 | html5lib/namedEntities/0711 html5lib-tests |
⊉
|
18 B | |
| 001119 | html5lib/namedEntities/0712 html5lib-tests |
&NotTilde
|
9 B | |
| 001120 | html5lib/namedEntities/0713 html5lib-tests |
≁
|
10 B | |
| 001121 | html5lib/namedEntities/0714 html5lib-tests |
&NotTildeEqual
|
14 B | |
| 001122 | html5lib/namedEntities/0715 html5lib-tests |
≄
|
15 B | |
| 001123 | html5lib/namedEntities/0716 html5lib-tests |
&NotTildeFullEqual
|
18 B | |
| 001124 | html5lib/namedEntities/0717 html5lib-tests |
≇
|
19 B | |
| 001125 | html5lib/namedEntities/0718 html5lib-tests |
&NotTildeTilde
|
14 B | |
| 001126 | html5lib/namedEntities/0719 html5lib-tests |
≉
|
15 B | |
| 001127 | html5lib/namedEntities/0720 html5lib-tests |
&NotVerticalBar
|
15 B | |
| 001128 | html5lib/namedEntities/0721 html5lib-tests |
∤
|
16 B | |
| 001129 | html5lib/namedEntities/0722 html5lib-tests |
&Nscr
|
5 B | |
| 001130 | html5lib/namedEntities/0723 html5lib-tests |
𝒩
|
6 B | |
| 001131 | html5lib/namedEntities/0724 html5lib-tests |
Ñ
|
7 B | |
| 001132 | html5lib/namedEntities/0725 html5lib-tests |
Ñ
|
8 B | |
| 001133 | html5lib/namedEntities/0726 html5lib-tests |
&Nu
|
3 B | |
| 001134 | html5lib/namedEntities/0727 html5lib-tests |
Ν
|
4 B | |
| 001135 | html5lib/namedEntities/0728 html5lib-tests |
&OElig
|
6 B | |
| 001136 | html5lib/namedEntities/0729 html5lib-tests |
Œ
|
7 B | |
| 001137 | html5lib/namedEntities/0730 html5lib-tests |
Ó
|
7 B | |
| 001138 | html5lib/namedEntities/0731 html5lib-tests |
Ó
|
8 B | |
| 001139 | html5lib/namedEntities/0732 html5lib-tests |
Ô
|
6 B | |
| 001140 | html5lib/namedEntities/0733 html5lib-tests |
Ô
|
7 B | |
| 001141 | html5lib/namedEntities/0734 html5lib-tests |
&Ocy
|
4 B | |
| 001142 | html5lib/namedEntities/0735 html5lib-tests |
О
|
5 B | |
| 001143 | html5lib/namedEntities/0736 html5lib-tests |
&Odblac
|
7 B | |
| 001144 | html5lib/namedEntities/0737 html5lib-tests |
Ő
|
8 B | |
| 001145 | html5lib/namedEntities/0738 html5lib-tests |
&Ofr
|
4 B | |
| 001146 | html5lib/namedEntities/0739 html5lib-tests |
𝔒
|
5 B | |
| 001147 | html5lib/namedEntities/0740 html5lib-tests |
Ò
|
7 B | |
| 001148 | html5lib/namedEntities/0741 html5lib-tests |
Ò
|
8 B | |
| 001149 | html5lib/namedEntities/0742 html5lib-tests |
&Omacr
|
6 B | |
| 001150 | html5lib/namedEntities/0743 html5lib-tests |
Ō
|
7 B | |
| 001151 | html5lib/namedEntities/0744 html5lib-tests |
&Omega
|
6 B | |
| 001152 | html5lib/namedEntities/0745 html5lib-tests |
Ω
|
7 B | |
| 001153 | html5lib/namedEntities/0746 html5lib-tests |
&Omicron
|
8 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