OLD | NEW |
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="../resources/js-test.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; |
11 top: 0px; | 11 top: 0px; |
12 left: 0px; | 12 left: 0px; |
13 width: 100px; | 13 width: 100px; |
14 height: 100px; | 14 height: 100px; |
15 } | 15 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |