Index: LayoutTests/fast/borders/border-hittest.html |
diff --git a/LayoutTests/fast/borders/border-hittest.html b/LayoutTests/fast/borders/border-hittest.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e8fdae9656a9414e012201af3641a40c1ac05664 |
--- /dev/null |
+++ b/LayoutTests/fast/borders/border-hittest.html |
@@ -0,0 +1,21 @@ |
+<!doctype html> |
+<html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+<style> |
+img{ |
+ background-color:red; |
+ border-radius: 50px; |
+} |
+</style> |
+</head> |
+<body> |
+<img src="./resources/mask.png" width="100px" height="100px" /> |
+<div id="console"></div> |
+</body> |
+<script> |
+description('If this test passes, area outside is body element.'); |
+var element = document.elementFromPoint(100, 100); |
+shouldBe('element.nodeName', '"BODY"'); |
+</script> |
+</html> |