Skip to content

test(browser): measure a fixed bar inside a zero-height header, and find the script row by word - #59

Merged
Ardnived merged 1 commit into
mainfrom
fix/browser-zero-height-header
Oct 5, 2026
Merged

Ardnived merged 1 commit into
mainfrom
fix/browser-zero-height-header

Conversation

@Ardnived

@Ardnived Ardnived commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Two lane bugs that the first full run after #58 surfaced. Neither is a plugin defect.

  • Fluida, "and its masthead outlived the band", FAIL at laptop and small-laptop. The page is correct: the logo, the menu and the breadcrumbs are there, the header image is gone, and the full map shows. On desktop, Fluida's <header id="masthead"> measures 0px tall because its menu bar sits in a fixed child (#site-header-main, 100px). The lane dropped zero-height headers. It now measures a zero-height header by its children.
  • The status-panel lookup /script/i matched "Page description". So strip-module's "script row is red" and every "script row is green" read the wrong row. It was reported as KNOWN, so nothing failed. It now matches the whole word, which finds "Map script".

Test results

  • I measured Fluida's header boxes inside the lane at laptop size: HEADER#masthead is at top 100 with height 0. DIV#site-header-main is at top 0 with height 100, position fixed.
  • ⚠ Neither fix has been re-run yet. Every rerun stalled because the machine went into sleep during the run. Before merging, run pnpm test:browser --only fluida,strip-module,elementor-full-width,popularfx.
  • popularfx failed in that full run with "Could not download popularfx.latest-stable.zip". That was a network failure, and wordpress.org answers again now.

Notes for reviewer

Test-only change: nothing here ships in the zip.

🤖 Generated with Claude Code

…ind the script row by word

Two lane bugs, both surfaced by the first full run after #58:

- Fluida's desktop `<header id="masthead">` measures 0px, with its menu in a
  fixed child, so "its masthead outlived the band" failed on a page whose
  masthead is plainly there. A zero-height header is now measured by its
  children.
- The status-panel lookup `/script/i` matched "Page description", so the
  strip-module cell's "script row is red" and every "script row is green"
  read the wrong row. It now matches the word.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ardnived Ardnived mentioned this pull request Oct 4, 2026
3 tasks done
@Ardnived
Ardnived merged commit 850d500 into main Oct 5, 2026
7 checks passed
@Ardnived
Ardnived deleted the fix/browser-zero-height-header branch October 5, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant