1 Test for bug 34714 - onclick is not reliable for transformed SVG elements. This test checks that elementFromPoint() works correctly with an SVG rect element (green) defined within a 1x1 viewbox.
3 On success, you will see a series of "PASS" messages
5 PASS rect contains point @ 1, 1
6 PASS rect contains point @ 1, 399
7 PASS rect contains point @ 399, 1
8 PASS rect contains point @ 399, 399
9 PASS rect contains point @ 200, 200
10 PASS rect does not contain point @ 1, 401
11 PASS rect does not contain point @ 401, 1
12 PASS rect does not contain point @ 401, 401
13 PASS rect does not contain point @ -1, -1