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

fix: [#1161] Implement DOMReact and DOMReactReadOnly interfaces #1402

Merged
merged 3 commits into from May 6, 2024

Conversation

domakas
Copy link
Contributor

@domakas domakas commented Apr 12, 2024

Resolves #1161

Implements DOMReact and DOMReactReadOnly classes according to spec https://drafts.fxtf.org/geometry/#DOMRect

Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution @domakas! 🌟

I changed the protected properties to be Symbol properties instead, so that they won't be accessible by the consumer. I also added a conversion to Number() according to spec in the constructor.

@capricorn86 capricorn86 merged commit 2a8030f into capricorn86:master May 6, 2024
3 checks passed
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.

element.getBoundingClientRect().toJSON() does not exist
2 participants