Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 } |
| OLD | NEW |