Repository navigation
Description
Native-anchor motion watch misses an independently moved control. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:
tests/browser/test_render_shift_watch.py::test_native_anchor_follows_owned_translation_but_not_an_independent_offset[lower-True]
E AssertionError: [Finding(code='moved-without-input', at='', values={'node': ['#text', 'p#trigger'], 'by': [30, 0], 'beside': [['p#trigger']], 'evidence': {'kind': 'passive', 'node': ['#text', 'p#trigger'], 'fragment': 0, 'paint_at': 788.1000000005588, 'comparisons': [{'before': {'at': 676.5, 'rect': {'x': 10, 'y': 416, 'width': 107.09375, 'height': 18, 'top': 416, 'right': 117.09375, 'bottom': 434, 'left': 10}, 'layout': {'left': 10, 'top': 416}}, 'after': {'at': 788.4000000003725, 'rect': {'x': 40, 'y': 416, 'width': 107.09375, 'height': 18, 'top': 416, 'right': 147.09375, 'bottom': 434, 'left': 40}, 'layout': {'left': 40, 'top': 416}}, 'observed': {'left': 30, 'top': 0}, 'scroll_credit': {'left': 0, 'top': 0}, 'animation_credit': {'left': 0, 'top': 0}, 'residual': {'left': 30, 'top': 0}, 'scroll_terms': [], 'animation_terms': [], 'animations': []}]}}, severity='error', scheme=None, viewports=(), widths=None, samples=())]
E assert False == True
E + where False = names_move([Finding(code='moved-without-input', at='', values={'node': ['#text', 'p#trigger'], 'by': [30, 0], 'beside': [['p#trigger']], 'evidence': {'kind': 'passive', 'node': ['#text', 'p#trigger'], 'fragment': 0, 'paint_at': 788.1000000005588, 'comparisons': [{'before': {'at': 676.5, 'rect': {'x': 10, 'y': 416, 'width': 107.09375, 'height': 18, 'top': 416, 'right': 117.09375, 'bottom': 434, 'left': 10}, 'layout': {'left': 10, 'top': 416}}, 'after': {'at': 788.4000000003725, 'rect': {'x': 40, 'y': 416, 'width': 107.09375, 'height': 18, 'top': 416, 'right': 147.09375, 'bottom': 434, 'left': 40}, 'layout': {'left': 40, 'top': 416}}, 'observed': {'left': 30, 'top': 0}, 'scroll_credit': {'left': 0, 'top': 0}, 'animation_credit': {'left': 0, 'top': 0}, 'residual': {'left': 30, 'top': 0}, 'scroll_terms': [], 'animation_terms': [], 'animations': []}]}}, severity='error', scheme=None, viewports=(), widths=None, samples=())], 'button#control')
The retained diagnosis recorded: macOS native-anchor watch reports the triggering paragraph’s 30px move but misses button#control in lower-True, where fault=True. This is a missed finding, distinct from uncredited-motion reports.
Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.
Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.
Cause of a failure tracked in #4225.
Activity
leaf-agent commentedon Nov 1, 2026
#4976 repairs the test setup: the important
all: revert-layerreset cancelled the injected margin, solower-Trueasked the watch to report a control that stayed at x=350. The fault now wins that reset, and each case verifies its real displacement before judging the watch.The geometry assertion fails with the original injection; all six cases pass with the correction, normally and at 10× CPU throttling. Review and CI remain pending, including a dispatched macOS run on the pushed head. With
await_ci: false, the queued review and Tend landing workflow own verification and landing; this issue stays open until the repair lands.leaf-agent commentedon Nov 3, 2026
The native-anchor watch boundary fails again in scheduled run 41432142330,
test_native_anchor_follows_owned_translation_but_not_an_independent_offset[lower-True]on macOS. This run passes the assertion that the control’s measured displacement equals 130px, then failsnames_move(errors, "button#control") == fault: the findings name only#textinp#trigger, with a 30px move, and omit the control.Unlike the original bad injection, this run reaches and passes the displacement check. Reconcile #4976 and the current fault geometry before choosing a repair; the same missing-control report does not establish that the original injection is still the cause. Reopening preserves the existing ownership of this watch boundary. The deciding traceback is in
pytest-results-test-macos-41432142330-1,tests/browser/test_render_shift_watch.py:4071.leaf-agent commentedon Nov 4, 2026
#5298 fixes the watch. It read
#tip {all:revert-layer!important}as a normal declaration, because Chrome's CSSOM gives a longhand set only by an importantallan empty priority and keeps the importance onall. With that rollback dropped from the important tier,left:anchor(left)!importantlooked like the winning inset, so the watch credited the control's independent 130px margin move to the anchor's equal 130px travel. The watch now falls back to the priority onall.The test is why this showed only on macOS. Its guard styles were added after the page presented, and that restyle moved the control. The watch reports each node once per page, so on Linux that setup move satisfied the assertion before the fault ran. On macOS the move fell inside the presentation window, which exposed the real miss.
lower-Truehas failed in every scheduled macOS run since #4503 added it. The guards now sit in the document's own styles, and the test asserts nothing was reported before the fault. With that setup,lower-Truefails on Linux against the old watch with the macOS finding and passes with the fix.Review and PR CI are pending. With
await_ci: false, the queued review and Tend's landing workflow own verification and the merge. The next scheduledtest-macosrun is what confirms the fix on macOS.