Nacre/tests/smoke/pages/input.html
astar76 b7d1dbcc2f S046: smoke harness in a hidden nested niri, real selftest input, local media in the sandbox
- tools/nested-session.sh (Xvfb -> nested niri, own display/runtime dir, xresize for SMOKE_SIZE); smoke.sh and
  hidden.sh run in it; wl-input moved to tools/wl-input (own crate)
- selftest: click/rclick/pagescroll via wl-input, pagetype via wtype, resize via the nested niri
- WebKit sandbox: XDG user dirs (+ test pages in scripted runs) read-only so file:// media plays (D-043)
- SMOKE_VISIBLE needs the user's niri window rule, never moves focus (D-044)
- launch, basics, input, keys, chrome green hidden

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 06:14:17 -06:00

10 lines
828 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>input</title>
<style>body { font: 16px sans-serif; margin: 0; padding: 20px } a, input, textarea { display: block; margin: 0 0 20px; height: 30px; width: 300px; font-size: 16px }</style>
<a id="link" href="#clicked" onclick="window.clicks = (window.clicks || 0) + 1">Click me</a>
<input id="field" type="text">
<div id="menu" style="width: 300px; height: 60px; background: #ccd" oncontextmenu="window.menus = (window.menus || 0) + 1">Right-click here</div>
<form id="form" action="#submitted" onsubmit="window.submits = (window.submits || 0) + 1; return false"><input id="query" name="q" type="text"></form>
<textarea id="area" onkeydown="window.keys = (window.keys || []).concat([event.key + ':' + event.keyCode + ':' + event.code])"></textarea>
<div style="height: 3000px"></div>