bramus / scroll-driven-animations-debugger-extension

Browser extension to debug Scroll-Driven Animations
40 stars 1 forks source link

Minimap: SVG elements are incorrectly drawn #31

Open bramus opened 1 year ago

bramus commented 1 year ago

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.

bramus commented 1 year ago

Some quick checking tells me this is gonna be a tough one: