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

Unified Diff: LayoutTests/fast/borders/border-radius-hittest-expected.txt

Issue 249133002: hitTest should take care if the location is inside rounded border if border-radius is specified (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
Index: LayoutTests/fast/borders/border-radius-hittest-expected.txt
diff --git a/LayoutTests/fast/borders/border-radius-hittest-expected.txt b/LayoutTests/fast/borders/border-radius-hittest-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4ae9bf5837ae85118350070d18cc43f8d453c999
--- /dev/null
+++ b/LayoutTests/fast/borders/border-radius-hittest-expected.txt
@@ -0,0 +1,14 @@
+This test checks that div block should not get events on clicking outside the rounded border but within the bounding box of the block.
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS document.elementFromPoint(x + 5, y + 5).id is 'container'
+PASS document.elementFromPoint(x + 195, y + 5).id is 'container'
+PASS document.elementFromPoint(x + 5, y + 195).id is 'container'
+PASS document.elementFromPoint(x + 195, y + 195).id is 'container'
+PASS document.elementFromPoint(x + 100, y + 100).id is 'roundedBox'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698