You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Focus ring sweep rejects a painted tab ring because of CSS whitespace #4412
The focus-ring sweep stops at #pr-flow-tab because its expected CSS selector fragment contains .lf-rendered:has(> :is(lf-tab, lf-part), while the browser reports a newline after :has(. The diagnostic shows the intended lf-tabs.lf-rendered ring is drawn, is local to the sample, and has a paint rule; the substring comparison rejects its formatting.
Reproduced with uv run pytest tests/journeys/test_render_controls.py::test_each_sampled_focus_ring_is_shown_whole_in_its_surface -q -n0 on main before #4405, and again after its specimen update. An isolated run selecting only the #pr-flow-tab page sample also fails against #4405's base. This is separate from #4241's missing plan disclosure and from #4125's clipped-ring design decision.
The repair should make paint-rule identification independent of insignificant CSS formatting at its shared boundary, preserving the assertion that the intended rule actually painted the sampled ring. Inspect the other expected-rule fragments before choosing a normalization or matching approach, and rerun the complete sweep to expose any later findings.
#4413 fixes the formatting mismatch by reading Chromium's serialized selectors while retaining its matched-selector selection. The isolated tab specimen fails on the base and passes with the fix; the regression and other focused ring checks pass, and all gating PR checks passed on 6124f9e44. The dedicated automated landing run now owns the merge.
The full sweep passes the tab specimen, then exposes a separate stale paragraph-ring expectation in release-notes. That failure also reproduces on unchanged main and is tracked in #4414.
Activity
fix: sample an existing disclosure in the focus ring sweep (#4405)
leaf-agent commentedon Oct 27, 2026
#4413 fixes the formatting mismatch by reading Chromium's serialized selectors while retaining its matched-selector selection. The isolated tab specimen fails on the base and passes with the fix; the regression and other focused ring checks pass, and all gating PR checks passed on
6124f9e44. The dedicated automated landing run now owns the merge.The full sweep passes the tab specimen, then exposes a separate stale paragraph-ring expectation in release-notes. That failure also reproduces on unchanged main and is tracked in #4414.
fix: identify focus ring rules from serialized selectors (#4413)