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

Unified Diff: Source/web/tests/data/touch-action-shadow-dom.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/data/touch-action-overflow.html ('k') | Source/web/tests/data/touch-action-simple.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/touch-action-shadow-dom.html
diff --git a/Source/web/tests/data/touch-action-shadow-dom.html b/Source/web/tests/data/touch-action-shadow-dom.html
new file mode 100644
index 0000000000000000000000000000000000000000..855a583312af629bc8d0b1bb1b92daf5c307a82a
--- /dev/null
+++ b/Source/web/tests/data/touch-action-shadow-dom.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
+<script src='touch-action-tests.js'></script>
+
+<!--
+ Test a bunch of cases involving shadow DOM.
+-->
+<div shadow-host></div>
+<div make-shadow-dom>
+ <div expected-action='auto'>
+ Default touch-action is still auto inside shadow DOM
+ </div>
+</div>
+
+<div shadow-host></div>
+<div make-shadow-dom>
+ <div class='ta-none' expected-action='none'>
+ touch-action: none still applies inside shadow DOM
+ </div>
+</div>
+
+<div class='ta-none' shadow-host></div>
+<div make-shadow-dom>
+ <div expected-action='none'>
+ touch-action: none applies across shadow DOM boundary
+ </div>
+</div>
+
+<div shadow-host>
+ <div expected-action='none'>
+ touch-action: none applies as part of projection
+ </div>
+</div>
+<div make-shadow-dom>
+ <div class='ta-none'>
+ <content></content>
+ </div>
+</div>
+
« no previous file with comments | « Source/web/tests/data/touch-action-overflow.html ('k') | Source/web/tests/data/touch-action-simple.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698