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
001854 html5lib/namedEntities/1447 html5lib-tests ╚ Named entity: boxUR; with a semi-colon 7 B
001855 html5lib/namedEntities/1448 html5lib-tests &boxUl Bad named entity: boxUl without a semi-colon 6 B
001856 html5lib/namedEntities/1449 html5lib-tests ╜ Named entity: boxUl; with a semi-colon 7 B
001857 html5lib/namedEntities/1450 html5lib-tests &boxUr Bad named entity: boxUr without a semi-colon 6 B
001858 html5lib/namedEntities/1451 html5lib-tests ╙ Named entity: boxUr; with a semi-colon 7 B
001859 html5lib/namedEntities/1452 html5lib-tests &boxV Bad named entity: boxV without a semi-colon 5 B
001860 html5lib/namedEntities/1453 html5lib-tests ║ Named entity: boxV; with a semi-colon 6 B
001861 html5lib/namedEntities/1454 html5lib-tests &boxVH Bad named entity: boxVH without a semi-colon 6 B
001862 html5lib/namedEntities/1455 html5lib-tests ╬ Named entity: boxVH; with a semi-colon 7 B
001863 html5lib/namedEntities/1456 html5lib-tests &boxVL Bad named entity: boxVL without a semi-colon 6 B
001864 html5lib/namedEntities/1457 html5lib-tests ╣ Named entity: boxVL; with a semi-colon 7 B
001865 html5lib/namedEntities/1458 html5lib-tests &boxVR Bad named entity: boxVR without a semi-colon 6 B
001866 html5lib/namedEntities/1459 html5lib-tests ╠ Named entity: boxVR; with a semi-colon 7 B
001867 html5lib/namedEntities/1460 html5lib-tests &boxVh Bad named entity: boxVh without a semi-colon 6 B
001868 html5lib/namedEntities/1461 html5lib-tests ╫ Named entity: boxVh; with a semi-colon 7 B
001869 html5lib/namedEntities/1462 html5lib-tests &boxVl Bad named entity: boxVl without a semi-colon 6 B
001870 html5lib/namedEntities/1463 html5lib-tests ╢ Named entity: boxVl; with a semi-colon 7 B
001871 html5lib/namedEntities/1464 html5lib-tests &boxVr Bad named entity: boxVr without a semi-colon 6 B
001872 html5lib/namedEntities/1465 html5lib-tests ╟ Named entity: boxVr; with a semi-colon 7 B
001873 html5lib/namedEntities/1466 html5lib-tests &boxbox Bad named entity: boxbox without a semi-colon 7 B
001874 html5lib/namedEntities/1467 html5lib-tests ⧉ Named entity: boxbox; with a semi-colon 8 B
001875 html5lib/namedEntities/1468 html5lib-tests &boxdL Bad named entity: boxdL without a semi-colon 6 B
001876 html5lib/namedEntities/1469 html5lib-tests ╕ Named entity: boxdL; with a semi-colon 7 B
001877 html5lib/namedEntities/1470 html5lib-tests &boxdR Bad named entity: boxdR without a semi-colon 6 B
001878 html5lib/namedEntities/1471 html5lib-tests ╒ Named entity: boxdR; with a semi-colon 7 B
001879 html5lib/namedEntities/1472 html5lib-tests &boxdl Bad named entity: boxdl without a semi-colon 6 B
001880 html5lib/namedEntities/1473 html5lib-tests ┐ Named entity: boxdl; with a semi-colon 7 B
001881 html5lib/namedEntities/1474 html5lib-tests &boxdr Bad named entity: boxdr without a semi-colon 6 B
001882 html5lib/namedEntities/1475 html5lib-tests ┌ Named entity: boxdr; with a semi-colon 7 B
001883 html5lib/namedEntities/1476 html5lib-tests &boxh Bad named entity: boxh without a semi-colon 5 B
001884 html5lib/namedEntities/1477 html5lib-tests ─ Named entity: boxh; with a semi-colon 6 B
001885 html5lib/namedEntities/1478 html5lib-tests &boxhD Bad named entity: boxhD without a semi-colon 6 B
001886 html5lib/namedEntities/1479 html5lib-tests ╥ Named entity: boxhD; with a semi-colon 7 B
001887 html5lib/namedEntities/1480 html5lib-tests &boxhU Bad named entity: boxhU without a semi-colon 6 B
001888 html5lib/namedEntities/1481 html5lib-tests ╨ Named entity: boxhU; with a semi-colon 7 B
001889 html5lib/namedEntities/1482 html5lib-tests &boxhd Bad named entity: boxhd without a semi-colon 6 B
001890 html5lib/namedEntities/1483 html5lib-tests ┬ Named entity: boxhd; with a semi-colon 7 B
001891 html5lib/namedEntities/1484 html5lib-tests &boxhu Bad named entity: boxhu without a semi-colon 6 B
001892 html5lib/namedEntities/1485 html5lib-tests ┴ Named entity: boxhu; with a semi-colon 7 B
001893 html5lib/namedEntities/1486 html5lib-tests &boxminus Bad named entity: boxminus without a semi-colon 9 B
001894 html5lib/namedEntities/1487 html5lib-tests ⊟ Named entity: boxminus; with a semi-colon 10 B
001895 html5lib/namedEntities/1488 html5lib-tests &boxplus Bad named entity: boxplus without a semi-colon 8 B
001896 html5lib/namedEntities/1489 html5lib-tests ⊞ Named entity: boxplus; with a semi-colon 9 B
001897 html5lib/namedEntities/1490 html5lib-tests &boxtimes Bad named entity: boxtimes without a semi-colon 9 B
001898 html5lib/namedEntities/1491 html5lib-tests ⊠ Named entity: boxtimes; with a semi-colon 10 B
001899 html5lib/namedEntities/1492 html5lib-tests &boxuL Bad named entity: boxuL without a semi-colon 6 B
001900 html5lib/namedEntities/1493 html5lib-tests ╛ Named entity: boxuL; with a semi-colon 7 B
001901 html5lib/namedEntities/1494 html5lib-tests &boxuR Bad named entity: boxuR without a semi-colon 6 B
001902 html5lib/namedEntities/1495 html5lib-tests ╘ Named entity: boxuR; with a semi-colon 7 B
001903 html5lib/namedEntities/1496 html5lib-tests &boxul Bad named entity: boxul without a semi-colon 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.