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 |
|---|---|---|---|---|
| 004350 | html5lib/namedEntities/3943 html5lib-tests |
↿
|
7 B | |
| 004351 | html5lib/namedEntities/3944 html5lib-tests |
&uharr
|
6 B | |
| 004352 | html5lib/namedEntities/3945 html5lib-tests |
↾
|
7 B | |
| 004353 | html5lib/namedEntities/3946 html5lib-tests |
&uhblk
|
6 B | |
| 004354 | html5lib/namedEntities/3947 html5lib-tests |
▀
|
7 B | |
| 004355 | html5lib/namedEntities/3948 html5lib-tests |
&ulcorn
|
7 B | |
| 004356 | html5lib/namedEntities/3949 html5lib-tests |
⌜
|
8 B | |
| 004357 | html5lib/namedEntities/3950 html5lib-tests |
&ulcorner
|
9 B | |
| 004358 | html5lib/namedEntities/3951 html5lib-tests |
⌜
|
10 B | |
| 004359 | html5lib/namedEntities/3952 html5lib-tests |
&ulcrop
|
7 B | |
| 004360 | html5lib/namedEntities/3953 html5lib-tests |
⌏
|
8 B | |
| 004361 | html5lib/namedEntities/3954 html5lib-tests |
&ultri
|
6 B | |
| 004362 | html5lib/namedEntities/3955 html5lib-tests |
◸
|
7 B | |
| 004363 | html5lib/namedEntities/3956 html5lib-tests |
&umacr
|
6 B | |
| 004364 | html5lib/namedEntities/3957 html5lib-tests |
ū
|
7 B | |
| 004365 | html5lib/namedEntities/3958 html5lib-tests |
¨
|
4 B | |
| 004366 | html5lib/namedEntities/3959 html5lib-tests |
¨
|
5 B | |
| 004367 | html5lib/namedEntities/3960 html5lib-tests |
&uogon
|
6 B | |
| 004368 | html5lib/namedEntities/3961 html5lib-tests |
ų
|
7 B | |
| 004369 | html5lib/namedEntities/3962 html5lib-tests |
&uopf
|
5 B | |
| 004370 | html5lib/namedEntities/3963 html5lib-tests |
𝕦
|
6 B | |
| 004371 | html5lib/namedEntities/3964 html5lib-tests |
&uparrow
|
8 B | |
| 004372 | html5lib/namedEntities/3965 html5lib-tests |
↑
|
9 B | |
| 004373 | html5lib/namedEntities/3966 html5lib-tests |
&updownarrow
|
12 B | |
| 004374 | html5lib/namedEntities/3967 html5lib-tests |
↕
|
13 B | |
| 004375 | html5lib/namedEntities/3968 html5lib-tests |
&upharpoonleft
|
14 B | |
| 004376 | html5lib/namedEntities/3969 html5lib-tests |
↿
|
15 B | |
| 004377 | html5lib/namedEntities/3970 html5lib-tests |
&upharpoonright
|
15 B | |
| 004378 | html5lib/namedEntities/3971 html5lib-tests |
↾
|
16 B | |
| 004379 | html5lib/namedEntities/3972 html5lib-tests |
&uplus
|
6 B | |
| 004380 | html5lib/namedEntities/3973 html5lib-tests |
⊎
|
7 B | |
| 004381 | html5lib/namedEntities/3974 html5lib-tests |
&upsi
|
5 B | |
| 004382 | html5lib/namedEntities/3975 html5lib-tests |
υ
|
6 B | |
| 004383 | html5lib/namedEntities/3976 html5lib-tests |
&upsih
|
6 B | |
| 004384 | html5lib/namedEntities/3977 html5lib-tests |
ϒ
|
7 B | |
| 004385 | html5lib/namedEntities/3978 html5lib-tests |
&upsilon
|
8 B | |
| 004386 | html5lib/namedEntities/3979 html5lib-tests |
υ
|
9 B | |
| 004387 | html5lib/namedEntities/3980 html5lib-tests |
&upuparrows
|
11 B | |
| 004388 | html5lib/namedEntities/3981 html5lib-tests |
⇈
|
12 B | |
| 004389 | html5lib/namedEntities/3982 html5lib-tests |
&urcorn
|
7 B | |
| 004390 | html5lib/namedEntities/3983 html5lib-tests |
⌝
|
8 B | |
| 004391 | html5lib/namedEntities/3984 html5lib-tests |
&urcorner
|
9 B | |
| 004392 | html5lib/namedEntities/3985 html5lib-tests |
⌝
|
10 B | |
| 004393 | html5lib/namedEntities/3986 html5lib-tests |
&urcrop
|
7 B | |
| 004394 | html5lib/namedEntities/3987 html5lib-tests |
⌎
|
8 B | |
| 004395 | html5lib/namedEntities/3988 html5lib-tests |
&uring
|
6 B | |
| 004396 | html5lib/namedEntities/3989 html5lib-tests |
ů
|
7 B | |
| 004397 | html5lib/namedEntities/3990 html5lib-tests |
&urtri
|
6 B | |
| 004398 | html5lib/namedEntities/3991 html5lib-tests |
◹
|
7 B | |
| 004399 | html5lib/namedEntities/3992 html5lib-tests |
&uscr
|
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