The app model, flex layout, hit testing, focus, event queue and
SceneSnapshot run in MoonBit. The browser owns one Canvas
2D viewport and feeds it typed input.
MoonBit JSCanvas 2DOne logical viewport
LIVE VIEWPORT
Portable app fixture
STARTING
TEXT INPUT
Enter committed text
Start typing to send committed characters to the MoonBit app. Text appears below; editing, selection and caret display are still pending.
Text input is off.
Committed inserts: 0
CLIPBOARD
Copy and paste text
The browser may ask for clipboard permission.
!
FRAMEWORK DIAGNOSTIC
Browser host could not start
01
Same portable model
Flex layout and reverse-order element hit testing feed the shared quad scene.
02
Logical size stays logical
Pointer coordinates and layout use CSS pixels; DPR only scales the canvas backing store.
03
Experimental by design
Clipboard text, committed input and Canvas 2D restoration extend this slice. WebGPU, full text/IME, general accessibility and production support remain open.