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 |
|---|---|---|---|---|
| 000350 | html5lib/numericEntities/0279 html5lib-tests |
ì
|
8 B | |
| 000351 | html5lib/numericEntities/0280 html5lib-tests |
í
|
8 B | |
| 000352 | html5lib/numericEntities/0281 html5lib-tests |
î
|
8 B | |
| 000353 | html5lib/numericEntities/0282 html5lib-tests |
ï
|
8 B | |
| 000354 | html5lib/numericEntities/0283 html5lib-tests |
ð
|
8 B | |
| 000355 | html5lib/numericEntities/0284 html5lib-tests |
ñ
|
8 B | |
| 000356 | html5lib/numericEntities/0285 html5lib-tests |
ò
|
8 B | |
| 000357 | html5lib/numericEntities/0286 html5lib-tests |
ó
|
8 B | |
| 000358 | html5lib/numericEntities/0287 html5lib-tests |
ô
|
8 B | |
| 000359 | html5lib/numericEntities/0288 html5lib-tests |
õ
|
8 B | |
| 000360 | html5lib/numericEntities/0289 html5lib-tests |
ö
|
8 B | |
| 000361 | html5lib/numericEntities/0290 html5lib-tests |
÷
|
8 B | |
| 000362 | html5lib/numericEntities/0291 html5lib-tests |
ø
|
8 B | |
| 000363 | html5lib/numericEntities/0292 html5lib-tests |
ù
|
8 B | |
| 000364 | html5lib/numericEntities/0293 html5lib-tests |
ú
|
8 B | |
| 000365 | html5lib/numericEntities/0294 html5lib-tests |
û
|
8 B | |
| 000366 | html5lib/numericEntities/0295 html5lib-tests |
ü
|
8 B | |
| 000367 | html5lib/numericEntities/0296 html5lib-tests |
ý
|
8 B | |
| 000368 | html5lib/numericEntities/0297 html5lib-tests |
þ
|
8 B | |
| 000369 | html5lib/numericEntities/0298 html5lib-tests |
ÿ
|
8 B | |
| 000370 | html5lib/numericEntities/0299 html5lib-tests |
|
8 B | |
| 000371 | html5lib/numericEntities/0300 html5lib-tests |
|
8 B | |
| 000372 | html5lib/numericEntities/0301 html5lib-tests |
﷏
|
8 B | |
| 000373 | html5lib/numericEntities/0302 html5lib-tests |
ﷰ
|
8 B | |
| 000374 | html5lib/numericEntities/0303 html5lib-tests |
�
|
8 B | |
| 000375 | html5lib/numericEntities/0304 html5lib-tests |
𐀀
|
9 B | |
| 000376 | html5lib/numericEntities/0305 html5lib-tests |
|
9 B | |
| 000377 | html5lib/numericEntities/0306 html5lib-tests |
𠀀
|
9 B | |
| 000378 | html5lib/numericEntities/0307 html5lib-tests |
|
9 B | |
| 000379 | html5lib/numericEntities/0308 html5lib-tests |
𰀀
|
9 B | |
| 000380 | html5lib/numericEntities/0309 html5lib-tests |
|
9 B | |
| 000381 | html5lib/numericEntities/0310 html5lib-tests |
|
9 B | |
| 000382 | html5lib/numericEntities/0311 html5lib-tests |
|
9 B | |
| 000383 | html5lib/numericEntities/0312 html5lib-tests |
|
9 B | |
| 000384 | html5lib/numericEntities/0313 html5lib-tests |
|
9 B | |
| 000385 | html5lib/numericEntities/0314 html5lib-tests |
|
9 B | |
| 000386 | html5lib/numericEntities/0315 html5lib-tests |
|
9 B | |
| 000387 | html5lib/numericEntities/0316 html5lib-tests |
|
9 B | |
| 000388 | html5lib/numericEntities/0317 html5lib-tests |
|
9 B | |
| 000389 | html5lib/numericEntities/0318 html5lib-tests |
|
9 B | |
| 000390 | html5lib/numericEntities/0319 html5lib-tests |
|
9 B | |
| 000391 | html5lib/numericEntities/0320 html5lib-tests |
|
9 B | |
| 000392 | html5lib/numericEntities/0321 html5lib-tests |
|
9 B | |
| 000393 | html5lib/numericEntities/0322 html5lib-tests |
|
9 B | |
| 000394 | html5lib/numericEntities/0323 html5lib-tests |
|
9 B | |
| 000395 | html5lib/numericEntities/0324 html5lib-tests |
|
9 B | |
| 000396 | html5lib/numericEntities/0325 html5lib-tests |
|
9 B | |
| 000397 | html5lib/numericEntities/0326 html5lib-tests |
|
9 B | |
| 000398 | html5lib/numericEntities/0327 html5lib-tests |
|
9 B | |
| 000399 | html5lib/numericEntities/0328 html5lib-tests |
|
9 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