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

Converge with CSSOM-View #24

Open
garykac opened this issue Oct 7, 2015 · 6 comments
Open

Converge with CSSOM-View #24

garykac opened this issue Oct 7, 2015 · 6 comments

Comments

@garykac
Copy link
Member

garykac commented Oct 7, 2015

Copied from W3C Bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=25928

Anne 2014-05-30 18:27:08 UTC

Seems like it might be time to fix this weirdness: http://www.w3.org/TR/cssom-view/#extensions-to-the-mouseevent-interface

Change stuff from integers to floats, add the missing members, and define the members better.

Comment 1 Travis Leithead [MSFT] 2014-05-30 18:42:11 UTC

Awesome. Thanks for the head's up.

Comment 2 Arthur Barstow 2015-03-21 15:11:51 UTC

Bulk move of all D3E bugs to the UI Events component.

@zcorpan
Copy link
Member

zcorpan commented Mar 14, 2016

@cvrebert
Copy link
Member

See also w3c/csswg-drafts@dc36ecd

@saschanaz
Copy link
Member

saschanaz commented Oct 25, 2020

Do we really want to make them floats when everyone is returning integers? (No objection, just curious)

@saschanaz
Copy link
Member

saschanaz commented Oct 27, 2020

Interesting, Blink somehow still only sends integer values at least on my Surface screen (on Windows).

Edit: Ah it does send .5 values but only for pointer events. Cool. (Tested on https://patrickhlauke.github.io/touch/tests/event-listener-coordinates.html)

image

@zcorpan
Copy link
Member

zcorpan commented Oct 27, 2020

Yeah, indeed. These look like the relevant bugs for MouseEvent:

https://bugs.chromium.org/p/chromium/issues/detail?id=660057
https://bugs.chromium.org/p/chromium/issues/detail?id=456625

They're marked as Fixed. Was it changed back? cc @EiraGe

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

5 participants