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

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

Issue 16507017: Initial touch-action main thread implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't add delay param to public API just yet Created 7 years, 1 month 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
(Empty)
1 /*
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.
4 */
5 .ta-none {
6 -ms-touch-action: none;
7 touch-action: none;
8 }
9 .ta-auto {
10 -ms-touch-action: auto;
11 touch-action: auto;
12 }
13
14 /* Make it easy to visualize div boundaries */
15 [expected-action] {
16 margin: 15px;
17 padding: 10px;
18 border: 1px solid blue;
19 max-width: 700px;
20 }
21
22 [expected-action=none]::before {
23 content: "NONE \2190 ";
24 }
25 [expected-action=auto]::before {
26 content: "AUTO \2190 ";
27 }
28
29 body {
30 /* Leave gap for test to scroll down */
31 padding-top: 100px;
32 /* Ensure pages are scrollable for manual testing */
33 height: 2000px;
34 /* Use fixed line height so co-ordinates will be similar in test and browser * /
35 font-size: 20px;
36 white-space: nowrap;
37 }
38
39 .scroll {
40 overflow: scroll;
41 height: 50px;
42 }
43 .spacer {
44 height: 500px;
45 }
46
47 .marker {
48 position: absolute;
49 opacity: 0.5;
50 /* Note, if changing size, be sure to change kMarkerSize in JS too */
51 width: 6px;
52 height: 6px;
53 background-color: red;
54 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698