Repository navigation
Engine: a clipping frame read as {0,0,0,0} cuts nothing, and the enabling observation polls it (#312) - #320
Merged
Merged
Conversation
…e enabling observation re-reads it once (refs #312) Ruling cb252e88. Firefox's AXWebArea reads {0, 0, 0, 0} on the observation that turns Gecko's accessibility on, its page's frames already real, so the record gave no page node a shown part and every page click from that screenshot was refused as interactiveHit. unplacedFrame (the exact zero rect) cuts nothing in the record, the element route's visibleFrame, the walk's selection and the re-fetch's order; a zero-size frame at a place (a collapsed scroll area) still hides. On an observation whose enablement step set freshSince, the first such frame waits until 1 s after that step (never past half the walk's deadline) and is read once more; a real frame replaces the first read. Meta: unplacedClips, clipReread real|unplaced, clipRereadMs, whitelisted into cua/observation. Sminos-Session: cursor235#b93055dd (cua on macbook)
The rule (an unplaced clipping frame cuts nothing; the enabling observation re-reads it once, 1 s after its enablement step), ruling cb252e88, the measured mechanism from #287's runs, the scope chosen (the exact zero rect, any clipping role; a collapsed clip at its place still hides), the limits, the offline proof and what the hosted check must verify on Firefox. Sminos-Session: cursor235#b93055dd (cua on macbook)
…ry 100 ms up to its 1 s bound (refs #312) Ruling 9d97e82a on the hosted check (run 42394416982): the single re-read at the 1 s point found the frame real in 22 of 22 but cost Firefox's first observation about 860 ms, the frame arriving about 0.55 s after that observation ended. ClipRereadPoll reads the frame again every clipRereadPollMs (100 ms), stopping at the first that is a place or once clipRereadDue passes (1 s after the enablement, never past half the deadline), and reads at least once. Still one clip per observation. Meta: clipRereadMs is the poll's time, clipRereadReads its reads (whitelisted). Spec entry and evidence README amended; the poll's hosted numbers are left to fill. Sminos-Session: cursor235#b93055dd (cua on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Firefox's first screenshot after cua turned its accessibility on refused every click on the page, and now it doesn't. The observation that enables Gecko's accessibility reported the AXWebArea's frame as {0,0,0,0}. AXWebArea clips, so no page node had a shown part, and the stale-point guard refused every page click from that screenshot as
interactiveHit: 14 of 14 on hosted Firefox 159.Closes #312
The rule (design session rulings cb252e88 and 9d97e82a; the spec's #312 Decision Log entry)
cua/observationand the timings) gainsclipReread(realorunplaced),clipRereadReadsandclipRereadMs, plusunplacedClipswhen a frame stays unplaced.Plugin 0.27.3.
Limits
clickUnconfirmed, because Gecko refuses first mouse (Gecko: shared-mode page clicks take #282's element route and #283's focus route, since Firefox refuses first mouse #315);Live proof (GitHub-hosted macOS, Firefox 159.0, 2 reps, main 51b473f against the branch)
Evidence is in
docs/evidence/2026-11-07-firefox-webarea/.interactiveHitclickUnconfirmed(#315); the 6 dedicated cells deliverclipReread: realat the first polltotalMs, medianTests and review
Engine: 911 tests (1 skipped: Spike: visible controls under collapsed-frame containers on cut pages (revisit seeding) #304's gated replay), including
UnplacedClipTestsandClipRereadPollTestson a fake clock. A 33-case mutation script removes each part of the rule, one at a time, and each removal fails at least one test.The service tests: 38 of 38 pass.
reviewer-high: CORRECT on 51b473f..93c2b20 and on the poll amendment 93c2b20..2fda5e7, with no findings.
CI:
The head adds only the evidence numbers.
Sminos-Session: cursor235#b93055dd (cua on macbook)