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

Unified 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: Move visibleForTouchAction() to cpp file 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/touch-action-simple.html
diff --git a/Source/web/tests/data/touch-action-simple.html b/Source/web/tests/data/touch-action-simple.html
index b98e8d726f4b4fcbd5d37bc909c47c69c4122745..f444314d58f368ae894502b5260481c8d2e19933 100644
--- a/Source/web/tests/data/touch-action-simple.html
+++ b/Source/web/tests/data/touch-action-simple.html
@@ -51,8 +51,33 @@
</span>
</div>
+<svg class='ta-none' expected-action='none' style="height: 50px" xmlns="http://www.w3.org/2000/svg">
+ touch-action should be inherited by svg root element
+</svg>
+
<div class='ta-none' style='height: 0; margin-bottom: 50px'>
<svg expected-action='none' xmlns="http://www.w3.org/2000/svg">
touch-action should be inherited by svg root element
</svg>
-</div>
+</div>
+
+<div>
+ <img class='ta-none' expected-action='none' src='white-1x1.png'></img>
+ touch-action should be applicable to img element
+</div>
+
+<div class='ta-none' style='height: 0; margin-bottom: 100px'>
+ <img expected-action='none' src='white-1x1.png'></img>
+ touch-action should be inherited by img element
+</div>
+
+<table style='margin-left: 15px; margin-bottom: 50px'>
+ <tr class='ta-none'> <td expected-action='auto'>Test Cell</td> </tr>
+</table>
+
+<table style='margin-left: 15px'>
+ <colgroup>
+ <col class='ta-none'>
+ </colgroup>
+ <tr> <td expected-action='auto'>Test Cell</td> </tr>
+</table>
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698