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

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

Issue 16507017: Initial touch-action main thread implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: esprehn CR tweaks Created 7 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
(Empty)
1 <!DOCTYPE html>
2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
3 <script src='touch-action-tests.js'></script>
4
5 <!--
6 Test a bunch of simple cases where touch-action: none results in a non-fast -scrollable region.
7 -->
8
9 <div expected-action='auto'>Simple div with no explicit touch-action</div>
10 <div class='ta-none' expected-action='none'>Simple div with touch-action: none</ div>
11
12 <div class='ta-none' style='height: 0; margin-bottom: 50px'>
13 <div expected-action='none'>
14 Touch-action: none is propagated to descendants
15 </div>
16 </div>
17
18 <div class='ta-none' style='height: 0; margin-bottom: 50px'>
19 <div class='ta-auto' expected-action='none'>
20 Explicitly setting touch-action: auto does nothing to prevent propagation of none
21 </div>
22 </div>
23
24 <div style='padding: 20px 0'>
25 <span class='ta-none' expected-action='auto'>Touch-action should be ignored on inline elements
26 <div expected-action='auto'>And not propagated to any block children</div>
27 </span>
28 </div>
29 <p>Below case is broken, should be AUTO - <a href='http://crbug.com/319479'>Bug 319479</a></p>
30 <div class='ta-none' style='height: 0; margin-bottom: 100px'>
31 <span expected-action='none'>
32 touch-action should not be inherited by inline elements
33 <div expected-action='none'>But is inherited by any block descendants of the m</div>
34 </span>
35 </div>
OLDNEW
« no previous file with comments | « Source/web/tests/data/touch-action-shadow-dom.html ('k') | Source/web/tests/data/touch-action-tests.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698