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 |
|---|---|---|---|---|
| 003200 | html5lib/namedEntities/2793 html5lib-tests |
↗
|
7 B | |
| 003201 | html5lib/namedEntities/2794 html5lib-tests |
&nearrow
|
8 B | |
| 003202 | html5lib/namedEntities/2795 html5lib-tests |
↗
|
9 B | |
| 003203 | html5lib/namedEntities/2796 html5lib-tests |
&nedot
|
6 B | |
| 003204 | html5lib/namedEntities/2797 html5lib-tests |
≐̸
|
7 B | |
| 003205 | html5lib/namedEntities/2798 html5lib-tests |
&nequiv
|
7 B | |
| 003206 | html5lib/namedEntities/2799 html5lib-tests |
≢
|
8 B | |
| 003207 | html5lib/namedEntities/2800 html5lib-tests |
&nesear
|
7 B | |
| 003208 | html5lib/namedEntities/2801 html5lib-tests |
⤨
|
8 B | |
| 003209 | html5lib/namedEntities/2802 html5lib-tests |
&nesim
|
6 B | |
| 003210 | html5lib/namedEntities/2803 html5lib-tests |
≂̸
|
7 B | |
| 003211 | html5lib/namedEntities/2804 html5lib-tests |
&nexist
|
7 B | |
| 003212 | html5lib/namedEntities/2805 html5lib-tests |
∄
|
8 B | |
| 003213 | html5lib/namedEntities/2806 html5lib-tests |
&nexists
|
8 B | |
| 003214 | html5lib/namedEntities/2807 html5lib-tests |
∄
|
9 B | |
| 003215 | html5lib/namedEntities/2808 html5lib-tests |
&nfr
|
4 B | |
| 003216 | html5lib/namedEntities/2809 html5lib-tests |
𝔫
|
5 B | |
| 003217 | html5lib/namedEntities/2810 html5lib-tests |
&ngE
|
4 B | |
| 003218 | html5lib/namedEntities/2811 html5lib-tests |
≧̸
|
5 B | |
| 003219 | html5lib/namedEntities/2812 html5lib-tests |
&nge
|
4 B | |
| 003220 | html5lib/namedEntities/2813 html5lib-tests |
≱
|
5 B | |
| 003221 | html5lib/namedEntities/2814 html5lib-tests |
&ngeq
|
5 B | |
| 003222 | html5lib/namedEntities/2815 html5lib-tests |
≱
|
6 B | |
| 003223 | html5lib/namedEntities/2816 html5lib-tests |
&ngeqq
|
6 B | |
| 003224 | html5lib/namedEntities/2817 html5lib-tests |
≧̸
|
7 B | |
| 003225 | html5lib/namedEntities/2818 html5lib-tests |
&ngeqslant
|
10 B | |
| 003226 | html5lib/namedEntities/2819 html5lib-tests |
⩾̸
|
11 B | |
| 003227 | html5lib/namedEntities/2820 html5lib-tests |
&nges
|
5 B | |
| 003228 | html5lib/namedEntities/2821 html5lib-tests |
⩾̸
|
6 B | |
| 003229 | html5lib/namedEntities/2822 html5lib-tests |
&ngsim
|
6 B | |
| 003230 | html5lib/namedEntities/2823 html5lib-tests |
≵
|
7 B | |
| 003231 | html5lib/namedEntities/2824 html5lib-tests |
&ngt
|
4 B | |
| 003232 | html5lib/namedEntities/2825 html5lib-tests |
≯
|
5 B | |
| 003233 | html5lib/namedEntities/2826 html5lib-tests |
&ngtr
|
5 B | |
| 003234 | html5lib/namedEntities/2827 html5lib-tests |
≯
|
6 B | |
| 003235 | html5lib/namedEntities/2828 html5lib-tests |
&nhArr
|
6 B | |
| 003236 | html5lib/namedEntities/2829 html5lib-tests |
⇎
|
7 B | |
| 003237 | html5lib/namedEntities/2830 html5lib-tests |
&nharr
|
6 B | |
| 003238 | html5lib/namedEntities/2831 html5lib-tests |
↮
|
7 B | |
| 003239 | html5lib/namedEntities/2832 html5lib-tests |
&nhpar
|
6 B | |
| 003240 | html5lib/namedEntities/2833 html5lib-tests |
⫲
|
7 B | |
| 003241 | html5lib/namedEntities/2834 html5lib-tests |
&ni
|
3 B | |
| 003242 | html5lib/namedEntities/2835 html5lib-tests |
∋
|
4 B | |
| 003243 | html5lib/namedEntities/2836 html5lib-tests |
&nis
|
4 B | |
| 003244 | html5lib/namedEntities/2837 html5lib-tests |
⋼
|
5 B | |
| 003245 | html5lib/namedEntities/2838 html5lib-tests |
&nisd
|
5 B | |
| 003246 | html5lib/namedEntities/2839 html5lib-tests |
⋺
|
6 B | |
| 003247 | html5lib/namedEntities/2840 html5lib-tests |
&niv
|
4 B | |
| 003248 | html5lib/namedEntities/2841 html5lib-tests |
∋
|
5 B | |
| 003249 | html5lib/namedEntities/2842 html5lib-tests |
&njcy
|
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