Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: LayoutTests/fast/borders/border-hittest.html

Issue 983693002: Hover not working correctly on image with border-radius. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/borders/border-hittest-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/borders/border-hittest-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698