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
Clear

5,931 of 6,835 cases

Case Name Expected Note Size
001904 html5lib/namedEntities/1497 html5lib-tests ┘ Named entity: boxul; with a semi-colon 7 B
001905 html5lib/namedEntities/1498 html5lib-tests &boxur Bad named entity: boxur without a semi-colon 6 B
001906 html5lib/namedEntities/1499 html5lib-tests └ Named entity: boxur; with a semi-colon 7 B
001907 html5lib/namedEntities/1500 html5lib-tests &boxv Bad named entity: boxv without a semi-colon 5 B
001908 html5lib/namedEntities/1501 html5lib-tests │ Named entity: boxv; with a semi-colon 6 B
001909 html5lib/namedEntities/1502 html5lib-tests &boxvH Bad named entity: boxvH without a semi-colon 6 B
001910 html5lib/namedEntities/1503 html5lib-tests ╪ Named entity: boxvH; with a semi-colon 7 B
001911 html5lib/namedEntities/1504 html5lib-tests &boxvL Bad named entity: boxvL without a semi-colon 6 B
001912 html5lib/namedEntities/1505 html5lib-tests ╡ Named entity: boxvL; with a semi-colon 7 B
001913 html5lib/namedEntities/1506 html5lib-tests &boxvR Bad named entity: boxvR without a semi-colon 6 B
001914 html5lib/namedEntities/1507 html5lib-tests ╞ Named entity: boxvR; with a semi-colon 7 B
001915 html5lib/namedEntities/1508 html5lib-tests &boxvh Bad named entity: boxvh without a semi-colon 6 B
001916 html5lib/namedEntities/1509 html5lib-tests ┼ Named entity: boxvh; with a semi-colon 7 B
001917 html5lib/namedEntities/1510 html5lib-tests &boxvl Bad named entity: boxvl without a semi-colon 6 B
001918 html5lib/namedEntities/1511 html5lib-tests ┤ Named entity: boxvl; with a semi-colon 7 B
001919 html5lib/namedEntities/1512 html5lib-tests &boxvr Bad named entity: boxvr without a semi-colon 6 B
001920 html5lib/namedEntities/1513 html5lib-tests ├ Named entity: boxvr; with a semi-colon 7 B
001921 html5lib/namedEntities/1514 html5lib-tests &bprime Bad named entity: bprime without a semi-colon 7 B
001922 html5lib/namedEntities/1515 html5lib-tests ‵ Named entity: bprime; with a semi-colon 8 B
001923 html5lib/namedEntities/1516 html5lib-tests &breve Bad named entity: breve without a semi-colon 6 B
001924 html5lib/namedEntities/1517 html5lib-tests ˘ Named entity: breve; with a semi-colon 7 B
001925 html5lib/namedEntities/1518 html5lib-tests ¦ Named entity: brvbar without a semi-colon 7 B
001926 html5lib/namedEntities/1519 html5lib-tests ¦ Named entity: brvbar; with a semi-colon 8 B
001927 html5lib/namedEntities/1520 html5lib-tests &bscr Bad named entity: bscr without a semi-colon 5 B
001928 html5lib/namedEntities/1521 html5lib-tests 𝒷 Named entity: bscr; with a semi-colon 6 B
001929 html5lib/namedEntities/1522 html5lib-tests &bsemi Bad named entity: bsemi without a semi-colon 6 B
001930 html5lib/namedEntities/1523 html5lib-tests ⁏ Named entity: bsemi; with a semi-colon 7 B
001931 html5lib/namedEntities/1524 html5lib-tests &bsim Bad named entity: bsim without a semi-colon 5 B
001932 html5lib/namedEntities/1525 html5lib-tests ∽ Named entity: bsim; with a semi-colon 6 B
001933 html5lib/namedEntities/1526 html5lib-tests &bsime Bad named entity: bsime without a semi-colon 6 B
001934 html5lib/namedEntities/1527 html5lib-tests ⋍ Named entity: bsime; with a semi-colon 7 B
001935 html5lib/namedEntities/1528 html5lib-tests &bsol Bad named entity: bsol without a semi-colon 5 B
001936 html5lib/namedEntities/1529 html5lib-tests \ Named entity: bsol; with a semi-colon 6 B
001937 html5lib/namedEntities/1530 html5lib-tests &bsolb Bad named entity: bsolb without a semi-colon 6 B
001938 html5lib/namedEntities/1531 html5lib-tests ⧅ Named entity: bsolb; with a semi-colon 7 B
001939 html5lib/namedEntities/1532 html5lib-tests &bsolhsub Bad named entity: bsolhsub without a semi-colon 9 B
001940 html5lib/namedEntities/1533 html5lib-tests ⟈ Named entity: bsolhsub; with a semi-colon 10 B
001941 html5lib/namedEntities/1534 html5lib-tests &bull Bad named entity: bull without a semi-colon 5 B
001942 html5lib/namedEntities/1535 html5lib-tests • Named entity: bull; with a semi-colon 6 B
001943 html5lib/namedEntities/1536 html5lib-tests &bullet Bad named entity: bullet without a semi-colon 7 B
001944 html5lib/namedEntities/1537 html5lib-tests • Named entity: bullet; with a semi-colon 8 B
001945 html5lib/namedEntities/1538 html5lib-tests &bump Bad named entity: bump without a semi-colon 5 B
001946 html5lib/namedEntities/1539 html5lib-tests ≎ Named entity: bump; with a semi-colon 6 B
001947 html5lib/namedEntities/1540 html5lib-tests &bumpE Bad named entity: bumpE without a semi-colon 6 B
001948 html5lib/namedEntities/1541 html5lib-tests ⪮ Named entity: bumpE; with a semi-colon 7 B
001949 html5lib/namedEntities/1542 html5lib-tests &bumpe Bad named entity: bumpe without a semi-colon 6 B
001950 html5lib/namedEntities/1543 html5lib-tests ≏ Named entity: bumpe; with a semi-colon 7 B
001951 html5lib/namedEntities/1544 html5lib-tests &bumpeq Bad named entity: bumpeq without a semi-colon 7 B
001952 html5lib/namedEntities/1545 html5lib-tests ≏ Named entity: bumpeq; with a semi-colon 8 B
001953 html5lib/namedEntities/1546 html5lib-tests &cacute Bad named entity: cacute without a semi-colon 7 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.