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 |
|---|---|---|---|---|
| 001550 | html5lib/namedEntities/1143 html5lib-tests |
𝔚
|
5 B | |
| 001551 | html5lib/namedEntities/1144 html5lib-tests |
&Wopf
|
5 B | |
| 001552 | html5lib/namedEntities/1145 html5lib-tests |
𝕎
|
6 B | |
| 001553 | html5lib/namedEntities/1146 html5lib-tests |
&Wscr
|
5 B | |
| 001554 | html5lib/namedEntities/1147 html5lib-tests |
𝒲
|
6 B | |
| 001555 | html5lib/namedEntities/1148 html5lib-tests |
&Xfr
|
4 B | |
| 001556 | html5lib/namedEntities/1149 html5lib-tests |
𝔛
|
5 B | |
| 001557 | html5lib/namedEntities/1150 html5lib-tests |
&Xi
|
3 B | |
| 001558 | html5lib/namedEntities/1151 html5lib-tests |
Ξ
|
4 B | |
| 001559 | html5lib/namedEntities/1152 html5lib-tests |
&Xopf
|
5 B | |
| 001560 | html5lib/namedEntities/1153 html5lib-tests |
𝕏
|
6 B | |
| 001561 | html5lib/namedEntities/1154 html5lib-tests |
&Xscr
|
5 B | |
| 001562 | html5lib/namedEntities/1155 html5lib-tests |
𝒳
|
6 B | |
| 001563 | html5lib/namedEntities/1156 html5lib-tests |
&YAcy
|
5 B | |
| 001564 | html5lib/namedEntities/1157 html5lib-tests |
Я
|
6 B | |
| 001565 | html5lib/namedEntities/1158 html5lib-tests |
&YIcy
|
5 B | |
| 001566 | html5lib/namedEntities/1159 html5lib-tests |
Ї
|
6 B | |
| 001567 | html5lib/namedEntities/1160 html5lib-tests |
&YUcy
|
5 B | |
| 001568 | html5lib/namedEntities/1161 html5lib-tests |
Ю
|
6 B | |
| 001569 | html5lib/namedEntities/1162 html5lib-tests |
Ý
|
7 B | |
| 001570 | html5lib/namedEntities/1163 html5lib-tests |
Ý
|
8 B | |
| 001571 | html5lib/namedEntities/1164 html5lib-tests |
&Ycirc
|
6 B | |
| 001572 | html5lib/namedEntities/1165 html5lib-tests |
Ŷ
|
7 B | |
| 001573 | html5lib/namedEntities/1166 html5lib-tests |
&Ycy
|
4 B | |
| 001574 | html5lib/namedEntities/1167 html5lib-tests |
Ы
|
5 B | |
| 001575 | html5lib/namedEntities/1168 html5lib-tests |
&Yfr
|
4 B | |
| 001576 | html5lib/namedEntities/1169 html5lib-tests |
𝔜
|
5 B | |
| 001577 | html5lib/namedEntities/1170 html5lib-tests |
&Yopf
|
5 B | |
| 001578 | html5lib/namedEntities/1171 html5lib-tests |
𝕐
|
6 B | |
| 001579 | html5lib/namedEntities/1172 html5lib-tests |
&Yscr
|
5 B | |
| 001580 | html5lib/namedEntities/1173 html5lib-tests |
𝒴
|
6 B | |
| 001581 | html5lib/namedEntities/1174 html5lib-tests |
&Yuml
|
5 B | |
| 001582 | html5lib/namedEntities/1175 html5lib-tests |
Ÿ
|
6 B | |
| 001583 | html5lib/namedEntities/1176 html5lib-tests |
&ZHcy
|
5 B | |
| 001584 | html5lib/namedEntities/1177 html5lib-tests |
Ж
|
6 B | |
| 001585 | html5lib/namedEntities/1178 html5lib-tests |
&Zacute
|
7 B | |
| 001586 | html5lib/namedEntities/1179 html5lib-tests |
Ź
|
8 B | |
| 001587 | html5lib/namedEntities/1180 html5lib-tests |
&Zcaron
|
7 B | |
| 001588 | html5lib/namedEntities/1181 html5lib-tests |
Ž
|
8 B | |
| 001589 | html5lib/namedEntities/1182 html5lib-tests |
&Zcy
|
4 B | |
| 001590 | html5lib/namedEntities/1183 html5lib-tests |
З
|
5 B | |
| 001591 | html5lib/namedEntities/1184 html5lib-tests |
&Zdot
|
5 B | |
| 001592 | html5lib/namedEntities/1185 html5lib-tests |
Ż
|
6 B | |
| 001593 | html5lib/namedEntities/1186 html5lib-tests |
&ZeroWidthSpace
|
15 B | |
| 001594 | html5lib/namedEntities/1187 html5lib-tests |
⟨U+200B⟩
|
16 B | |
| 001595 | html5lib/namedEntities/1188 html5lib-tests |
&Zeta
|
5 B | |
| 001596 | html5lib/namedEntities/1189 html5lib-tests |
Ζ
|
6 B | |
| 001597 | html5lib/namedEntities/1190 html5lib-tests |
&Zfr
|
4 B | |
| 001598 | html5lib/namedEntities/1191 html5lib-tests |
ℨ
|
5 B | |
| 001599 | html5lib/namedEntities/1192 html5lib-tests |
&Zopf
|
5 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