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 |
|---|---|---|---|---|
| 003354 | html5lib/namedEntities/2947 html5lib-tests |
∦
|
7 B | |
| 003355 | html5lib/namedEntities/2948 html5lib-tests |
&nsqsube
|
8 B | |
| 003356 | html5lib/namedEntities/2949 html5lib-tests |
⋢
|
9 B | |
| 003357 | html5lib/namedEntities/2950 html5lib-tests |
&nsqsupe
|
8 B | |
| 003358 | html5lib/namedEntities/2951 html5lib-tests |
⋣
|
9 B | |
| 003359 | html5lib/namedEntities/2952 html5lib-tests |
&nsub
|
5 B | |
| 003360 | html5lib/namedEntities/2953 html5lib-tests |
⊄
|
6 B | |
| 003361 | html5lib/namedEntities/2954 html5lib-tests |
&nsubE
|
6 B | |
| 003362 | html5lib/namedEntities/2955 html5lib-tests |
⫅̸
|
7 B | |
| 003363 | html5lib/namedEntities/2956 html5lib-tests |
&nsube
|
6 B | |
| 003364 | html5lib/namedEntities/2957 html5lib-tests |
⊈
|
7 B | |
| 003365 | html5lib/namedEntities/2958 html5lib-tests |
&nsubset
|
8 B | |
| 003366 | html5lib/namedEntities/2959 html5lib-tests |
⊂⃒
|
9 B | |
| 003367 | html5lib/namedEntities/2960 html5lib-tests |
&nsubseteq
|
10 B | |
| 003368 | html5lib/namedEntities/2961 html5lib-tests |
⊈
|
11 B | |
| 003369 | html5lib/namedEntities/2962 html5lib-tests |
&nsubseteqq
|
11 B | |
| 003370 | html5lib/namedEntities/2963 html5lib-tests |
⫅̸
|
12 B | |
| 003371 | html5lib/namedEntities/2964 html5lib-tests |
&nsucc
|
6 B | |
| 003372 | html5lib/namedEntities/2965 html5lib-tests |
⊁
|
7 B | |
| 003373 | html5lib/namedEntities/2966 html5lib-tests |
&nsucceq
|
8 B | |
| 003374 | html5lib/namedEntities/2967 html5lib-tests |
⪰̸
|
9 B | |
| 003375 | html5lib/namedEntities/2968 html5lib-tests |
&nsup
|
5 B | |
| 003376 | html5lib/namedEntities/2969 html5lib-tests |
⊅
|
6 B | |
| 003377 | html5lib/namedEntities/2970 html5lib-tests |
&nsupE
|
6 B | |
| 003378 | html5lib/namedEntities/2971 html5lib-tests |
⫆̸
|
7 B | |
| 003379 | html5lib/namedEntities/2972 html5lib-tests |
&nsupe
|
6 B | |
| 003380 | html5lib/namedEntities/2973 html5lib-tests |
⊉
|
7 B | |
| 003381 | html5lib/namedEntities/2974 html5lib-tests |
&nsupset
|
8 B | |
| 003382 | html5lib/namedEntities/2975 html5lib-tests |
⊃⃒
|
9 B | |
| 003383 | html5lib/namedEntities/2976 html5lib-tests |
&nsupseteq
|
10 B | |
| 003384 | html5lib/namedEntities/2977 html5lib-tests |
⊉
|
11 B | |
| 003385 | html5lib/namedEntities/2978 html5lib-tests |
&nsupseteqq
|
11 B | |
| 003386 | html5lib/namedEntities/2979 html5lib-tests |
⫆̸
|
12 B | |
| 003387 | html5lib/namedEntities/2980 html5lib-tests |
&ntgl
|
5 B | |
| 003388 | html5lib/namedEntities/2981 html5lib-tests |
≹
|
6 B | |
| 003389 | html5lib/namedEntities/2982 html5lib-tests |
ñ
|
7 B | |
| 003390 | html5lib/namedEntities/2983 html5lib-tests |
ñ
|
8 B | |
| 003391 | html5lib/namedEntities/2984 html5lib-tests |
&ntlg
|
5 B | |
| 003392 | html5lib/namedEntities/2985 html5lib-tests |
≸
|
6 B | |
| 003393 | html5lib/namedEntities/2986 html5lib-tests |
&ntriangleleft
|
14 B | |
| 003394 | html5lib/namedEntities/2987 html5lib-tests |
⋪
|
15 B | |
| 003395 | html5lib/namedEntities/2988 html5lib-tests |
&ntrianglelefteq
|
16 B | |
| 003396 | html5lib/namedEntities/2989 html5lib-tests |
⋬
|
17 B | |
| 003397 | html5lib/namedEntities/2990 html5lib-tests |
&ntriangleright
|
15 B | |
| 003398 | html5lib/namedEntities/2991 html5lib-tests |
⋫
|
16 B | |
| 003399 | html5lib/namedEntities/2992 html5lib-tests |
&ntrianglerighteq
|
17 B | |
| 003400 | html5lib/namedEntities/2993 html5lib-tests |
⋭
|
18 B | |
| 003401 | html5lib/namedEntities/2994 html5lib-tests |
&nu
|
3 B | |
| 003402 | html5lib/namedEntities/2995 html5lib-tests |
ν
|
4 B | |
| 003403 | html5lib/namedEntities/2996 html5lib-tests |
&num
|
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