Skip to content

fix: recognize retained menu line measurements in the write watch - #4588

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4435
Oct 28, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-4435

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The DOM-write watch now credits the menu's remove-and-restore measurement of its line limits, while continuing to reject direct repeated assignments. Reopening during the closing fade retains the status nodes; holdMenu removes the previous opening's limits, measures the fresh text, and reapplies them. Equal dimensions therefore produce a necessary round trip that the watch previously rejected.

This preserves #4393's retained menu controls and scroll position. That change removed the previous teardown on reopening, exposing the watch's assumption that an attribute returning to its original value did no useful work. The correction is confined to the held marker and line-limit-only styles passing through removal; it does not exempt arbitrary writes on these nodes. No product rendering changes.

Validation: the new sensor regression fails before the correction and passes afterward, with controls proving direct restatements still report errors. Nine focused browser checks pass: both sensor cases, all six cases in the report, and the open-menu news stability case. Before the correction, five of the six reported cases reproduced the teardown diagnostic on current main; all six test bodies passed. The earlier CI artifact from run 40470206147 records all six cases passing before #4393.

Closes #4435 — automated triage

Reopening a fading menu after #4393 retains its status nodes. Removing their old line limits before measuring and restoring equal limits is necessary layout work, not an unchanged assignment. Credit only that remove/restore pattern and retain direct-write controls. No product behavior changes.

Closes #4435
@leaf-agent
leaf-agent merged commit a2f3b9a into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4435 branch October 28, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panel state teardown reports repeated data-held writes

1 participant