Skip to content

Restore 15px fallback for TimelineMarkersMemory height - #5981

Merged
fatadel merged 1 commit into
firefox-devtools:mainfrom
fatadel:fix-counter-track-fallback
Apr 28, 2026
Merged

Restore 15px fallback for TimelineMarkersMemory height#5981
fatadel merged 1 commit into
firefox-devtools:mainfrom
fatadel:fix-counter-track-fallback

Conversation

@fatadel

Copy link
Copy Markdown
Contributor

The fallback was dropped in #5944 when the rule moved from TrackMemory.css to TrackCounter.css. TrackThread still renders TimelineMarkersMemory directly on the main thread when a process has no Memory counter track, and that row is not a descendant of any TrackCounter wrapper, so --markers-height is undefined there. Without a fallback the var() resolves to height's initial value (auto), collapsing the row and the canvas inside it.

Add the 15px fallback back so the fallback path renders at its intended height. Counter tracks are unaffected because TrackCounter sets --markers-height explicitly on the wrapper.

The fallback was dropped in firefox-devtools#5944 when the rule moved from TrackMemory.css
to TrackCounter.css. TrackThread still renders TimelineMarkersMemory
directly on the main thread when a process has no Memory counter track,
and that row is not a descendant of any TrackCounter wrapper, so
--markers-height is undefined there. Without a fallback the var()
resolves to height's initial value (auto), collapsing the row and the
canvas inside it.
Add the 15px fallback back so the fallback path renders at its intended
height. Counter tracks are unaffected because TrackCounter sets
--markers-height explicitly on the wrapper.
@fatadel
fatadel requested a review from canovaApril 28, 2026 16:44
@fatadel
fatadel merged commit 035724c into firefox-devtools:mainApr 28, 2026
19 checks passed
@fatadel
fatadel deleted the fix-counter-track-fallback branch April 28, 2026 16:47
@codecov

codecovBot commented Apr 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.25%. Comparing base (c155fdf) to head (91c3d8b).
⚠️ Report is 45 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #5981 +/- ##
==========================================
- Coverage 85.33% 85.25% -0.09% 
==========================================
Files 323 317 -6 Lines 32262 31935 -327 Branches 8895 8753 -142 ==========================================
- Hits 27532 27226 -306 + Misses 4298 4277 -21 
Partials 432 432 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fatadelfatadel mentioned this pull request Apr 28, 2026
fatadel added a commit that referenced this pull request Apr 28, 2026
Changes:
[fatadel] Restore 15px fallback for TimelineMarkersMemory height (#5981)
Sign up for freeto 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.

2 participants

@fatadel@canova