FAILURE MAP
← Case archive

FA-31394 / Keyboard interactions / Member archive

Keyboard default edit cancellation pipeline: Keyboard default mutation is suppressed despite a noncancelable keydown · case 04

The event trace violates the keydown cancelable rule and produces incorrect keyboard state or command output.

Member previewVariant 4 · 3 implementations · 13 checks per implementation

Case contract

Case [text,lo,hi,key,prevent_down,prevent_before,cancelable,readonly]. Selection is a valid half-open code-point interval. Printable single characters replace selection, Backspace deletes previous point and Delete deletes next point for collapsed selections. Other keys do not edit. A cancelable prevented keydown stops editing; readonly suppresses beforeinput. A changed candidate fires beforeinput, cancellation suppresses mutation; successful edit fires input. Always log keydown and keyup. Return text, selection endpoints and event log. Inputs are finite ordered event traces; return the stated deterministic state. Batch entries are independent. N varies the number of independent input transactions.

Why this case matters

Controlled keyboard event processing model for debugging application event logic.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
key-default-edit scenario 9[["abc", 1, 1, ["keydown", "keyup"]], ["abc", 1, 1, ["keydown", "keyup"]], ["abc", 1, 1, ["keydown", "keyup"]], ["abc", 1, 1, ["keydown", "keyup"]]][["aXbc", 2, 2, ["keydown", "beforeinput", "input", "keyup"]], ["aXbc", 2, 2, ["keydown", "beforeinput", "input", "keyup"]], ["aXbc", 2, 2, ["keydown", "beforeinput", "input", "keyup"]], ["aXbc", 2, 2, ["keydown", "beforeinput", "input", "keyup"]]]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 ↗