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
AssertionError: light overridden grid-template-columns on main > dl:0 #62c3cbde: light and no-preference: grid-template-columns, where the author's overridden value gives '244.422px 244.422px 244.422px 0px', is '177.312px 177.328px 177.312px 177.328px' on main > dl:0
dark overridden grid-template-columns on main > dl:0 #62c3cbde: dark and reduce: grid-template-columns, where the author's overridden value gives '244.422px 244.422px 244.422px 0px', is '177.312px 177.328px 177.312px 177.328px' on main > dl:0
assert not ["light overridden grid-template-columns on main > dl:0 #62c3cbde: light and no-preference: grid-template-columns, where the author's overridden value gives '244.422px 244.422px 244.422px 0px', is '177.312px 177.328px 177.312px 177.328px' on main > dl:0", "dark overridden grid-template-columns on main > dl:0 #62c3cbde: dark and reduce: grid-template-columns, where the author's overridden value gives '244.422px 244.422px 244.422px 0px', is '177.312px 177.328px 177.312px 177.328px' on main > dl:0"]
This report session read the CI diagnostic but did not run a local reproduction or establish the cause. Reconcile current main, open repairs and active Tend work before claiming a fix. Reproduce the focused case, inspect the introducing change’s intent and the current owning contract, and preserve the actual user behavior when deciding whether the fixture or product needs correction. Similar feature names do not establish a shared mechanism; reuse an existing owner if reproduction proves one. Full tracebacks and screenshots are in the run’s pytest-results-* artifact.
Reproduced on main 7075a022d. The cause is #4889's global dl:is(.facts, .lf-facts) > div { display: contents } rule in browser/styles/components/reading.css: the editorial page's three label/value cards become six grid items. Its authored repeat(auto-fit, minmax(10rem, 1fr)) still wins the cascade, but those extra items prevent the fourth track from collapsing. This changes the list from three 244px cards to four 177px tracks in both media.
The remaining choice belongs to @max-sixty: should a page initialized without a theme still opt into Leaf's facts component merely by using the class facts? #4889 deliberately made that component apply outside the reading face so slotted worktree details retain their layout. #5049 explicitly recorded the collision as the class-vocabulary obstacle. Removing that global reach would preserve an ordinary page's own cards, but its replacement must keep the intentionally shared label/value layout in Leaf's surfaces and worktree details. I have left this issue open for that decision rather than pinning the new departure or reversing the component policy.
Focused reproduction and isolating experiment
uv run pytest 'tests/journeys/test_plain_pages.py::test_an_ordinary_page_is_drawn_as_written[editorial]' -q -n0
The test moved from tests/browser/ in #5081. On unchanged main it fails with the reported light/dark grid values, plus changed card sizes. Temporarily restricting only the display: contents wrapper rule to dl.lf-facts > div removes every unexpected difference; the test then fails solely because its old KNOWN size pin no longer occurs. The experiment was reverted; no tracked changes remain. This establishes the mechanism, not a completed fix or a passing regression test.
Max's decision from the backlog triage: go ahead with this repair.
Repair: Core reading.css styles only dl.lf-facts, and dl.facts moves to the reading package, so a page without the theme keeps its own class="facts" layout.
What decides it: SOUL.md: an author who writes good HTML and CSS gets the page they wrote. #5288 gave Leaf's own controls lf- names for the same reason.
This was written by Claude Code on behalf of max-sixty
Opened #5421 with this repair: core reading.css now styles only dl.lf-facts, and the reading theme carries the dl.facts layout. On that branch the editorial plain-page case passes, and the reading-themed states I captured draw the same as on main.
Activity
leaf-agent commentedon Nov 2, 2026
Reproduced on main
7075a022d. The cause is #4889's globaldl:is(.facts, .lf-facts) > div { display: contents }rule inbrowser/styles/components/reading.css: the editorial page's three label/value cards become six grid items. Its authoredrepeat(auto-fit, minmax(10rem, 1fr))still wins the cascade, but those extra items prevent the fourth track from collapsing. This changes the list from three 244px cards to four 177px tracks in both media.The remaining choice belongs to @max-sixty: should a page initialized without a theme still opt into Leaf's facts component merely by using the class
facts? #4889 deliberately made that component apply outside the reading face so slotted worktree details retain their layout. #5049 explicitly recorded the collision as theclass-vocabularyobstacle. Removing that global reach would preserve an ordinary page's own cards, but its replacement must keep the intentionally shared label/value layout in Leaf's surfaces and worktree details. I have left this issue open for that decision rather than pinning the new departure or reversing the component policy.Focused reproduction and isolating experiment
uv run pytest 'tests/journeys/test_plain_pages.py::test_an_ordinary_page_is_drawn_as_written[editorial]' -q -n0The test moved from
tests/browser/in #5081. On unchanged main it fails with the reported light/dark grid values, plus changed card sizes. Temporarily restricting only thedisplay: contentswrapper rule todl.lf-facts > divremoves every unexpected difference; the test then fails solely because its oldKNOWNsize pin no longer occurs. The experiment was reverted; no tracked changes remain. This establishes the mechanism, not a completed fix or a passing regression test.max-sixty commentedon Nov 5, 2026
Max's decision from the backlog triage: go ahead with this repair.
Repair: Core
reading.cssstyles onlydl.lf-facts, anddl.factsmoves to the reading package, so a page without the theme keeps its ownclass="facts"layout.What decides it: SOUL.md: an author who writes good HTML and CSS gets the page they wrote. #5288 gave Leaf's own controls
lf-names for the same reason.leaf-agent commentedon Nov 5, 2026
Opened #5421 with this repair: core
reading.cssnow styles onlydl.lf-facts, and the reading theme carries thedl.factslayout. On that branch the editorial plain-page case passes, and the reading-themed states I captured draw the same as on main.Name a page's Leaf controls by Leaf's own classes, so Leaf styles no …