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_a_resolve_s_notice_stands_for_that_resolve_alone: Threads rows move 10 px against a sticky heading's inset when the CPU is slowed #7386
tests/browser/test_render_floating_panel.py::test_a_resolve_s_notice_stands_for_that_resolve_alone fails at its consume_browser_errors call (line 524) on current main (21c613f05) when the CPU is slowed. With uv run pytest -n0 -q --cpu-throttle 3 <node-id> it failed 10 of 10 runs. Unthrottled, it failed 0 of 58 runs alone and once in a parallel (-n 3) selection with #7385 applied.
The test expects the refusal of a held Resolve to move one thing without input: the Resolved row (button.lf-fp-settled), which the leaving Threads view pushes down. Each throttled failure also reports the Threads rows' text moving 10 px up against a sticky-inset credit of 30 px from h3.lf-rows-head (top 0 → 40 px), leaving a −40 px residual:
button.lf-row.lf-fp-settled.lf-disclosure-marker.lf-ui.lf-ui-face moved without input by (0, 75)px; the same frame moved leaf-floating-panel.lf-ui.lf-floating-panel, div.lf-fp-stage
#text in span.lf-row-main moved without input by (0, -10)px
#text in span.lf-row-end moved without input by (0, -10)px
row text evidence: "animation_terms": [{"branch": "sticky_inset", "owner": ["h3.lf-rows-head"], "axis": "top", "amount": 30, "inputs": {"property": "top", "before": "0px", "after": "40px", ...}}], "residual": {"left": 0, "top": -40}
#5727 and #5766 dealt with the settled row's move on this path. The rows' extra move is what this issue tracks. I haven't established whether the page draws that −10 px or the watch misreads the sticky heading's inset. I found this while verifying #7385, which leaves the failure unchanged under throttle.
Diagnosis in progress: #7367 introduced this, and the page does draw the heading 10 px up, though the watch's −40 px residual also shows it credits none of the carry that moves it. No fix yet.
Cause commit. Under --cpu-throttle 3, run alone with -n0, f5b4d7933's parent passes 8 of 8 and f5b4d7933 (#7367, "Keep a floating-panel view that is fading out as it was drawn") fails 4 of 4. Current main (21c613f05) failed on its first throttled run with the same three findings as the report.
What the page draws. I logged each frame's computed styles and rects from the refusal on. The rows that move are the Open group heading (h3.lf-rows-head, its label and count) in the Threads view that is fading out (data-lf-leaving):
frame
leaving view translate
view top
h3top
h3 top on screen
its section's top
first after the refusal
none
771.2
0px
771.2
771.2
next
0px -40px
731.2
40px
761.2
731.2
From the next frame on, only the arriving thread view is drawn. Since #7367, the leaving view keeps its height and is "carried from where it stood (followBox)". Here box-motion carries it 40 px up and counters its sticky heading with top: 40px so the heading keeps its line. The heading's section is only 71 px tall, though, so sticking stops it 30 px down. On screen the heading moves 10 px up, at full opacity, for one starved frame. Before #7367 the leaving view was not held at its own height, and the test passes.
What the watch credits.stickyInsetMotion credits the heading's 30 px within its section. That part is right: within is in its span. The remaining −40 px is the section's ride on the view's translate carry, and the watch credits none of it to the heading's text. With the carry credited, the residual would be the −10 px the page draws, not −40 px.
Open questions. Two questions are still open, and they decide the repair:
Why does the watch's carry credit (carriesWithin / carriedMotion in tests/shift_watch.js) not reach the text in the leaving view? The settled row in the same frame is judged as a 75 px move and also has no carry term. The next experiment is to log whether carrySteps holds the leaving view's animation at that frame, and which of carriesBack / countersCarry / carriesWithin rejects it.
Whether a stuck head should be countered beyond what its containing block lets it stick. Holding the line would mean clamping the counter in dom/box-motion.js. Alternatively the watch could keep failing the 10 px the page really draws. A third option is to not carry a view that is fading out. That would give up part of Keep a floating-panel view that is fading out as it was drawn #7367's intent, so it would need its own issue addressed to its author per "Reading a red suite".
The issue stays open as engineering work. The next step is question 1, which doesn't need a maintainer.
Fixed by #7420 (da94c59), which removed the floating panel's view fade-out. The −10 px move came from the Threads view that was still fading out, which #7367 held at its own height, so its sticky heading could stick only part of the carry. A view now goes in the same paint that draws the next, and the test no longer expects the Resolved row to move.
On main at cd2495a, uv run pytest -n0 -q --cpu-throttle 3 tests/browser/test_render_floating_panel.py::test_a_resolve_s_notice_stands_for_that_resolve_alone passed 3 of 3 runs, where this report saw 10 of 10 fail.
Activity
leaf-agent commentedon Nov 27, 2026
Diagnosis in progress: #7367 introduced this, and the page does draw the heading 10 px up, though the watch's −40 px residual also shows it credits none of the carry that moves it. No fix yet.
Cause commit. Under
--cpu-throttle 3, run alone with-n0,f5b4d7933's parent passes 8 of 8 andf5b4d7933(#7367, "Keep a floating-panel view that is fading out as it was drawn") fails 4 of 4. Currentmain(21c613f05) failed on its first throttled run with the same three findings as the report.What the page draws. I logged each frame's computed styles and rects from the refusal on. The rows that move are the
Opengroup heading (h3.lf-rows-head, its label and count) in the Threads view that is fading out (data-lf-leaving):translateh3toph3top on screen0px -40pxFrom the next frame on, only the arriving thread view is drawn. Since #7367, the leaving view keeps its height and is "carried from where it stood (
followBox)". Here box-motion carries it 40 px up and counters its sticky heading withtop: 40pxso the heading keeps its line. The heading's section is only 71 px tall, though, so sticking stops it 30 px down. On screen the heading moves 10 px up, at full opacity, for one starved frame. Before #7367 the leaving view was not held at its own height, and the test passes.What the watch credits.
stickyInsetMotioncredits the heading's 30 px within its section. That part is right:withinis in its span. The remaining −40 px is the section's ride on the view'stranslatecarry, and the watch credits none of it to the heading's text. With the carry credited, the residual would be the −10 px the page draws, not −40 px.Open questions. Two questions are still open, and they decide the repair:
carriesWithin/carriedMotionintests/shift_watch.js) not reach the text in the leaving view? The settled row in the same frame is judged as a 75 px move and also has no carry term. The next experiment is to log whethercarryStepsholds the leaving view's animation at that frame, and which ofcarriesBack/countersCarry/carriesWithinrejects it.dom/box-motion.js. Alternatively the watch could keep failing the 10 px the page really draws. A third option is to not carry a view that is fading out. That would give up part of Keep a floating-panel view that is fading out as it was drawn #7367's intent, so it would need its own issue addressed to its author per "Reading a red suite".The issue stays open as engineering work. The next step is question 1, which doesn't need a maintainer.
leaf-agent commentedon Nov 28, 2026
Fixed by #7420 (da94c59), which removed the floating panel's view fade-out. The −10 px move came from the Threads view that was still fading out, which #7367 held at its own height, so its sticky heading could stick only part of the carry. A view now goes in the same paint that draws the next, and the test no longer expects the Resolved row to move.
On
mainat cd2495a,uv run pytest -n0 -q --cpu-throttle 3 tests/browser/test_render_floating_panel.py::test_a_resolve_s_notice_stands_for_that_resolve_alonepassed 3 of 3 runs, where this report saw 10 of 10 fail.