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 |
|---|---|---|---|---|
| 001454 | html5lib/namedEntities/1047 html5lib-tests |
Ű
|
8 B | |
| 001455 | html5lib/namedEntities/1048 html5lib-tests |
&Ufr
|
4 B | |
| 001456 | html5lib/namedEntities/1049 html5lib-tests |
𝔘
|
5 B | |
| 001457 | html5lib/namedEntities/1050 html5lib-tests |
Ù
|
7 B | |
| 001458 | html5lib/namedEntities/1051 html5lib-tests |
Ù
|
8 B | |
| 001459 | html5lib/namedEntities/1052 html5lib-tests |
&Umacr
|
6 B | |
| 001460 | html5lib/namedEntities/1053 html5lib-tests |
Ū
|
7 B | |
| 001461 | html5lib/namedEntities/1054 html5lib-tests |
&UnderBar
|
9 B | |
| 001462 | html5lib/namedEntities/1055 html5lib-tests |
_
|
10 B | |
| 001463 | html5lib/namedEntities/1056 html5lib-tests |
&UnderBrace
|
11 B | |
| 001464 | html5lib/namedEntities/1057 html5lib-tests |
⏟
|
12 B | |
| 001465 | html5lib/namedEntities/1058 html5lib-tests |
&UnderBracket
|
13 B | |
| 001466 | html5lib/namedEntities/1059 html5lib-tests |
⎵
|
14 B | |
| 001467 | html5lib/namedEntities/1060 html5lib-tests |
&UnderParenthesis
|
17 B | |
| 001468 | html5lib/namedEntities/1061 html5lib-tests |
⏝
|
18 B | |
| 001469 | html5lib/namedEntities/1062 html5lib-tests |
&Union
|
6 B | |
| 001470 | html5lib/namedEntities/1063 html5lib-tests |
⋃
|
7 B | |
| 001471 | html5lib/namedEntities/1064 html5lib-tests |
&UnionPlus
|
10 B | |
| 001472 | html5lib/namedEntities/1065 html5lib-tests |
⊎
|
11 B | |
| 001473 | html5lib/namedEntities/1066 html5lib-tests |
&Uogon
|
6 B | |
| 001474 | html5lib/namedEntities/1067 html5lib-tests |
Ų
|
7 B | |
| 001475 | html5lib/namedEntities/1068 html5lib-tests |
&Uopf
|
5 B | |
| 001476 | html5lib/namedEntities/1069 html5lib-tests |
𝕌
|
6 B | |
| 001477 | html5lib/namedEntities/1070 html5lib-tests |
&UpArrow
|
8 B | |
| 001478 | html5lib/namedEntities/1071 html5lib-tests |
↑
|
9 B | |
| 001479 | html5lib/namedEntities/1072 html5lib-tests |
&UpArrowBar
|
11 B | |
| 001480 | html5lib/namedEntities/1073 html5lib-tests |
⤒
|
12 B | |
| 001481 | html5lib/namedEntities/1074 html5lib-tests |
&UpArrowDownArrow
|
17 B | |
| 001482 | html5lib/namedEntities/1075 html5lib-tests |
⇅
|
18 B | |
| 001483 | html5lib/namedEntities/1076 html5lib-tests |
&UpDownArrow
|
12 B | |
| 001484 | html5lib/namedEntities/1077 html5lib-tests |
↕
|
13 B | |
| 001485 | html5lib/namedEntities/1078 html5lib-tests |
&UpEquilibrium
|
14 B | |
| 001486 | html5lib/namedEntities/1079 html5lib-tests |
⥮
|
15 B | |
| 001487 | html5lib/namedEntities/1080 html5lib-tests |
&UpTee
|
6 B | |
| 001488 | html5lib/namedEntities/1081 html5lib-tests |
⊥
|
7 B | |
| 001489 | html5lib/namedEntities/1082 html5lib-tests |
&UpTeeArrow
|
11 B | |
| 001490 | html5lib/namedEntities/1083 html5lib-tests |
↥
|
12 B | |
| 001491 | html5lib/namedEntities/1084 html5lib-tests |
&Uparrow
|
8 B | |
| 001492 | html5lib/namedEntities/1085 html5lib-tests |
⇑
|
9 B | |
| 001493 | html5lib/namedEntities/1086 html5lib-tests |
&Updownarrow
|
12 B | |
| 001494 | html5lib/namedEntities/1087 html5lib-tests |
⇕
|
13 B | |
| 001495 | html5lib/namedEntities/1088 html5lib-tests |
&UpperLeftArrow
|
15 B | |
| 001496 | html5lib/namedEntities/1089 html5lib-tests |
↖
|
16 B | |
| 001497 | html5lib/namedEntities/1090 html5lib-tests |
&UpperRightArrow
|
16 B | |
| 001498 | html5lib/namedEntities/1091 html5lib-tests |
↗
|
17 B | |
| 001499 | html5lib/namedEntities/1092 html5lib-tests |
&Upsi
|
5 B | |
| 001500 | html5lib/namedEntities/1093 html5lib-tests |
ϒ
|
6 B | |
| 001501 | html5lib/namedEntities/1094 html5lib-tests |
&Upsilon
|
8 B | |
| 001502 | html5lib/namedEntities/1095 html5lib-tests |
Υ
|
9 B | |
| 001503 | html5lib/namedEntities/1096 html5lib-tests |
&Uring
|
6 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