diff options
Diffstat (limited to 'testing/web-platform/tests/pointerevents/resources/pointerevent_pointercapture-iframe.html')
-rw-r--r-- | testing/web-platform/tests/pointerevents/resources/pointerevent_pointercapture-iframe.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/pointerevents/resources/pointerevent_pointercapture-iframe.html b/testing/web-platform/tests/pointerevents/resources/pointerevent_pointercapture-iframe.html new file mode 100644 index 0000000000..1007566269 --- /dev/null +++ b/testing/web-platform/tests/pointerevents/resources/pointerevent_pointercapture-iframe.html @@ -0,0 +1,14 @@ +<html id='innerFrameDocument'> +<style> +body { + touch-action:none; +} +</style> + <body id='innerFrame' style='height:500px; width: 500px; padding: 0; margin: 0;'> + <script> + top.document.testEventList.forEach(function(eventName) { + document.addEventListener(eventName, top.handleEvent); + }); + </script> + </body> +</html> |