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..9fb811bd6560db178bedbf6f0b53089bc3f3e659 |
--- /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> |
esprehn
2013/12/06 22:19:20
nit: these tests switch from single to double quot
Rick Byers
2013/12/07 03:13:36
Dammit, I fixed this once then added new occurrenc
|
+<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> |
+ |