Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace getBoundingClientRect by getBBox where appropriate #2672

Merged
merged 1 commit into from
Aug 10, 2019

Conversation

panthony
Copy link
Contributor

@panthony panthony commented Aug 8, 2019

Note that SVGRect, returned by getBBox, only contains {x,y,width,height}
and not {top,left}.

It closes #2614

Note that SVGRect, returned by getBBox, only contains {x,y,width,height}
and not {top,left}.
@codecov-io
Copy link

Codecov Report

Merging #2672 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2672   +/-   ##
=======================================
  Coverage   80.13%   80.13%           
=======================================
  Files          57       57           
  Lines        4520     4520           
=======================================
  Hits         3622     3622           
  Misses        898      898
Impacted Files Coverage Δ
src/shape.bar.js 98.64% <100%> (ø) ⬆️
src/util.js 100% <100%> (ø) ⬆️
src/axis-internal.js 94.88% <100%> (ø) ⬆️
src/text.js 98.68% <100%> (ø) ⬆️
src/axis.js 97.55% <100%> (ø) ⬆️
src/data.js 84.52% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4c971c...fbf8319. Read the comment docs.

1 similar comment
@codecov-io
Copy link

codecov-io commented Aug 8, 2019

Codecov Report

Merging #2672 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2672   +/-   ##
=======================================
  Coverage   80.13%   80.13%           
=======================================
  Files          57       57           
  Lines        4520     4520           
=======================================
  Hits         3622     3622           
  Misses        898      898
Impacted Files Coverage Δ
src/shape.bar.js 98.64% <100%> (ø) ⬆️
src/util.js 100% <100%> (ø) ⬆️
src/axis-internal.js 94.88% <100%> (ø) ⬆️
src/text.js 98.68% <100%> (ø) ⬆️
src/axis.js 97.55% <100%> (ø) ⬆️
src/data.js 84.52% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a4c971c...fbf8319. Read the comment docs.

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Let's try this.

LGTM

@kt3k kt3k merged commit 40cb182 into c3js:master Aug 10, 2019
beninsocrata pushed a commit to socrata/c3 that referenced this pull request Oct 31, 2019
Note that SVGRect, returned by getBBox, only contains {x,y,width,height}
and not {top,left}.
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.

getBoundingClientRect() returns different values in Chrome and FireFox
3 participants