chore(memory): V1-2.2 owner decisions evidence, BDR-091, LRN-103/104
This commit is contained in:
1 parent
76ead9567c
commit
de2dfb392e
6 files changed
+171
No files matched your search
@@ -709,3 +709,17 @@ Supersedes [[LRN-100]].
|
||||
**Context**: any shell-written file holding backticks: Rust/TS doc comments, markdown, commit bodies, python snippets passed via `python3 - <<EOF`.
|
||||
|
||||
**Application**: always quote delimiter (`<<'EOF'`, `<<'PYEOF'`) unless expansion wanted; prefer Write/Edit tools for prose; before commit grep added lines for `uid=`, `gid=`, home paths and empty backtick pairs; treat `command not found` lines during a file write as corruption signal, re-read file.
|
||||
|
||||
## LRN-103 — SVG pointer-events all hits the stroke area even unpainted: hitboxes declare stroke none + visibleFill (2026-11-01)
|
||||
**Pattern**: SVG `pointer-events="all"` hits fill AND stroke area whether painted or not. Transparent hitbox with no own `stroke-width` inherits ancestor's: root `stroke-width="2000"` widened every point hitbox, last one took 13 of 19 equine clicks (Chromium, WebKit). `stroke="none"` alone does not shrink hit area under `all`.
|
||||
|
||||
**Context**: V1-2.2 lot B (2026-10-30/11-01), marker layer hitboxes on editor canvas.
|
||||
|
||||
**Application**: invisible capture surface declares its own geometry + rule: `stroke="none"` + `pointer-events="visibleFill"` (hit = fill only; transparent fill still counts as painted). Visible element that should win → `visiblePainted`. Never rely on inherited stroke for a hit area; test with hostile root stroke in 3 engines.
|
||||
|
||||
## LRN-104 — Precomputed click coordinates go stale when the page moves after the first interaction (2026-11-01)
|
||||
**Pattern**: click coordinates computed once (boundingBox before first click) go stale when page layout moves after first interaction. Canvas harness listed recorded clicks above canvas: first click grew list, canvas shifted down, later precomputed points hit wrong marker/nothing. Looked like hit-test bug.
|
||||
|
||||
**Context**: V1-2.2 canvas click proofs (Playwright, `e2e/harness/canvas.tsx`), 2026-10-30.
|
||||
|
||||
**Application**: recompute target box right before each press (`centreOf` per click), or keep layout fixed (output with fixed height, `overflow:hidden`). Treat "first click right, next ones wrong" as layout shift first, hit-test second.
|
||||
Reference in new issue
Block a user