Chrome Browser 将会用 Microsoft API, 卷动会更加流畅

Chrome Logo

Google Chrome 团队透露,将会改进 Chrome Browser,并采用 Microsoft API,浏览卷动时会更加流畅。

卷动更流畅
现时 Chrome 浏览器在处理 Touch 和 Mouse Events 时会分开处理,Touch events listener 会阻挡浏览卷动。但采用 Microsoft Pointer Events API 就会单一共同处理 Touch 和 Mouse Events,这样的处理方式会使操作卷动会更加流畅。其实在 Mozilla, IE 以至 Opera 都已采用 Microsoft Pointer Events API的,Chrome 也要跟随大势呢。

这个改动应会使 Chrome Browser 操作更加之流畅。Chrome 团队会很快将 Microsoft Pointer Events API 整合,但就未有一个确实的时间表。

Pointer Events offers some technical advantages over the existing use of Touch Events and Mouse Events. Most notably, pointer event listeners never block scrolling, and so replacing all touch event handlers with pointer event handlers will address the main longstanding source of scroll-start jank we see on Android (irrespective of whatever scheduler improvements we’re able to make to better prioritize input handling).

Source: Google Groups

发布留言