Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1176)

Side by Side Diff: third_party/WebKit/Source/web/tests/data/touch-action-tests.css

Issue 1498923004: Don't reset touch-action zoom state at scrollers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 Use a class to apply touch-action so that we can easily manually check 2 Use a class to apply touch-action so that we can easily manually check
3 the tests for consistent behavior on IE10 as well. 3 the tests for consistent behavior on IE10 as well.
4 */ 4 */
5 * /deep/ .ta-none { 5 * /deep/ .ta-none {
6 -ms-touch-action: none; 6 -ms-touch-action: none;
7 touch-action: none; 7 touch-action: none;
8 } 8 }
9 .ta-auto { 9 .ta-auto {
10 -ms-touch-action: auto; 10 -ms-touch-action: auto;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 /* Use fixed line height so co-ordinates will be similar in test and browser * / 63 /* Use fixed line height so co-ordinates will be similar in test and browser * /
64 font-size: 20px; 64 font-size: 20px;
65 line-height: 1; 65 line-height: 1;
66 white-space: nowrap; 66 white-space: nowrap;
67 } 67 }
68 68
69 .scroll { 69 .scroll {
70 overflow: scroll; 70 overflow: scroll;
71 height: 50px; 71 height: 50px;
72 } 72 }
73 iframe {
74 height: 50px;
75 display: block;
76 margin: 5px;
77 }
73 .spacer { 78 .spacer {
74 height: 500px; 79 height: 500px;
75 } 80 }
76 81
77 .marker { 82 .marker {
78 position: absolute; 83 position: absolute;
79 opacity: 0.5; 84 opacity: 0.5;
80 /* Note, if changing size, be sure to change kMarkerSize in JS too */ 85 /* Note, if changing size, be sure to change kMarkerSize in JS too */
81 width: 6px; 86 width: 6px;
82 height: 6px; 87 height: 6px;
83 background-color: red; 88 background-color: red;
84 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698