什么是Chrome开发工具“命中测试”?时间表条目? [英] What is the Chrome Dev Tools "Hit Test" timeline entry?

查看:126
本文介绍了什么是Chrome开发工具“命中测试”?时间表条目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在查看Chrome Dev Tools时间线时,我注意到每次发生某些事情时都会出现Hit Test条目:

p>

有人知道它是什么吗?



谢谢!

解决方案

一个命中测试是如何检查联系人(鼠标/触摸)事件,以查看它在DOM中命中的内容。

https://www.chromium.org/developers/design-documents/compositor-hit-测试描述了这一点。


When looking at a Chrome Dev Tools timeline I noticed that there was a "Hit Test" entry every time somethings happens:

Does anyone know what it is? I've done my googling, but am still at a loss.

Thanks!

解决方案

A hit test is how a contact (mouse/touch) event is checked to see what it "hit" in the DOM.

https://www.chromium.org/developers/design-documents/compositor-hit-testing describes some of this.

这篇关于什么是Chrome开发工具“命中测试”?时间表条目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆