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
Four focus-ring tests read the comment box's outline, which #6800 moved onto ::after #6835
Four browser tests read a focus ring as the outline of the comment box's own element, and fail since #6800 (52258cd8b) moved that ring onto the box's ::after so it draws over Send and errors. #6800 sets outline: none on the box and draws outline: var(--lf-focus-ring) on ::after (browser/styles/components/response.css for a card's reply, browser/styles/floating-panel.css for .lf-fp-field).
Failing in run 45104895190 on 10ac9da49, the first push run on main after #6800 (the previous push run, on 017ddeccf, passed them):
tests/browser/controls/test_rings.py::test_forced_colors_restore_a_real_outline_to_shadow_focused_fields: ringBox(el)'s computed outline is {'style': 'none', 'width': '3px'}
tests/browser/navigation/test_threads.py::test_forced_colors_keep_inline_thread_focus_visible: the seated card's .lf-compose-field outline is ['none', '3px'], expected ['solid', '2px']
tests/browser/margin/test_card_reply.py::test_a_margin_reply_with_a_pasted_image_keeps_its_editor_and_attachment_visible: no outline is worn on the field or its leaf-text ({'worn': 0, 'ring': 0, 'gap': 8, 'clear': 10})
tests/browser/margin/test_card_reply.py::test_a_growing_margin_reply_keeps_its_whole_ring_from_the_first_frame: the ring colour it samples comes from the field's outlineColor, and no pixel on the ring's top or bottom row matches it ({'top': 0.0, 'bottom': 0.0})
Diagnosis so far: these look test-owned, since each reads the ring where #6800 deliberately stopped drawing it. The ring's place and colour should be read from the box's ::after (and ringBox in focus.js may need to name the pseudo-element's box, or the tests read getComputedStyle(el, '::after')). What remains to check is that each test still protects its behaviour: in forced colours the ::after outline must still be drawn, and the pasted-image clearance must count the ring's width and offset from ::after. Not yet reproduced locally.
Confirmed test-owned. #6800 moved the ring onto ::after on purpose, so the tests were reading a box that no longer draws it. #6840 changes all four tests to read the ring from ::after. The two forced-colours tests still require a real outline there, and the pasted-image clearance now counts the ::after's -1px inset together with the ring's width and offset. test_rings.py's test fails locally on current main, and all four pass on the branch. The PR's CI and landing are handed to tend-land.
Activity
leaf-agent commentedon Nov 23, 2026
Confirmed test-owned. #6800 moved the ring onto
::afteron purpose, so the tests were reading a box that no longer draws it. #6840 changes all four tests to read the ring from::after. The two forced-colours tests still require a real outline there, and the pasted-image clearance now counts the::after's-1pxinset together with the ring's width and offset.test_rings.py's test fails locally on currentmain, and all four pass on the branch. The PR's CI and landing are handed to tend-land.