-
Notifications
You must be signed in to change notification settings - Fork 645
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
[cssom-view] No browsers honor "the HTML body element" in offsetTop
#584
Comments
So the issue is that "the HTML body element" refers to
and thus any other I think this is something browsers should fix. Changing the spec on this doesn't make much sense. Probably consider filing bugs to browsers and submitting a web-platform test (or probably css wg test) for this. |
Opened a Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=654963 Opened a Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1309427 |
Thanks. I don't have a strong opinion on this. But if we already have interop on "any body element", then shouldn't we just spec that? |
But that behavior doesn't really make sense... |
It's non-conforming to have a
|
The Chrome team just closed the ticket in their tracker as WONTFIX:
The Firefox ticket is still open. At what point should the spec just be updated to reflect the state of the world now? |
https://drafts.csswg.org/cssom-view/#dom-htmlelement-offsettop
At the time of writing, Safari, Chrome, and Firefox all output 0 and 0 for this.
The text was updated successfully, but these errors were encountered: