Repository navigation
Engine walk: an AXColumn among a wide list's shown children waits unread in rule C's last queue (#310) - #347
Merged
Merged
Conversation
…ead in rule C's last queue, its role read with its frame (refs #310) The design session's ruling d9f6902b amends #304's ruling f1a7589f: an AXColumn is no shown child for the invariant, its cells being read through their rows; header cells and the header group stay judged, and a column still prints when the budget has room. WideListInvariantTests encode the exemption and both conditions. Sminos-Session: cursor235#b93055dd (cua on macbook)
Sminos-Session: cursor235#b93055dd (cua on macbook)
…, its Decision Log entry, the evidence, and 0.27.18 (refs #310) 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. |
…de rule C's, and 0.27.21 at its merge turn (refs #310) Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 9, 2026
… main merged (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 9, 2026
…rs placed only when the reference box held still (#341) (#349) * Engine: the caret's offset is searched over the field's boxes by line, then x, the linear scan deciding only what the search cannot (refs #290) A bisection in reading order finds the point's line and its place on it, and #283's linear scan over the few characters there places the caret; any other answer is the linear scan's over the whole value (within 5,000 characters) or over 5,000 around where the search ended, so no field is refused for its length. Unusable boxes are stepped past, never inferred across; boxes out of reading order and right-to-left text are not searched. Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: a right-to-left value past 5,000 characters keeps #283's refusal, nothing read, as no search gives a window near the point (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Docs: #290's Decision Log entry, its stated limits and #341, the hosted evidence, and 0.27.17 (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: boxes out of reading order past the linear scan's reach are refused, not answered from a window near where the search stopped (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Docs: #290's disorder refusal past 5,000 characters and its one-style precondition, in the entry and the evidence (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: the caret search reads the text's direction from its first characters, and checks the boxes it read on every way out (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Plugin: #290 takes 0.27.19, after #330's 0.27.16, #303's 0.27.17 and #310's 0.27.18 (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: a text whose first characters have no boxes yet is not searched, an unknown direction authorizing no offset (refs #290) Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: a click into a Chromium textarea computes its caret before any write and places it by AXSelectedTextRange, AXFocused only the fallback, placed only where the field did not scroll (refs #341) AXFocused scrolls Chromium's textarea to its existing caret, so the boxes read after focus described a layout the screenshot never showed (46 of 60 placed claims wrong, run 42568677106). The offset, its fresh wait for boxes included, now comes first; the caret's write focuses the field; a reference character's box read before and after must not move more than a point. #296's guard after the wait now refuses with nothing written. Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: the focus route's comments state #341's order, the caret's write first and AXFocused its fallback (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook) * Docs: #341's Decision Log entry (the caret's write first, AXFocused the fallback, placed only where the field did not move) and the hosted A/B's evidence, run 42578081142 (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook) * Docs: #341's test count after main's merge (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook) * Docs: #341's layoutMoved false negative stated as shipped (finer proof #348), and #296's amendment approved and cross-referenced (ruling 1ea561bc:550) (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: an empty field's exemption from the reference box is re-checked at read-back, so a field a focus handler fills is not placed (refs #341) The review of round 1 (P2): the exemption was fixed before the writes, so a textarea filled and scrolled while taking focus, its caret still at {0, 0}, answered placed with its scroll unproven. It is now layoutMoved. Sminos-Session: cursor235#b93055dd (cua on macbook) * Engine: the reference box is waived only for a field empty before the writes and at read-back, so a field a focus handler clears is not placed either (refs #341) The review of round 2: a field with text, offset 0, cleared by its focus handler read empty at read-back and was waived the proof with its box unreadable after the writes. Both emptiness reads are now required. Sminos-Session: cursor235#b93055dd (cua on macbook) * Plugin: #341 takes 0.27.22, after #347's 0.27.21; the test count with main merged (refs #341) Sminos-Session: cursor235#b93055dd (cua on macbook)
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.
Closes #310
What changed
In
expand(Walk.swift), the shown children of a wide list now have their role read with their frame:roleReadWithFrame, Fetch.swift'sreadFramedRole, one 3-attribute multi-read in place of the frame read. An AXColumn among them goes to rule C'slastlyqueue, in the document's order, instead of being read with the shown run, so it is read only once nothing else is left. The column header cells and the table's header group stay shown children (ruling d9f6902b). When the budget has room, the deferred columns are read and printed as before.Spec: #304's Decision Log entry, item 4, "Amended by #310" (amending ruling f1a7589f's rule B for the bare AXColumn), and a dated #310 entry pointing to it. Evidence:
docs/evidence/2026-11-08-columns-last/. Version 0.27.21, set at its merge turn (main is at 0.27.20 after #343).Why
Chromium frames each table column as the whole table, so #304's rule B always found a column shown and read it. Reading it took up the width rule over its 6,001 cells, at about 28 ms per column. That was most of #304's walk cost: +110 to +323 ms on local-table, -bar and -6k (run 42360213243).
Live (hosted macOS, Chrome for Testing 156; main 364e017 against 6ec647e)
Run https://github.com/SSFSKIM/cua/actions/runs/42561992545: 3 runners, 9 alternating pairs per cell.
The stated limit, and its check (ruling 58a9bdf7). Across both runs, B lost all of a fitting table's columns in 5 of 108 observations: Chromium re-created them mid-walk, and reading them last leaves a longer window for that. Main failed in 4 of 108, one node each. In all 5, every header-row cell printed (the sort targets, reached through the rows). The nodes lost were only AXColumns and, in 4, the synthesized header AXGroup that Chromium lists right after them, framed 1×1 at the web area's origin:
Cost
None added: the role comes in the same multi-read as the frame. The cut tables save 34–567 ms of walk per observation.
Limits
Tests and review
WideListInvariantTestsexempts the bare columns alone. Over Spike: visible controls under collapsed-frame containers on cut pages (revisit seeding) #304's 282 spike trees, 154 are verified, 128 are alias-incomplete and there are 0 violations.testColumnsThatFitStillPrintAndAreReadLasttestAColumnIsNotReadWithTheShownRunAndTheHeaderIstestTheInvariantExemptsTheColumnsAloneOverTablePagesWideListTests.testAColumnsRelistedCellsGoLastUnderACut, updatedswift testpasses: 1,059 tests.plugin,test,engine-swift,parity-browseris GREEN on b915d5b, the head merged with main at 0.27.21: https://github.com/SSFSKIM/cua/actions/runs/42580439467. parity-browser passed on a rerun of its failed job; the first attempt hit the known racy cellapi/browser-playwrightlocator/waitforlocator-contract-diagnostics-no-matches(tech-debt-tracker.md, 2026-10-18). Before the merge, the same set on 336d1c7: https://github.com/SSFSKIM/cua/actions/runs/42573842211Residue
Sminos-Session: cursor235#b93055dd (cua on macbook)