Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / hit-test-unclosed-subpaths.svg
blobb864edd20884012c6abe639f30950b906efd4ac4
1 <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">>
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
3 <script>
4 function clickHandler(evt) {
5 evt.target.style.fill = "green";
6 if (window.testRunner)
7 testRunner.notifyDone();
10 function repaintTest() {
11 if (window.eventSender) {
12 testRunner.waitUntilDone();
13 eventSender.mouseMoveTo(50, 50);
14 eventSender.mouseDown();
15 eventSender.mouseUp();
18 </script>
19 <path onclick="clickHandler(evt)" fill="red" stroke="black" stroke-width="3" d="M 10 10 l 0 100 l 100 0 l 0 -100 M 120 10 l 0 100 l 100 0 l 0 -100"/>
21 <text x="10" y="150">There should be 2 green squares above this (when run under DumpRenderTree)</text>
23 </svg>