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) |
+ |
+ |