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 |
|---|---|---|---|---|
| 002204 | html5lib/namedEntities/1797 html5lib-tests |
&djcy
|
5 B | |
| 002205 | html5lib/namedEntities/1798 html5lib-tests |
ђ
|
6 B | |
| 002206 | html5lib/namedEntities/1799 html5lib-tests |
&dlcorn
|
7 B | |
| 002207 | html5lib/namedEntities/1800 html5lib-tests |
⌞
|
8 B | |
| 002208 | html5lib/namedEntities/1801 html5lib-tests |
&dlcrop
|
7 B | |
| 002209 | html5lib/namedEntities/1802 html5lib-tests |
⌍
|
8 B | |
| 002210 | html5lib/namedEntities/1803 html5lib-tests |
&dollar
|
7 B | |
| 002211 | html5lib/namedEntities/1804 html5lib-tests |
$
|
8 B | |
| 002212 | html5lib/namedEntities/1805 html5lib-tests |
&dopf
|
5 B | |
| 002213 | html5lib/namedEntities/1806 html5lib-tests |
𝕕
|
6 B | |
| 002214 | html5lib/namedEntities/1807 html5lib-tests |
&dot
|
4 B | |
| 002215 | html5lib/namedEntities/1808 html5lib-tests |
˙
|
5 B | |
| 002216 | html5lib/namedEntities/1809 html5lib-tests |
&doteq
|
6 B | |
| 002217 | html5lib/namedEntities/1810 html5lib-tests |
≐
|
7 B | |
| 002218 | html5lib/namedEntities/1811 html5lib-tests |
&doteqdot
|
9 B | |
| 002219 | html5lib/namedEntities/1812 html5lib-tests |
≑
|
10 B | |
| 002220 | html5lib/namedEntities/1813 html5lib-tests |
&dotminus
|
9 B | |
| 002221 | html5lib/namedEntities/1814 html5lib-tests |
∸
|
10 B | |
| 002222 | html5lib/namedEntities/1815 html5lib-tests |
&dotplus
|
8 B | |
| 002223 | html5lib/namedEntities/1816 html5lib-tests |
∔
|
9 B | |
| 002224 | html5lib/namedEntities/1817 html5lib-tests |
&dotsquare
|
10 B | |
| 002225 | html5lib/namedEntities/1818 html5lib-tests |
⊡
|
11 B | |
| 002226 | html5lib/namedEntities/1819 html5lib-tests |
&doublebarwedge
|
15 B | |
| 002227 | html5lib/namedEntities/1820 html5lib-tests |
⌆
|
16 B | |
| 002228 | html5lib/namedEntities/1821 html5lib-tests |
&downarrow
|
10 B | |
| 002229 | html5lib/namedEntities/1822 html5lib-tests |
↓
|
11 B | |
| 002230 | html5lib/namedEntities/1823 html5lib-tests |
&downdownarrows
|
15 B | |
| 002231 | html5lib/namedEntities/1824 html5lib-tests |
⇊
|
16 B | |
| 002232 | html5lib/namedEntities/1825 html5lib-tests |
&downharpoonleft
|
16 B | |
| 002233 | html5lib/namedEntities/1826 html5lib-tests |
⇃
|
17 B | |
| 002234 | html5lib/namedEntities/1827 html5lib-tests |
&downharpoonright
|
17 B | |
| 002235 | html5lib/namedEntities/1828 html5lib-tests |
⇂
|
18 B | |
| 002236 | html5lib/namedEntities/1829 html5lib-tests |
&drbkarow
|
9 B | |
| 002237 | html5lib/namedEntities/1830 html5lib-tests |
⤐
|
10 B | |
| 002238 | html5lib/namedEntities/1831 html5lib-tests |
&drcorn
|
7 B | |
| 002239 | html5lib/namedEntities/1832 html5lib-tests |
⌟
|
8 B | |
| 002240 | html5lib/namedEntities/1833 html5lib-tests |
&drcrop
|
7 B | |
| 002241 | html5lib/namedEntities/1834 html5lib-tests |
⌌
|
8 B | |
| 002242 | html5lib/namedEntities/1835 html5lib-tests |
&dscr
|
5 B | |
| 002243 | html5lib/namedEntities/1836 html5lib-tests |
𝒹
|
6 B | |
| 002244 | html5lib/namedEntities/1837 html5lib-tests |
&dscy
|
5 B | |
| 002245 | html5lib/namedEntities/1838 html5lib-tests |
ѕ
|
6 B | |
| 002246 | html5lib/namedEntities/1839 html5lib-tests |
&dsol
|
5 B | |
| 002247 | html5lib/namedEntities/1840 html5lib-tests |
⧶
|
6 B | |
| 002248 | html5lib/namedEntities/1841 html5lib-tests |
&dstrok
|
7 B | |
| 002249 | html5lib/namedEntities/1842 html5lib-tests |
đ
|
8 B | |
| 002250 | html5lib/namedEntities/1843 html5lib-tests |
&dtdot
|
6 B | |
| 002251 | html5lib/namedEntities/1844 html5lib-tests |
⋱
|
7 B | |
| 002252 | html5lib/namedEntities/1845 html5lib-tests |
&dtri
|
5 B | |
| 002253 | html5lib/namedEntities/1846 html5lib-tests |
▿
|
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