FA-8993 / Text editing / Member archive
Composition-aware keyboard commands: Single-line Enter inserts a newline instead of submitting · case 03
Single-line Enter inserts a newline instead of submitting.
Case contract
Composition state or legacy code 229 delegates to native input; plain multiline Enter inserts newline; other Enter submits; Escape preserves draft; Tab honors Shift.
Why this case matters
A deterministic model of composition-aware keyboard commands; this isolates one interface invariant without requiring a browser.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| single | ["insert", "draft\n"] | ["submit", "draft"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗