耳朵疼痛吃什么药| 伶牙俐齿是什么生肖| 月经发黑是什么原因| 补铁的水果有什么| 菊花不能和什么一起吃| 孕妇吃葡萄对胎儿有什么好处| 哺乳期妈妈感冒了可以吃什么药| 什么是耳鸣| 华佗发明了什么| 什么颜色招财并聚财| 吃什么润肺养肺最快| 鬓角长痘痘是什么原因| 扒皮鱼是什么鱼| 印度总统叫什么名字| 上海仁济医院擅长什么| 亚麻跌是什么意思| 为什么生化妊娠是好事| 肝虚火旺吃什么中成药| 心率低有什么危害| 佛舍利到底是什么| 受惊吓吃什么药| giordano是什么牌子| 胃火大吃什么药效果好| 怀孕初期吃什么食物好| 感冒喉咙痛挂什么科| 五六点是什么时辰| 溶血症是什么意思| 什么是恒牙| 迟脉是什么意思| 一个口一个且念什么字| 一个山一个见读什么| 血沉是什么| 海虫草是什么| 8月11是什么星座| 周易和易经有什么区别| 十二指肠球炎吃什么药| 乌龟和鳖有什么区别| 熬中药用什么锅最好| 膻味是什么意思| 阴囊湿疹用什么药| 乙脑是什么病| 荷花代表什么| 心脏病有什么症状表现| 12月20号是什么星座| 大殓是什么意思| 嬴稷是秦始皇的什么人| 圣母娘娘是什么神| 吃什么养肾| 阴道镜活检是什么意思| 什么原因导致尿酸高| 养精蓄锐是什么意思| 生抽可以用什么代替| 排除是什么意思| 血红蛋白浓度偏高是什么意思| 胃窦黄斑瘤是什么病| 腋下有疙瘩是什么原因| 什么是一二三级医院| 小知了叫什么| 木耳和什么菜搭配好吃| 上午9点是什么时辰| 刀子是什么意思| bp是什么意思| 县长属于什么级别| religion什么意思| dior是什么意思| 吃什么油好| 十二生肖排第一是什么生肖| 冰心原名是什么| 药敏试验是什么意思| 兑水是什么意思| 精液发红是什么原因| 人的本性是什么| 1986年虎是什么命| 西兰花和什么菜搭配| 梦到自行车丢了是什么意思| 情非得已是什么生肖| 芝士和奶酪有什么区别| 九月十五是什么星座的| 火水是什么| 氯丙嗪是什么药| 灰指甲长什么样子图片| mdt是什么| 筵是什么意思| 师姐是什么意思| oa是什么意思| 女生掉头发严重是什么原因| 4.20什么星座| 有眼不识泰山是什么意思| 倏地是什么意思| 羊肉水饺配什么菜好吃| 梦见马是什么预兆| 什么是关键词| 小姑娘月经推迟不来什么原因| 尿道感染有什么症状| 入职体检前要注意什么| 粽子叶子是什么叶子| 大脑缺氧有什么症状| 肾阳虚是什么意思| 度化是什么意思| 血氨高是什么原因| 梦见死尸什么预兆| 火凤凰是什么意思| 公子是你吗是什么歌| 菜板什么木材最好| 手筋痛是什么原因| 性激素六项是什么| 套牌是什么意思| 长瘊子是什么原因| 凌乱是什么意思| dw手表属于什么档次| 养胃是什么意思| 站姐是什么意思| 性病是什么病| 效果图是什么意思| 冠心病吃什么药好| 罗汉果有什么功效| 什么少年| kid是什么意思| 肿瘤标志物是什么| 多多益善什么意思| 阴囊湿疹用什么药膏效果最好| ipa啤酒什么意思| 肚子疼喝什么能缓解| 子宫粘连是什么原因造成的| 戒掉手淫有什么好处| 男人下面胀痛什么原因造成呢| 相濡以沫不如相忘于江湖是什么意思| 儿童鼻窦炎吃什么药| 阳痿吃什么好| 益母草长什么样子图片| 过期的维生素c有什么用途| 黄瓜敷脸有什么功效| 38年属什么生肖| 入心是什么意思| 什么叫包皮过长| 勺是什么意思| 虚岁30岁属什么生肖| 穿山甲是什么动物| 大同有什么好吃的| 稀奶油可以做什么| 脸一边大一边小是什么原因| 子宫肌瘤吃什么食物| 项羽姓什么| cva医学上是什么意思| 倒睫是什么意思| 什么是阴唇| 高抬贵手是什么意思| 端粒酶是什么| 掉头发是什么原因| 口水多是什么原因引起的| 莫名心慌是什么原因| im是什么意思| hds是什么意思| 尿多是什么病| 安康鱼是什么鱼| sid是什么意思| 老年人吃饭老是噎着是什么原因| 神采什么什么| 指甲扁平是什么原因| 属马与什么属相最配| 属兔的跟什么属相最配| 毛囊是什么样子图片| 榴莲与什么食物相克| 什么是强迫症有哪些表现| 婴儿游泳有什么好处和坏处| 什么雅| 晚上睡觉脚抽搐是什么原因| 三板斧是什么意思| 人大是干什么的| 锲而不舍下一句是什么| 血脂异常什么意思| 阑尾炎可以吃什么水果| 女人什么时候最想男人| 忠贞不渝是什么意思| 缺磷吃什么食物好| 2043年是什么年| 堪忧是什么意思| 真菌感染脚气用什么药| 博物馆里有什么| 儿童补钙吃什么| 复印病历需要什么证件| 一根葱十分钟什么意思| 5s是什么意思| 毛泽东是什么样的人| 多囊为什么要吃避孕药| 吃什么增强免疫力| 跛行是什么意思| 伟哥叫什么| 真菌涂片检查是查什么| 7.20是什么星座| 谷丙转氨酶高是什么原因| pisen是什么牌子| 部分空蝶鞍是什么意思| 8月8日什么星座| 尿蛋白是什么症状| 结婚纪念日送什么花| 经常胃胀是什么原因| 肝的反射区在什么部位| 也字少一竖念什么| 龟皮痒用什么药膏| 焦点是什么| 不经历风雨怎能见彩虹是什么意思| 剑桥英语和新概念英语有什么区别| 诡异是什么意思| 什么的什么的词语| 吃完饭就打嗝是什么原因| 鸡后面是什么生肖| 孕晚期破水是什么症状| 什么叫结节| 守护神是什么意思| 孩子感冒发烧吃什么药| 梦见拔牙是什么预兆| 蟾蜍吃什么| 人体出汗多是什么原因| 什么是有机奶粉| dc是什么| 什么是贡菜| 印堂发亮预兆着什么| 补气吃什么好| 煤气罐为什么会爆炸| 顺流而下什么意思| 4月29日是什么星座| 孕妇红细胞偏低是什么原因| 姨妈不正常是什么原因| 吃什么水果减肥| 爸爸的外婆叫什么| 睡觉睁眼睛是什么原因| 片是什么| 塌方是什么意思| 梦见韭菜是什么预兆| 眉梢有痣代表什么| 什么是代孕| 痰湿吃什么药| 浛是什么意思| 心肌炎查什么能查出来| 什么荔枝最贵| 日落胭脂红的下一句是什么| 右耳朵耳鸣是什么原因| 西米是什么做成的| 秦始皇的名字叫什么| 什么什么生机| 吃什么可以长高| 鳄龟吃什么食物| 胃疼需要做什么检查| 眼睛视物模糊是什么原因| 敷设是什么意思| 虎和什么属相不合| 甲状腺结节吃什么水果好| bys是什么药| 提踵是什么意思| 吸毒什么感觉| 糖尿病病人吃什么水果| 吃什么油最健康排行榜| abcd是什么意思| 洗发水和洗发露有什么区别| 画蛇添足告诉我们什么道理| efw是胎儿的什么意思| 一个骨一个宽是什么字| 益生菌不能和什么一起吃| 喘不上来气是什么原因| 水痘是什么病毒| 为什么睡不着觉会胡思乱想| 流感吃什么药| 剪短发什么发型好看| 百度

正三角形是什么

WebKit on iOS has a 350 millisecond delay before single taps activate links or buttons. WebKit has this delay because we also allow users to double tap to zoom, which is a great way to zoom in on content that is well-sized for large desktop displays, but appears too small on mobile devices. However, when a user has tapped once, WebKit cannot tell if the user intends on tapping again to trigger a double tap gesture. Since double tapping is defined as two taps within a short time interval (350ms), WebKit must wait for this time interval to pass before we’re sure that the user intended to tap only once.

We know that responsive tapping is really important to web developers — so much so that many are willing to employ JavaScript frameworks to avoid the delay using touch handlers. Instead of waiting for WebKit to fire a click after a delay, these libraries prevent the default behavior of the touchend event and call click() immediately so that the element is clicked the moment the user stops touching the element. While this may make a link feel fast, it can also reduce responsiveness in other ways, including page load time and scrolling. To address this, we baked fast tapping optimizations into WebKit so well-scaled mobile web pages will be able to achieve responsive tapping out of the box without the drawbacks of third-party frameworks.

On web pages optimized for mobile viewports, elements such as links and form controls are scaled to fit well on smaller screens. As such, double tapping on these elements increases the page scale by only a small amount. Since double tapping provides little value on these web pages, we’ve implemented a mechanism for removing the delay for single taps by disabling double tap gestures.

The following examples show the amount of time required to tap a button 10 times in a page with <meta name="viewport" content="initial-scale=1.0, width=device-width">, with and without the fast-tap optimization. The left video shows the old behavior, while the right video shows the new behavior.


When Fast-Tap Optimizations Apply

When content is scaled to fit well on a mobile device, WebKit disables double tapping in favor of fast single tapping. Using the viewport meta tag, there are a few ways WebKit determines whether content is well-proportioned, for both scalable and unscalable web pages.

Since users cannot zoom in unscalable viewports (using meta tags with user-scalable=no or a minimum-scale equal to the maximum-scale) WebKit assumes that if a page has an unscalable viewport, all content is already well-proportioned relative to the screen. On these pages, WebKit removes the ability to double-tap on elements altogether and dispatches all taps immediately as clicks. We implemented this behavior in Bug #149968.

However, we believe web pages should be scalable when possible. For this reason, viewports that have width=device-width will have fast single tapping when the user is at initial scale. We added this optimization in Bug #150604.

Styling Fast-Tap Behavior

Even if a web page cannot use one of the viewport configurations above, it can still opt in to the fast-tap optimization. We’ve implemented the manipulation value of the new touch-action CSS property in Bug #149854. By default, elements have touch-action: auto, which indicates that WebKit may enable any touch behaviors such as panning, pinching and double-tapping. Putting touch-action: manipulation; on a clickable element makes WebKit consider touches that begin on the element only for the purposes of panning and pinching to zoom. This means WebKit does not consider double-tap gestures on the element, so single taps are dispatched immediately. Single taps on an element become fast when any of the element’s ancestors have the touch-action: manipulation. Note that putting touch-action: manipulation on any node opts all children of the node into the fast-tap optimization.

Additionally, single taps on an element with touch-action: manipulation are fast for all zoom scales, whereas our optimizations on device-width viewports only trigger when the viewport is at initial scale.

If you have questions, comments or other feedback regarding fast-tapping in mobile Safari, feel free to reach out to Jon Davis @jonathandavis or WebKit @webkit on Twitter, or email me directly at wenson_hsieh@apple.com.

视黄醇结合蛋白是什么 人生赢家什么意思 ad什么时候吃最好 女人排卵期是什么时候 才下眉头却上心头是什么意思
炒什么菜适合拌面 自由奔放是什么生肖 低密度脂蛋白胆固醇偏低是什么意思 严什么什么重 1983年出生是什么命
武则天姓什么 泌尿科挂什么科 kitty什么意思 海贼王什么时候出的 718什么星座
角加斗念什么 柠檬泡水喝有什么功效 盆腔炎做什么检查 一什么亮光 衣字旁的字和什么有关
缺钾是什么原因引起hcv9jop0ns6r.cn 不什么不什么的成语hcv9jop5ns0r.cn 爆炸盐是什么hcv8jop1ns0r.cn 什么是脱肛hcv8jop7ns5r.cn 陆代表什么数字hcv7jop6ns2r.cn
修成正果是什么意思qingzhougame.com 小龙虾不能和什么一起吃hcv8jop9ns8r.cn pigeon是什么意思hcv9jop0ns2r.cn 卷腹是什么hcv8jop5ns7r.cn 人次什么意思hcv9jop8ns0r.cn
痘痘肌肤适合用什么牌子的护肤品bfb118.com 限购是什么意思hcv8jop7ns5r.cn 飞字五行属什么hcv9jop1ns6r.cn 牙齿为什么会松动hcv7jop9ns8r.cn 室性早搏是什么意思huizhijixie.com
瑞士为什么这么有钱hcv9jop5ns6r.cn 4.19是什么星座hcv8jop4ns8r.cn 汗臭味很重是什么原因引起的hcv8jop4ns1r.cn 爱新觉罗是什么民族hcv9jop5ns9r.cn 山东都有什么大学zhongyiyatai.com
百度