Bug 242189 - Support subpixel precision in pageX, pageY and scrollTop
Summary: Support subpixel precision in pageX, pageY and scrollTop
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad iOS 15
: P2 Normal
Assignee: Nobody
URL: https://ollm.dev/pagex/pagex.html
Keywords: InRadar
Depends on:
Reported: 2022-06-30 07:12 PDT by Oleguer Llopart
Modified: 2022-07-07 07:13 PDT (History)
5 users (show)

See Also:

Subpixels in Chrome Android (2.26 MB, video/mp4)
2022-06-30 07:12 PDT, Oleguer Llopart
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleguer Llopart 2022-06-30 07:12:20 PDT
Created attachment 460580 [details]
Subpixels in Chrome Android

Example URL:

Safari currently returns integer values in pageX, pageY, scrollTop, clientX, etc in safari for iOS (I haven't tested it in safari for macOS), this causes transitions that depend on these properties to look rough, especially the more DPI the device has. Currently chrome for Android already supports subpixiles for pageX, pageY, scrollTop, etc.

Example video in Safari iOS: https://drive.google.com/file/d/1snoRR0diab9nZ_jU2a6i-bBUcSvMGo-e/view?usp=sharing

Example video in Chrome Android: https://drive.google.com/file/d/1RBj6Ae1A-xNeKwPVQnDZzbcLn3-y2EtQ/view?usp=sharing
Comment 1 Radar WebKit Bug Importer 2022-07-07 07:13:13 PDT