bramus / bramus/scroll-driven-animations-debugger-extension

Minimap: SVG elements are incorrectly drawn

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
bug P2
Dominant language
No language data
Stars
59
Forks
2
PR merge metrics
No merged PRs in 30d

Description

E.g. https://cdpn.io/pen/debug/bGORQMM/d1616ec346e06f09d7f34ec667571e2e (forked from https://codepen.io/raphaelgoetter/pen/wvReGKK by @raphaelgoetter to preserve a copy)

The inspected elements don’t have the correct size because `SVGElement` doesn't have `offsetWidth`/`offsetHeight` properties, unlike `HTMLElement.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked CodePen reproduction and inspect how the minimap measures inspected SVG elements, comparing SVGElement with HTMLElement sizing behavior. Done means SVG elements in the minimap have the correct dimensions rather than relying on unavailable offsetWidth or offsetHeight properties.

Written by the indexing model from the issue text.

Assessment

Domain
devtools, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.