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

Unified Diff: third_party/WebKit/LayoutTests/hittesting/image-with-border-radius-expected.txt

Issue 1506053003: Include clip-path and border radius when hit testing boxes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hit test in PaintLayer, add transformed clip path tests Created 5 years 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: third_party/WebKit/LayoutTests/hittesting/image-with-border-radius-expected.txt
diff --git a/third_party/WebKit/LayoutTests/hittesting/image-with-border-radius-expected.txt b/third_party/WebKit/LayoutTests/hittesting/image-with-border-radius-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a579403eafd8ee579bb3f309457c1783a583bf87
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/hittesting/image-with-border-radius-expected.txt
@@ -0,0 +1,16 @@
+The border radius clip should be respected when hit testing images.
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS document.elementFromPoint(x + 20, y + 20).id is 'container'
+PASS document.elementFromPoint(x + 35, y + 35).id is 'roundedImage'
+PASS document.elementFromPoint(x + 60, y + 60).id is 'roundedImage'
+PASS document.elementFromPoint(x + 68, y + 68).id is 'roundedImage'
+PASS document.elementFromPoint(x + 80, y + 80).id is 'roundedImage'
+PASS document.elementFromPoint(x + 230, y + 230).id is 'roundedImage'
+PASS document.elementFromPoint(x + 240, y + 240).id is 'roundedImage'
+PASS document.elementFromPoint(x + 265, y + 265).id is 'roundedImage'
+PASS document.elementFromPoint(x + 275, y + 275).id is 'container'
+

Powered by Google App Engine
This is Rietveld 408576698