Skip to content

Scale range should exclude margins#1

Open
jdelafon wants to merge 1 commit intoadeveloperdiary:gh-pagesfrom
jdelafon:gh-pages
Open

Scale range should exclude margins#1
jdelafon wants to merge 1 commit intoadeveloperdiary:gh-pagesfrom
jdelafon:gh-pages

Conversation

@jdelafon
Copy link

Since below we have a <rect height={h-y(d.value)} ...>, y(d.value) must never excess h. Because of margins, currently it can and will produce

DOMPropertyOperations.js:147Error: <rect> attribute height: A negative value is not valid. (...)

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