-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
MouseEvent-prototype-offsetX-offsetY.html seems to depend on non-spec-defined behavior #15089
Comments
Actually, we could probably stay with an inline if we set |
Yeah, setting |
No, browsers are still not interoperable even with the Ahem/line-height thing, looks like... |
The test is testing things like the offsetTop of an inline, but this is not actually defined in the CSS specification. Specifically, the relevant text in CSS 2.1, last I checked, is:
and I'm not aware of any later CSS specs that define the behavior.
Since the offsetTop depends on the interaction of the line-height and the heights of the inlines, it's not specified either.
The test should probably use a
display: block
target element instead.@rniwa, thoughts? It looks like you wrote this test.
The text was updated successfully, but these errors were encountered: