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

Unified Diff: LayoutTests/svg/hittest/svg-isPointInFill-expected.txt

Issue 62943002: Implement SVGGeometryElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add SVGGeometryElement in expected results Created 7 years, 1 month 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/svg/hittest/svg-isPointInFill-expected.txt
diff --git a/LayoutTests/svg/hittest/svg-isPointInFill-expected.txt b/LayoutTests/svg/hittest/svg-isPointInFill-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca2e4c9af58c21ac252a06c290e51c9c5ea675c7
--- /dev/null
+++ b/LayoutTests/svg/hittest/svg-isPointInFill-expected.txt
@@ -0,0 +1,260 @@
+Tests for WK80423 - Make sure hit testing works properly on stroked ellipses.
+
+On success, you will see a series of "PASS" messages and no "FAIL" messages.
+
+Testing isPointInFill/isPointInStroke
+isPointInFill() throws exception
+isPointInStroke() throws exception
+Testing fill with pointer event visibleFill and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visibleStroke and visibility=visible
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visiblePainted and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event fill and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event stroke and visibility=visible
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event painted and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visible and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event all and visibility=visible
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event none and visibility=visible
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visibleFill and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visibleStroke and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visiblePainted and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event fill and visibility=hidden
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event stroke and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event painted and visibility=hidden
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event visible and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event all and visibility=hidden
+PASS, as expected ellipse contains point at (150, 150)
+PASS, as expected ellipse contains point at (275, 150)
+PASS, as expected ellipse contains point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing fill with pointer event none and visibility=hidden
+PASS, as expected ellipse does not contain point at (150, 150)
+PASS, as expected ellipse does not contain point at (275, 150)
+PASS, as expected ellipse does not contain point at (250, 225)
+PASS, as expected ellipse does not contain point at (0, 0)
+PASS, as expected ellipse does not contain point at (275, 250)
+
+Testing stroke with pointer event visibleFill and visibility=visible
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visibleStroke and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visiblePainted and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event fill and visibility=visible
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event stroke and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event painted and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visible and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event all and visibility=visible
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event none and visibility=visible
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visibleFill and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visibleStroke and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visiblePainted and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event fill and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event stroke and visibility=hidden
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event painted and visibility=hidden
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event visible and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event all and visibility=hidden
+PASS, as expected ellipse stroke contains point at (275, 250)
+PASS, as expected ellipse stroke contains point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+Testing stroke with pointer event none and visibility=hidden
+PASS, as expected ellipse stroke does not contain point at (275, 250)
+PASS, as expected ellipse stroke does not contain point at (300, 200)
+PASS, as expected ellipse stroke does not contain point at (375, 375)
+PASS, as expected ellipse stroke does not contain point at (0, 0)
+PASS, as expected ellipse stroke does not contain point at (150, 150)
+
+

Powered by Google App Engine
This is Rietveld 408576698