Chromium Code Reviews| 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..5af9d7bc2ba551922e9e48f53e4cf7e12f7e4fe4 |
| --- /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{ |
|
davve
2015/03/18 15:20:39
Adding 'body { margin: 0 }' and changing coordinat
|
| + background-color:red; |
| + border-radius: 50px; |
| +} |
| +</style> |
| +</head> |
| +<body> |
| +<img src="./resources/favicon.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> |