AUDIO
Source snapshot · 11 November 2026

Browser text editing

Validation

The native fixture checks bounded source, owner/revision identity, legal selections, undo/redo, actual-DOM reconciliation, synthetic composition, callback reentrancy/disposal and iframe document ownership. Run the macOS fixture with the existing native editor CMake build:

cmake -S crates/ravet-surface/native -B target/web-editor -DRAVET_WEB_EDITOR_TESTS=ON
cmake --build target/web-editor --target ravet-web-text-editor
ctest --test-dir target/web-editor -R '^ravet-web-text-editor$' --output-on-failure

The same trusted HTML/JS fixture runs in a browser. Chromium keyboard automation also exercised typing, directional selection, deletion, undo/redo, newline and Tab exit. The automated Chromium document reported document.hasFocus() === false, so that establishes DOM keyboard behavior rather than native-window visual focus. Hidden WebKit passed the DOM contract groups without creating a native window. Synthetic composition tests do not establish an operating-system IME, screen reader, clipboard permission, mobile keyboard or other browser/backend support claim.