Files
kryon/mk/canvas-shell.html
T
waozi 71a62c5a0d Harden TSX composition boundaries and native host lifecycles
Keep native widget composition package-private while preserving typed TSX, native policy and custom drawing. Repair hybrid portable app context ownership, unpublished bitmap rollback, browser line rendering and font storage, and current real-browser fixtures. Record the complete local project-test, push-check and test run, all 180 behavior fixtures and 31 laws, and newly verified consumer migrations. The full breaking migration remains Unreleased.
2026-11-28 21:51:21 -03:00

33 lines
1.2 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kryon Ziran</title>
<style>
html, body { margin: 0; width: 100%; height: 100%; background: #f8fafc; overscroll-behavior: none; }
#canvas-frame { width: 100%; height: 100%; }
canvas { display: block; width: 100%; height: 100%; outline: none; }
#kryon-ime { position: fixed; left: 0; top: 0; width: 1px; height: 1px; border: 0; padding: 0; opacity: 0; pointer-events: none; }
</style>
</head>
<body>
<input id="kryon-ime" type="text" tabindex="-1" aria-hidden="true" autocomplete="off" autocapitalize="off" spellcheck="false">
<div id="canvas-frame"><canvas id="canvas" tabindex="0"></canvas></div>
<pre id="result" hidden>pending</pre>
<script>
var Module = {
onExit: function(code) {
document.getElementById("result").textContent = code === 0 ? "PASS" : "FAIL " + code;
document.getElementById("result").hidden = code === 0;
},
onAbort: function(reason) {
document.getElementById("result").textContent = "ABORT " + reason;
document.getElementById("result").hidden = false;
}
};
</script>
{{{ SCRIPT }}}
</body>
</html>