4 <title>Concave Paths test
</title>
6 var g_swapsBeforeAck
= 15;
12 function waitForFinish()
14 if (g_swapsBeforeAck
== 0) {
15 domAutomationController
.setAutomationId(1);
16 domAutomationController
.send("SUCCESS");
19 document
.getElementById('paths').style
.zIndex
= g_swapsBeforeAck
+ 1;
20 window
.webkitRequestAnimationFrame(waitForFinish
);
25 <body onload=
"main()">
26 <svg id=
"paths" width=
"600" height=
"100">
28 <path id=
"chomp" d=
"M100,75 A50,50 0 1 1 100,25 L50,50Z" fill=
"gold"/>
31 <use xlink:
href=
"#chomp"/>
32 <g transform=
"translate(100, 0)">
33 <use xlink:
href=
"#chomp"/>
35 <g transform=
"translate(200, 0)">
36 <use xlink:
href=
"#chomp"/>
38 <g transform=
"translate(300, 0)">
39 <use xlink:
href=
"#chomp"/>
41 <g transform=
"translate(400, 0)">
42 <use xlink:
href=
"#chomp"/>
44 <g transform=
"translate(500, 0)">
45 <use xlink:
href=
"#chomp"/>