Skip to content

Default to 0 for offsetWidth or offsetHeight#181

Open
benrudolph wants to merge 1 commit intojaz303:masterfrom
benrudolph:patch-1
Open

Default to 0 for offsetWidth or offsetHeight#181
benrudolph wants to merge 1 commit intojaz303:masterfrom
benrudolph:patch-1

Conversation

@benrudolph
Copy link

In firefox an SVG element returns undefined when you call offsetWidth. It should fallback to 0 (Chrome returns 0).

In firefox an SVG element returns `undefined` when you call `offsetWidth`. It should fallback to 0 (Chrome returns 0).
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.

1 participant