Commit 775a3cd0 authored by Luis Sanchez Padilla's avatar Luis Sanchez Padilla Committed by Commit Bot

Add touch-action:none to multi touch tests to prevent firing gestures.

These tests might produce gestures due to the pointer moves that are
being fired, but they are not trying to exercise such behavior. They
currently assume a slop region of 15 pixels as a requirement for
gestures to get fired, but if that region shrinks, these tests will
fail. Adding touch-action:none in the target element's style ensures
that no gesture gets produced.

Bug: 1048893
Change-Id: Iabe6c1dbc9a710a5417aa38290ccf37fd958f198
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037960Reviewed-by: default avatarLan Wei <lanwei@chromium.org>
Commit-Queue: Luis Sanchez Padilla <lusanpad@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#738629}
parent 9bd426b0
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<style> <style>
div#test1{ div#test1{
position: fixed; position: fixed;
touch-action: none;
top: 0; top: 0;
left: 0; left: 0;
width: 100px; width: 100px;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<style> <style>
div#test1{ div#test1{
position: fixed; position: fixed;
touch-action: none;
top: 0; top: 0;
left: 0; left: 0;
width: 100px; width: 100px;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<style> <style>
div#test1{ div#test1{
position: fixed; position: fixed;
touch-action: none;
top: 0; top: 0;
left: 0; left: 0;
width: 100px; width: 100px;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<style> <style>
div#test1{ div#test1{
position: fixed; position: fixed;
touch-action: none;
top: 0; top: 0;
left: 0; left: 0;
width: 100px; width: 100px;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<style> <style>
div#test1{ div#test1{
position: fixed; position: fixed;
touch-action: none;
top: 0; top: 0;
left: 0; left: 0;
width: 100px; width: 100px;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment