Test failure fix. I accidentally removed this file that is still used by another
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jul 2014 22:45:00 +0000 (22:45 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 31 Jul 2014 22:45:00 +0000 (22:45 +0000)
test in the directory.

* platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171892 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html [new file with mode: 0644]

index 718d279..e769ec0 100644 (file)
@@ -1,5 +1,12 @@
 2014-07-31  Beth Dakin  <bdakin@apple.com>
 
+        Test failure fix. I accidentally removed this file that is still used by another 
+        test in the directory.
+
+        * platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html: Added.
+
+2014-07-31  Beth Dakin  <bdakin@apple.com>
+
         Hit-testing broken in WebKit 1 views with AppKit's contentInsets
         https://bugs.webkit.org/show_bug.cgi?id=135434
         -and corresponding-
diff --git a/LayoutTests/platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html b/LayoutTests/platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html
new file mode 100644 (file)
index 0000000..a450daa
--- /dev/null
@@ -0,0 +1,20 @@
+<html>
+<head>
+<style>
+    #target {
+        background-color:purple;
+        width:25px;
+        height:25px;
+    }
+</style>
+<script>
+    function clicked() {
+        var result = parent.document.getElementById("result");
+        result.innerHTML = "Pass!";
+    }
+</script>
+</head>
+<body>
+    <div id="target" onclick="clicked()"></div>
+</body>
+</html>