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 |
|---|---|---|---|---|
| 001500 | html5lib/namedEntities/1093 html5lib-tests |
ϒ
|
6 B | |
| 001501 | html5lib/namedEntities/1094 html5lib-tests |
&Upsilon
|
8 B | |
| 001502 | html5lib/namedEntities/1095 html5lib-tests |
Υ
|
9 B | |
| 001503 | html5lib/namedEntities/1096 html5lib-tests |
&Uring
|
6 B | |
| 001504 | html5lib/namedEntities/1097 html5lib-tests |
Ů
|
7 B | |
| 001505 | html5lib/namedEntities/1098 html5lib-tests |
&Uscr
|
5 B | |
| 001506 | html5lib/namedEntities/1099 html5lib-tests |
𝒰
|
6 B | |
| 001507 | html5lib/namedEntities/1100 html5lib-tests |
&Utilde
|
7 B | |
| 001508 | html5lib/namedEntities/1101 html5lib-tests |
Ũ
|
8 B | |
| 001509 | html5lib/namedEntities/1102 html5lib-tests |
Ü
|
5 B | |
| 001510 | html5lib/namedEntities/1103 html5lib-tests |
Ü
|
6 B | |
| 001511 | html5lib/namedEntities/1104 html5lib-tests |
&VDash
|
6 B | |
| 001512 | html5lib/namedEntities/1105 html5lib-tests |
⊫
|
7 B | |
| 001513 | html5lib/namedEntities/1106 html5lib-tests |
&Vbar
|
5 B | |
| 001514 | html5lib/namedEntities/1107 html5lib-tests |
⫫
|
6 B | |
| 001515 | html5lib/namedEntities/1108 html5lib-tests |
&Vcy
|
4 B | |
| 001516 | html5lib/namedEntities/1109 html5lib-tests |
В
|
5 B | |
| 001517 | html5lib/namedEntities/1110 html5lib-tests |
&Vdash
|
6 B | |
| 001518 | html5lib/namedEntities/1111 html5lib-tests |
⊩
|
7 B | |
| 001519 | html5lib/namedEntities/1112 html5lib-tests |
&Vdashl
|
7 B | |
| 001520 | html5lib/namedEntities/1113 html5lib-tests |
⫦
|
8 B | |
| 001521 | html5lib/namedEntities/1114 html5lib-tests |
&Vee
|
4 B | |
| 001522 | html5lib/namedEntities/1115 html5lib-tests |
⋁
|
5 B | |
| 001523 | html5lib/namedEntities/1116 html5lib-tests |
&Verbar
|
7 B | |
| 001524 | html5lib/namedEntities/1117 html5lib-tests |
‖
|
8 B | |
| 001525 | html5lib/namedEntities/1118 html5lib-tests |
&Vert
|
5 B | |
| 001526 | html5lib/namedEntities/1119 html5lib-tests |
‖
|
6 B | |
| 001527 | html5lib/namedEntities/1120 html5lib-tests |
&VerticalBar
|
12 B | |
| 001528 | html5lib/namedEntities/1121 html5lib-tests |
∣
|
13 B | |
| 001529 | html5lib/namedEntities/1122 html5lib-tests |
&VerticalLine
|
13 B | |
| 001530 | html5lib/namedEntities/1123 html5lib-tests |
|
|
14 B | |
| 001531 | html5lib/namedEntities/1124 html5lib-tests |
&VerticalSeparator
|
18 B | |
| 001532 | html5lib/namedEntities/1125 html5lib-tests |
❘
|
19 B | |
| 001533 | html5lib/namedEntities/1126 html5lib-tests |
&VerticalTilde
|
14 B | |
| 001534 | html5lib/namedEntities/1127 html5lib-tests |
≀
|
15 B | |
| 001535 | html5lib/namedEntities/1128 html5lib-tests |
&VeryThinSpace
|
14 B | |
| 001536 | html5lib/namedEntities/1129 html5lib-tests |
|
15 B | |
| 001537 | html5lib/namedEntities/1130 html5lib-tests |
&Vfr
|
4 B | |
| 001538 | html5lib/namedEntities/1131 html5lib-tests |
𝔙
|
5 B | |
| 001539 | html5lib/namedEntities/1132 html5lib-tests |
&Vopf
|
5 B | |
| 001540 | html5lib/namedEntities/1133 html5lib-tests |
𝕍
|
6 B | |
| 001541 | html5lib/namedEntities/1134 html5lib-tests |
&Vscr
|
5 B | |
| 001542 | html5lib/namedEntities/1135 html5lib-tests |
𝒱
|
6 B | |
| 001543 | html5lib/namedEntities/1136 html5lib-tests |
&Vvdash
|
7 B | |
| 001544 | html5lib/namedEntities/1137 html5lib-tests |
⊪
|
8 B | |
| 001545 | html5lib/namedEntities/1138 html5lib-tests |
&Wcirc
|
6 B | |
| 001546 | html5lib/namedEntities/1139 html5lib-tests |
Ŵ
|
7 B | |
| 001547 | html5lib/namedEntities/1140 html5lib-tests |
&Wedge
|
6 B | |
| 001548 | html5lib/namedEntities/1141 html5lib-tests |
⋀
|
7 B | |
| 001549 | html5lib/namedEntities/1142 html5lib-tests |
&Wfr
|
4 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