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

Unified Diff: third_party/WebKit/LayoutTests/fast/inline-block/hittest-child-of-inlineblock.html

Issue 1616673005: Revert "Fix-up a wrong hit testing when a parent inline has border radius." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | third_party/WebKit/Source/core/layout/line/InlineBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/inline-block/hittest-child-of-inlineblock.html
diff --git a/third_party/WebKit/LayoutTests/fast/inline-block/hittest-child-of-inlineblock.html b/third_party/WebKit/LayoutTests/fast/inline-block/hittest-child-of-inlineblock.html
deleted file mode 100644
index b4394686db7384827158990bc096f989853e95f6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/inline-block/hittest-child-of-inlineblock.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<style>
-#roundedDiv {
- width: 200px;
- height: 200px;
- border-radius: 5px;
- border: 5px solid transparent;
- display: inline-block;
-}
-#roundedDivChild {
- width: 200px;
- height: 100px;
- margin-left: 400px;
-}
-</style>
-<div id="roundedDiv">
-<div id="roundedDivChild">Mouse over me!<br>The box should turn green.</div>
-</div>
-<div id="log"></div>
-<script>
-test(function(t)
-{
- var element = document.getElementById("roundedDivChild");
- var x = element.offsetLeft + element.offsetWidth / 2;
- var y = element.offsetTop + element.offsetHeight / 2;
-
- var element = document.elementFromPoint(x, y);
- assert_equals(element.nodeName, 'DIV');
- assert_equals(element.id, 'roundedDivChild');
-}, "elementFromPoint should return an element under a point");
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/line/InlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698