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

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

Issue 220343002: Update touch-action hit-testing to match latest spec changes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> 2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
3 <script src='touch-action-tests.js'></script> 3 <script src='touch-action-tests.js'></script>
4 4
5 <!-- 5 <!--
6 Test a bunch of simple cases where touch-action: none results in a non-fast -scrollable region. 6 Test a bunch of simple cases where touch-action: none results in a non-fast -scrollable region.
7 --> 7 -->
8 8
9 <div expected-action='auto'>Simple div with no explicit touch-action</div> 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> 10 <div class='ta-none' expected-action='none'>Simple div with touch-action: none</ div>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 touch-action should not be inherited by inline elements 44 touch-action should not be inherited by inline elements
45 </span> 45 </span>
46 </div> 46 </div>
47 47
48 <div class='ta-none' style='height: 0; margin-bottom: 100px'> 48 <div class='ta-none' style='height: 0; margin-bottom: 100px'>
49 <span> 49 <span>
50 <div expected-action='none'>touch-action should be inherited by any block de scendants of inline elements</div> 50 <div expected-action='none'>touch-action should be inherited by any block de scendants of inline elements</div>
51 </span> 51 </span>
52 </div> 52 </div>
53 53
54 <div style='height: 0; margin-bottom: 50px'>
Rick Byers 2014/04/02 20:25:20 remove this div. Since you're not specifying a tou
Zeeshan Qureshi 2014/04/04 01:12:31 Done.
55 <svg class='ta-none' expected-action='none' xmlns="http://www.w3.org/2000/svg" >
56 touch-action should be applicable to svg root element
57 </svg>
58 </div>
59
54 <div class='ta-none' style='height: 0; margin-bottom: 50px'> 60 <div class='ta-none' style='height: 0; margin-bottom: 50px'>
55 <svg expected-action='none' xmlns="http://www.w3.org/2000/svg"> 61 <svg expected-action='none' xmlns="http://www.w3.org/2000/svg">
56 touch-action should be inherited by svg root element 62 touch-action should be inherited by svg root element
57 </svg> 63 </svg>
58 </div> 64 </div>
65
66 <div style='height: 0; margin-bottom: 50px'>
Rick Byers 2014/04/02 20:25:20 ditto for above
Zeeshan Qureshi 2014/04/04 01:12:31 Done.
67 <img class='ta-none' expected-action='none' src='white-1x1.png'></img>
68 touch-action should be applicable to img element
69 </div>
70
71 <div class='ta-none' style='height: 0; margin-bottom: 50px'>
72 <img expected-action='none' src='white-1x1.png'></img>
73 touch-action should be inherited by img element
74 </div>
Rick Byers 2014/04/02 20:25:20 probably need a simple column or row case
Zeeshan Qureshi 2014/04/04 01:12:31 Added.
OLDNEW
« Source/web/tests/TouchActionTest.cpp ('K') | « Source/web/tests/TouchActionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698