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

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

Issue 1162083003: Re-enable TouchAction Simple test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove extra whitespace Created 5 years, 6 months 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
« no previous file with comments | « Source/web/tests/TouchActionTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 [expected-action=manipulation]::before { 54 [expected-action=manipulation]::before {
55 content: "MANIPULATION \2190 "; 55 content: "MANIPULATION \2190 ";
56 } 56 }
57 57
58 body { 58 body {
59 /* Leave gap for test to scroll down */ 59 /* Leave gap for test to scroll down */
60 padding-top: 100px; 60 padding-top: 100px;
61 /* Ensure pages are scrollable for manual testing */ 61 /* Ensure pages are scrollable for manual testing */
62 height: 2000px; 62 height: 2000px;
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 Arial;
tdresser 2015/06/03 17:54:53 I think you want "font:", not "font-size", don't y
Rick Byers 2015/06/03 18:03:03 If it's text metrics differences causing instabili
65 white-space: nowrap; 65 white-space: nowrap;
66 } 66 }
67 67
68 .scroll { 68 .scroll {
69 overflow: scroll; 69 overflow: scroll;
70 height: 50px; 70 height: 50px;
71 } 71 }
72 .spacer { 72 .spacer {
73 height: 500px; 73 height: 500px;
74 } 74 }
75 75
76 .marker { 76 .marker {
77 position: absolute; 77 position: absolute;
78 opacity: 0.5; 78 opacity: 0.5;
79 /* Note, if changing size, be sure to change kMarkerSize in JS too */ 79 /* Note, if changing size, be sure to change kMarkerSize in JS too */
80 width: 6px; 80 width: 6px;
81 height: 6px; 81 height: 6px;
82 background-color: red; 82 background-color: red;
83 } 83 }
OLDNEW
« no previous file with comments | « Source/web/tests/TouchActionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698