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 |
|---|---|---|---|---|
| 004454 | html5lib/namedEntities/4047 html5lib-tests |
⊲
|
17 B | |
| 004455 | html5lib/namedEntities/4048 html5lib-tests |
&vartriangleright
|
17 B | |
| 004456 | html5lib/namedEntities/4049 html5lib-tests |
⊳
|
18 B | |
| 004457 | html5lib/namedEntities/4050 html5lib-tests |
&vcy
|
4 B | |
| 004458 | html5lib/namedEntities/4051 html5lib-tests |
в
|
5 B | |
| 004459 | html5lib/namedEntities/4052 html5lib-tests |
&vdash
|
6 B | |
| 004460 | html5lib/namedEntities/4053 html5lib-tests |
⊢
|
7 B | |
| 004461 | html5lib/namedEntities/4054 html5lib-tests |
&vee
|
4 B | |
| 004462 | html5lib/namedEntities/4055 html5lib-tests |
∨
|
5 B | |
| 004463 | html5lib/namedEntities/4056 html5lib-tests |
&veebar
|
7 B | |
| 004464 | html5lib/namedEntities/4057 html5lib-tests |
⊻
|
8 B | |
| 004465 | html5lib/namedEntities/4058 html5lib-tests |
&veeeq
|
6 B | |
| 004466 | html5lib/namedEntities/4059 html5lib-tests |
≚
|
7 B | |
| 004467 | html5lib/namedEntities/4060 html5lib-tests |
&vellip
|
7 B | |
| 004468 | html5lib/namedEntities/4061 html5lib-tests |
⋮
|
8 B | |
| 004469 | html5lib/namedEntities/4062 html5lib-tests |
&verbar
|
7 B | |
| 004470 | html5lib/namedEntities/4063 html5lib-tests |
|
|
8 B | |
| 004471 | html5lib/namedEntities/4064 html5lib-tests |
&vert
|
5 B | |
| 004472 | html5lib/namedEntities/4065 html5lib-tests |
|
|
6 B | |
| 004473 | html5lib/namedEntities/4066 html5lib-tests |
&vfr
|
4 B | |
| 004474 | html5lib/namedEntities/4067 html5lib-tests |
𝔳
|
5 B | |
| 004475 | html5lib/namedEntities/4068 html5lib-tests |
&vltri
|
6 B | |
| 004476 | html5lib/namedEntities/4069 html5lib-tests |
⊲
|
7 B | |
| 004477 | html5lib/namedEntities/4070 html5lib-tests |
&vnsub
|
6 B | |
| 004478 | html5lib/namedEntities/4071 html5lib-tests |
⊂⃒
|
7 B | |
| 004479 | html5lib/namedEntities/4072 html5lib-tests |
&vnsup
|
6 B | |
| 004480 | html5lib/namedEntities/4073 html5lib-tests |
⊃⃒
|
7 B | |
| 004481 | html5lib/namedEntities/4074 html5lib-tests |
&vopf
|
5 B | |
| 004482 | html5lib/namedEntities/4075 html5lib-tests |
𝕧
|
6 B | |
| 004483 | html5lib/namedEntities/4076 html5lib-tests |
&vprop
|
6 B | |
| 004484 | html5lib/namedEntities/4077 html5lib-tests |
∝
|
7 B | |
| 004485 | html5lib/namedEntities/4078 html5lib-tests |
&vrtri
|
6 B | |
| 004486 | html5lib/namedEntities/4079 html5lib-tests |
⊳
|
7 B | |
| 004487 | html5lib/namedEntities/4080 html5lib-tests |
&vscr
|
5 B | |
| 004488 | html5lib/namedEntities/4081 html5lib-tests |
𝓋
|
6 B | |
| 004489 | html5lib/namedEntities/4082 html5lib-tests |
&vsubnE
|
7 B | |
| 004490 | html5lib/namedEntities/4083 html5lib-tests |
⫋︀
|
8 B | |
| 004491 | html5lib/namedEntities/4084 html5lib-tests |
&vsubne
|
7 B | |
| 004492 | html5lib/namedEntities/4085 html5lib-tests |
⊊︀
|
8 B | |
| 004493 | html5lib/namedEntities/4086 html5lib-tests |
&vsupnE
|
7 B | |
| 004494 | html5lib/namedEntities/4087 html5lib-tests |
⫌︀
|
8 B | |
| 004495 | html5lib/namedEntities/4088 html5lib-tests |
&vsupne
|
7 B | |
| 004496 | html5lib/namedEntities/4089 html5lib-tests |
⊋︀
|
8 B | |
| 004497 | html5lib/namedEntities/4090 html5lib-tests |
&vzigzag
|
8 B | |
| 004498 | html5lib/namedEntities/4091 html5lib-tests |
⦚
|
9 B | |
| 004499 | html5lib/namedEntities/4092 html5lib-tests |
&wcirc
|
6 B | |
| 004500 | html5lib/namedEntities/4093 html5lib-tests |
ŵ
|
7 B | |
| 004501 | html5lib/namedEntities/4094 html5lib-tests |
&wedbar
|
7 B | |
| 004502 | html5lib/namedEntities/4095 html5lib-tests |
⩟
|
8 B | |
| 004503 | html5lib/namedEntities/4096 html5lib-tests |
&wedge
|
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