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

Add getClientRects and getBoundingClientRect stubs to Range #3533

Closed
wants to merge 3 commits into from

Conversation

jeffrifwald
Copy link

Adds Rect methods to Range following the current implementation of the Element.prototype.getBoundingClientRect and Element.prototype.getClientRects stubs.

Should address #3002

@domenic
Copy link
Member

domenic commented May 27, 2023

As discussed in #2751, we're not clear on the right path for these sorts of stubs, and it'd be better to address them holistically.

Additionally, we'd want to introduce proper implementations of DOMRect, instead of using POJSOs.

So, if you're interested in pursuing this, I'd suggest:

I'm sorry that this is more work than you might have anticipated.

@domenic domenic closed this May 27, 2023
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.

None yet

2 participants