Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Fix for auto width/height <rect> elements #26

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

tybruffy
Copy link

This is a fix for #21. I'm not sure it's perfect, but it uses getBoundingClientRect to get the actual width/height and overwrites the auto declarations for width and height when acting on <rect> elements.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant