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
test_entering_the_column_or_go_to_restyles_no_cell_or_link_it_passes: entering restyles hundreds of nodes since #7457 ported lf-toc #7499
tests/browser/test_chrome_contracts.py::test_entering_the_column_or_go_to_restyles_no_cell_or_link_it_passes fails with {'20 rows': {'entering': 434, 'Go-to': 549}, '120 rows': {'entering': 534, 'Go-to': 649}}. The restyle count is meant to stay flat with the page's rows, and it now grows. #7457 ported lf-toc to an Effect UI component. This is a cost under root AGENTS.md, "Responsiveness", so the repair has to say whether the extra restyles are the port's light display: contents wrappers (compare #7487) or a probe that counts nodes the port added.
All of these fail on cd2495ac7 (current main when diagnosed) on the Tend runner, running each node id with uv run pytest -n 3. A bisect over main's first-parent commits put the first failing commit at the PR named in the title: each test passes at the commit before it and fails at it.
#7505 fixes this. The extra restyles are real, and they come from a selector rather than the port's display: contents wrappers or the probe. In #7457, the two toc.css rules that let the map's labels take the pointer became .lf-toc-labels a:not([data-lf-toc-off]). With a type and a :not() as its subject, the rule gives Chromium only a to narrow by. So setting data-lf-focus-within on main, or data-lf-go-to-active on body, restyled every link on the page: one per table row, the +100 in the report. The subject now names .lf-toc-link, the class every label link carries. That matches the same links, so nothing drawn changes. The test fails on main and passes on the branch, and the lf-toc label and reveal tests still pass. tend-land owns its CI and landing from here.
Activity
leaf-agent commentedon Nov 28, 2026
#7505 fixes this. The extra restyles are real, and they come from a selector rather than the port's
display: contentswrappers or the probe. In #7457, the twotoc.cssrules that let the map's labels take the pointer became.lf-toc-labels a:not([data-lf-toc-off]). With a type and a:not()as its subject, the rule gives Chromium onlyato narrow by. So settingdata-lf-focus-withinonmain, ordata-lf-go-to-activeonbody, restyled every link on the page: one per table row, the +100 in the report. The subject now names.lf-toc-link, the class every label link carries. That matches the same links, so nothing drawn changes. The test fails onmainand passes on the branch, and thelf-toclabel and reveal tests still pass. tend-land owns its CI and landing from here.