Skip to content

Fix black flame graph blocks in Firefox#56

Merged
TheFirstAvenger merged 1 commit intomainfrom
fix/black-flamegraph-firefox-54
Feb 27, 2026
Merged

Fix black flame graph blocks in Firefox#56
TheFirstAvenger merged 1 commit intomainfrom
fix/black-flamegraph-firefox-54

Conversation

@TheFirstAvenger
Copy link
Copy Markdown
Member

Summary

  • Use the SVG fill attribute instead of inline CSS style on <rect> elements in svg.ex
  • Firefox does not reliably apply inline style attributes to SVG elements, causing blocks to render as black
  • fill is a native SVG presentation attribute and more appropriate for this use case

Closes #54

Use the SVG `fill` attribute instead of inline CSS `style` on rect
elements. Firefox does not reliably apply inline style attributes to
SVG elements, resulting in black blocks.
@TheFirstAvenger TheFirstAvenger merged commit baa4e92 into main Feb 27, 2026
1 check passed
@TheFirstAvenger TheFirstAvenger deleted the fix/black-flamegraph-firefox-54 branch February 27, 2026 06:23
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.

BUG Black flame graphs

1 participant