Re: TouchEvent sub-pixel precision

On Wed, May 21, 2014 at 10:44 PM, Simon Pieters <simonp@opera.com> wrote:

> On Tue, 20 May 2014 21:09:43 +0900, Sangwhan Moon <smoon@opera.com> wrote:
>
>  While it makes sense, the IDL as it looks like today was mostly because of
>> interoperability with the existing implementations. In practice, this will
>> make very little difference in the code that makes use of the events so
>> it's probably very safe to make the changes. (I can't think of any cases
>> this would break content from the back of my head, at least)
>>
>
> See https://www.w3.org/Bugs/Public/show_bug.cgi?id=24159#c2 for
> MouseEvents compat.
>
>
>  I'm not sure if we can get all implementations to agree on this (I know
>> one
>> that probably won't change, which is why we had to pull some of the stuff
>> out to the extensions note..) - and sadly I don't think we'll ever
>> implement fractional coordinates on Presto. Will Gecko adopt these changes
>> as well? (Opera 20+ sadly does not count as a independent implementation,
>> afaik - if Blink is the only implementation that is intending to implement
>> the change - personal opinion is to keep it as is, even if it's not very
>> pretty)
>>
>
> WebKit recently implemented sub-pixel return values for some things, I'm
> not sure if it included TouchEvents or not.
>

Just checked. Seems to still be a long in WebKit land. (Mouse event
coordinates also seem to still be long, do you remember which ones got
subpixel return values?)

-- 
Sangwhan Moon [Opera Software ASA]
Software Engineer | Tokyo, Japan

Received on Wednesday, 21 May 2014 16:16:31 UTC