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

Unified Diff: third_party/WebKit/LayoutTests/hittesting/image-with-clip-path-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-clip-path-expected.txt
diff --git a/third_party/WebKit/LayoutTests/hittesting/image-with-clip-path-expected.txt b/third_party/WebKit/LayoutTests/hittesting/image-with-clip-path-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1f485b8cf3ab3028c9ed557564f171cb4a7badc5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/hittesting/image-with-clip-path-expected.txt
@@ -0,0 +1,19 @@
+Image hit testing should not include clipped-out regions.
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS document.elementFromPoint(75, 125).id is not 'imageWithReferenceClipPath'
+PASS document.elementFromPoint(125, 75).id is 'imageWithReferenceClipPath'
+PASS document.elementFromPoint(75+100, 125).id is not 'imageWithShapeClipPath'
+PASS document.elementFromPoint(125+100, 75).id is 'imageWithShapeClipPath'
+PASS document.elementFromPoint(100, 225).id is not 'transformedWithReferenceClipPath'
+PASS document.elementFromPoint(135, 175).id is not 'transformedWithReferenceClipPath'
+PASS document.elementFromPoint(115, 175).id is 'transformedWithReferenceClipPath'
+PASS document.elementFromPoint(120, 225).id is 'transformedWithReferenceClipPath'
+PASS document.elementFromPoint(100+100, 225).id is not 'transformedWithShapeClipPath'
+PASS document.elementFromPoint(135+100, 175).id is not 'transformedWithShapeClipPath'
+PASS document.elementFromPoint(115+100, 175).id is 'transformedWithShapeClipPath'
+PASS document.elementFromPoint(120+100, 225).id is 'transformedWithShapeClipPath'
+

Powered by Google App Engine
This is Rietveld 408576698