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 |
|---|---|---|---|---|
| 002100 | html5lib/namedEntities/1693 html5lib-tests |
⩈
|
10 B | |
| 002101 | html5lib/namedEntities/1694 html5lib-tests |
&cupcap
|
7 B | |
| 002102 | html5lib/namedEntities/1695 html5lib-tests |
⩆
|
8 B | |
| 002103 | html5lib/namedEntities/1696 html5lib-tests |
&cupcup
|
7 B | |
| 002104 | html5lib/namedEntities/1697 html5lib-tests |
⩊
|
8 B | |
| 002105 | html5lib/namedEntities/1698 html5lib-tests |
&cupdot
|
7 B | |
| 002106 | html5lib/namedEntities/1699 html5lib-tests |
⊍
|
8 B | |
| 002107 | html5lib/namedEntities/1700 html5lib-tests |
&cupor
|
6 B | |
| 002108 | html5lib/namedEntities/1701 html5lib-tests |
⩅
|
7 B | |
| 002109 | html5lib/namedEntities/1702 html5lib-tests |
&cups
|
5 B | |
| 002110 | html5lib/namedEntities/1703 html5lib-tests |
∪︀
|
6 B | |
| 002111 | html5lib/namedEntities/1704 html5lib-tests |
&curarr
|
7 B | |
| 002112 | html5lib/namedEntities/1705 html5lib-tests |
↷
|
8 B | |
| 002113 | html5lib/namedEntities/1706 html5lib-tests |
&curarrm
|
8 B | |
| 002114 | html5lib/namedEntities/1707 html5lib-tests |
⤼
|
9 B | |
| 002115 | html5lib/namedEntities/1708 html5lib-tests |
&curlyeqprec
|
12 B | |
| 002116 | html5lib/namedEntities/1709 html5lib-tests |
⋞
|
13 B | |
| 002117 | html5lib/namedEntities/1710 html5lib-tests |
&curlyeqsucc
|
12 B | |
| 002118 | html5lib/namedEntities/1711 html5lib-tests |
⋟
|
13 B | |
| 002119 | html5lib/namedEntities/1712 html5lib-tests |
&curlyvee
|
9 B | |
| 002120 | html5lib/namedEntities/1713 html5lib-tests |
⋎
|
10 B | |
| 002121 | html5lib/namedEntities/1714 html5lib-tests |
&curlywedge
|
11 B | |
| 002122 | html5lib/namedEntities/1715 html5lib-tests |
⋏
|
12 B | |
| 002123 | html5lib/namedEntities/1716 html5lib-tests |
¤
|
7 B | |
| 002124 | html5lib/namedEntities/1717 html5lib-tests |
¤
|
8 B | |
| 002125 | html5lib/namedEntities/1718 html5lib-tests |
&curvearrowleft
|
15 B | |
| 002126 | html5lib/namedEntities/1719 html5lib-tests |
↶
|
16 B | |
| 002127 | html5lib/namedEntities/1720 html5lib-tests |
&curvearrowright
|
16 B | |
| 002128 | html5lib/namedEntities/1721 html5lib-tests |
↷
|
17 B | |
| 002129 | html5lib/namedEntities/1722 html5lib-tests |
&cuvee
|
6 B | |
| 002130 | html5lib/namedEntities/1723 html5lib-tests |
⋎
|
7 B | |
| 002131 | html5lib/namedEntities/1724 html5lib-tests |
&cuwed
|
6 B | |
| 002132 | html5lib/namedEntities/1725 html5lib-tests |
⋏
|
7 B | |
| 002133 | html5lib/namedEntities/1726 html5lib-tests |
&cwconint
|
9 B | |
| 002134 | html5lib/namedEntities/1727 html5lib-tests |
∲
|
10 B | |
| 002135 | html5lib/namedEntities/1728 html5lib-tests |
&cwint
|
6 B | |
| 002136 | html5lib/namedEntities/1729 html5lib-tests |
∱
|
7 B | |
| 002137 | html5lib/namedEntities/1730 html5lib-tests |
&cylcty
|
7 B | |
| 002138 | html5lib/namedEntities/1731 html5lib-tests |
⌭
|
8 B | |
| 002139 | html5lib/namedEntities/1732 html5lib-tests |
&dArr
|
5 B | |
| 002140 | html5lib/namedEntities/1733 html5lib-tests |
⇓
|
6 B | |
| 002141 | html5lib/namedEntities/1734 html5lib-tests |
&dHar
|
5 B | |
| 002142 | html5lib/namedEntities/1735 html5lib-tests |
⥥
|
6 B | |
| 002143 | html5lib/namedEntities/1736 html5lib-tests |
&dagger
|
7 B | |
| 002144 | html5lib/namedEntities/1737 html5lib-tests |
†
|
8 B | |
| 002145 | html5lib/namedEntities/1738 html5lib-tests |
&daleth
|
7 B | |
| 002146 | html5lib/namedEntities/1739 html5lib-tests |
ℸ
|
8 B | |
| 002147 | html5lib/namedEntities/1740 html5lib-tests |
&darr
|
5 B | |
| 002148 | html5lib/namedEntities/1741 html5lib-tests |
↓
|
6 B | |
| 002149 | html5lib/namedEntities/1742 html5lib-tests |
&dash
|
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