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

Side by Side Diff: LayoutTests/touchadjustment/context-menu-shadow-node.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Touch Adjustment : Handle long press on a shadow DOM element - bug 96 313</title> 4 <title>Touch Adjustment : Handle long press on a shadow DOM element - bug 96 313</title>
5 <script src="../fast/js/resources/js-test-pre.js"></script> 5 <script src="../fast/js/resources/js-test-pre.js"></script>
6 <script src="resources/touchadjustment.js"></script> 6 <script src="resources/touchadjustment.js"></script>
7 <style> 7 <style>
8 #sandbox { 8 #sandbox {
9 background: #00f; 9 background: #00f;
10 position: absolute; 10 position: absolute;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 { 45 {
46 if (window.testRunner && window.internals && internals.touchNodeAdjusted ToBestContextMenuNode && internals.ensureShadowRoot) { 46 if (window.testRunner && window.internals && internals.touchNodeAdjusted ToBestContextMenuNode && internals.ensureShadowRoot) {
47 description('Test touch adjustment for context-menu gestures on a sh adow-DOM element.'); 47 description('Test touch adjustment for context-menu gestures on a sh adow-DOM element.');
48 addShadowDOM(); 48 addShadowDOM();
49 // Test that a long press centered on a shadow-DOM element does not crash. 49 // Test that a long press centered on a shadow-DOM element does not crash.
50 testTouchPointContextMenu(touchPoint(80, 20, 10), null); 50 testTouchPointContextMenu(touchPoint(80, 20, 10), null);
51 } 51 }
52 } 52 }
53 runTests(); 53 runTests();
54 </script> 54 </script>
55 <script src="../fast/js/resources/js-test-post.js"></script>
56 </body> 55 </body>
57 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698