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 |
|---|---|---|---|---|
| 001254 | html5lib/namedEntities/0847 html5lib-tests |
ℜ
|
5 B | |
| 001255 | html5lib/namedEntities/0848 html5lib-tests |
&Rho
|
4 B | |
| 001256 | html5lib/namedEntities/0849 html5lib-tests |
Ρ
|
5 B | |
| 001257 | html5lib/namedEntities/0850 html5lib-tests |
&RightAngleBracket
|
18 B | |
| 001258 | html5lib/namedEntities/0851 html5lib-tests |
⟩
|
19 B | |
| 001259 | html5lib/namedEntities/0852 html5lib-tests |
&RightArrow
|
11 B | |
| 001260 | html5lib/namedEntities/0853 html5lib-tests |
→
|
12 B | |
| 001261 | html5lib/namedEntities/0854 html5lib-tests |
&RightArrowBar
|
14 B | |
| 001262 | html5lib/namedEntities/0855 html5lib-tests |
⇥
|
15 B | |
| 001263 | html5lib/namedEntities/0856 html5lib-tests |
&RightArrowLeftArrow
|
20 B | |
| 001264 | html5lib/namedEntities/0857 html5lib-tests |
⇄
|
21 B | |
| 001265 | html5lib/namedEntities/0858 html5lib-tests |
&RightCeiling
|
13 B | |
| 001266 | html5lib/namedEntities/0859 html5lib-tests |
⌉
|
14 B | |
| 001267 | html5lib/namedEntities/0860 html5lib-tests |
&RightDoubleBracket
|
19 B | |
| 001268 | html5lib/namedEntities/0861 html5lib-tests |
⟧
|
20 B | |
| 001269 | html5lib/namedEntities/0862 html5lib-tests |
&RightDownTeeVector
|
19 B | |
| 001270 | html5lib/namedEntities/0863 html5lib-tests |
⥝
|
20 B | |
| 001271 | html5lib/namedEntities/0864 html5lib-tests |
&RightDownVector
|
16 B | |
| 001272 | html5lib/namedEntities/0865 html5lib-tests |
⇂
|
17 B | |
| 001273 | html5lib/namedEntities/0866 html5lib-tests |
&RightDownVectorBar
|
19 B | |
| 001274 | html5lib/namedEntities/0867 html5lib-tests |
⥕
|
20 B | |
| 001275 | html5lib/namedEntities/0868 html5lib-tests |
&RightFloor
|
11 B | |
| 001276 | html5lib/namedEntities/0869 html5lib-tests |
⌋
|
12 B | |
| 001277 | html5lib/namedEntities/0870 html5lib-tests |
&RightTee
|
9 B | |
| 001278 | html5lib/namedEntities/0871 html5lib-tests |
⊢
|
10 B | |
| 001279 | html5lib/namedEntities/0872 html5lib-tests |
&RightTeeArrow
|
14 B | |
| 001280 | html5lib/namedEntities/0873 html5lib-tests |
↦
|
15 B | |
| 001281 | html5lib/namedEntities/0874 html5lib-tests |
&RightTeeVector
|
15 B | |
| 001282 | html5lib/namedEntities/0875 html5lib-tests |
⥛
|
16 B | |
| 001283 | html5lib/namedEntities/0876 html5lib-tests |
&RightTriangle
|
14 B | |
| 001284 | html5lib/namedEntities/0877 html5lib-tests |
⊳
|
15 B | |
| 001285 | html5lib/namedEntities/0878 html5lib-tests |
&RightTriangleBar
|
17 B | |
| 001286 | html5lib/namedEntities/0879 html5lib-tests |
⧐
|
18 B | |
| 001287 | html5lib/namedEntities/0880 html5lib-tests |
&RightTriangleEqual
|
19 B | |
| 001288 | html5lib/namedEntities/0881 html5lib-tests |
⊵
|
20 B | |
| 001289 | html5lib/namedEntities/0882 html5lib-tests |
&RightUpDownVector
|
18 B | |
| 001290 | html5lib/namedEntities/0883 html5lib-tests |
⥏
|
19 B | |
| 001291 | html5lib/namedEntities/0884 html5lib-tests |
&RightUpTeeVector
|
17 B | |
| 001292 | html5lib/namedEntities/0885 html5lib-tests |
⥜
|
18 B | |
| 001293 | html5lib/namedEntities/0886 html5lib-tests |
&RightUpVector
|
14 B | |
| 001294 | html5lib/namedEntities/0887 html5lib-tests |
↾
|
15 B | |
| 001295 | html5lib/namedEntities/0888 html5lib-tests |
&RightUpVectorBar
|
17 B | |
| 001296 | html5lib/namedEntities/0889 html5lib-tests |
⥔
|
18 B | |
| 001297 | html5lib/namedEntities/0890 html5lib-tests |
&RightVector
|
12 B | |
| 001298 | html5lib/namedEntities/0891 html5lib-tests |
⇀
|
13 B | |
| 001299 | html5lib/namedEntities/0892 html5lib-tests |
&RightVectorBar
|
15 B | |
| 001300 | html5lib/namedEntities/0893 html5lib-tests |
⥓
|
16 B | |
| 001301 | html5lib/namedEntities/0894 html5lib-tests |
&Rightarrow
|
11 B | |
| 001302 | html5lib/namedEntities/0895 html5lib-tests |
⇒
|
12 B | |
| 001303 | html5lib/namedEntities/0896 html5lib-tests |
&Ropf
|
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