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 |
|---|---|---|---|---|
| 000900 | html5lib/namedEntities/0493 html5lib-tests |
⥎
|
17 B | |
| 000901 | html5lib/namedEntities/0494 html5lib-tests |
&LeftTee
|
8 B | |
| 000902 | html5lib/namedEntities/0495 html5lib-tests |
⊣
|
9 B | |
| 000903 | html5lib/namedEntities/0496 html5lib-tests |
&LeftTeeArrow
|
13 B | |
| 000904 | html5lib/namedEntities/0497 html5lib-tests |
↤
|
14 B | |
| 000905 | html5lib/namedEntities/0498 html5lib-tests |
&LeftTeeVector
|
14 B | |
| 000906 | html5lib/namedEntities/0499 html5lib-tests |
⥚
|
15 B | |
| 000907 | html5lib/namedEntities/0500 html5lib-tests |
&LeftTriangle
|
13 B | |
| 000908 | html5lib/namedEntities/0501 html5lib-tests |
⊲
|
14 B | |
| 000909 | html5lib/namedEntities/0502 html5lib-tests |
&LeftTriangleBar
|
16 B | |
| 000910 | html5lib/namedEntities/0503 html5lib-tests |
⧏
|
17 B | |
| 000911 | html5lib/namedEntities/0504 html5lib-tests |
&LeftTriangleEqual
|
18 B | |
| 000912 | html5lib/namedEntities/0505 html5lib-tests |
⊴
|
19 B | |
| 000913 | html5lib/namedEntities/0506 html5lib-tests |
&LeftUpDownVector
|
17 B | |
| 000914 | html5lib/namedEntities/0507 html5lib-tests |
⥑
|
18 B | |
| 000915 | html5lib/namedEntities/0508 html5lib-tests |
&LeftUpTeeVector
|
16 B | |
| 000916 | html5lib/namedEntities/0509 html5lib-tests |
⥠
|
17 B | |
| 000917 | html5lib/namedEntities/0510 html5lib-tests |
&LeftUpVector
|
13 B | |
| 000918 | html5lib/namedEntities/0511 html5lib-tests |
↿
|
14 B | |
| 000919 | html5lib/namedEntities/0512 html5lib-tests |
&LeftUpVectorBar
|
16 B | |
| 000920 | html5lib/namedEntities/0513 html5lib-tests |
⥘
|
17 B | |
| 000921 | html5lib/namedEntities/0514 html5lib-tests |
&LeftVector
|
11 B | |
| 000922 | html5lib/namedEntities/0515 html5lib-tests |
↼
|
12 B | |
| 000923 | html5lib/namedEntities/0516 html5lib-tests |
&LeftVectorBar
|
14 B | |
| 000924 | html5lib/namedEntities/0517 html5lib-tests |
⥒
|
15 B | |
| 000925 | html5lib/namedEntities/0518 html5lib-tests |
&Leftarrow
|
10 B | |
| 000926 | html5lib/namedEntities/0519 html5lib-tests |
⇐
|
11 B | |
| 000927 | html5lib/namedEntities/0520 html5lib-tests |
&Leftrightarrow
|
15 B | |
| 000928 | html5lib/namedEntities/0521 html5lib-tests |
⇔
|
16 B | |
| 000929 | html5lib/namedEntities/0522 html5lib-tests |
&LessEqualGreater
|
17 B | |
| 000930 | html5lib/namedEntities/0523 html5lib-tests |
⋚
|
18 B | |
| 000931 | html5lib/namedEntities/0524 html5lib-tests |
&LessFullEqual
|
14 B | |
| 000932 | html5lib/namedEntities/0525 html5lib-tests |
≦
|
15 B | |
| 000933 | html5lib/namedEntities/0526 html5lib-tests |
&LessGreater
|
12 B | |
| 000934 | html5lib/namedEntities/0527 html5lib-tests |
≶
|
13 B | |
| 000935 | html5lib/namedEntities/0528 html5lib-tests |
&LessLess
|
9 B | |
| 000936 | html5lib/namedEntities/0529 html5lib-tests |
⪡
|
10 B | |
| 000937 | html5lib/namedEntities/0530 html5lib-tests |
&LessSlantEqual
|
15 B | |
| 000938 | html5lib/namedEntities/0531 html5lib-tests |
⩽
|
16 B | |
| 000939 | html5lib/namedEntities/0532 html5lib-tests |
&LessTilde
|
10 B | |
| 000940 | html5lib/namedEntities/0533 html5lib-tests |
≲
|
11 B | |
| 000941 | html5lib/namedEntities/0534 html5lib-tests |
&Lfr
|
4 B | |
| 000942 | html5lib/namedEntities/0535 html5lib-tests |
𝔏
|
5 B | |
| 000943 | html5lib/namedEntities/0536 html5lib-tests |
&Ll
|
3 B | |
| 000944 | html5lib/namedEntities/0537 html5lib-tests |
⋘
|
4 B | |
| 000945 | html5lib/namedEntities/0538 html5lib-tests |
&Lleftarrow
|
11 B | |
| 000946 | html5lib/namedEntities/0539 html5lib-tests |
⇚
|
12 B | |
| 000947 | html5lib/namedEntities/0540 html5lib-tests |
&Lmidot
|
7 B | |
| 000948 | html5lib/namedEntities/0541 html5lib-tests |
Ŀ
|
8 B | |
| 000949 | html5lib/namedEntities/0542 html5lib-tests |
&LongLeftArrow
|
14 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