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

device-pixel-content-box for ResizeObserver #5730

Open
greggman opened this issue Jan 4, 2021 · 0 comments
Open

device-pixel-content-box for ResizeObserver #5730

greggman opened this issue Jan 4, 2021 · 0 comments

Comments

@greggman
Copy link
Contributor

greggman commented Jan 4, 2021

This shipped in Chrome/Edge ~July 2020

https://web.dev/device-pixel-content-box/

There is currently no way other browsers to get the correct size of an element in device pixels in all cases without this API

See spec: https://drafts.csswg.org/resize-observer/#resize-observer-entry-interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants