1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <svg viewBox=
"0 0 480 360" xmlns:
xlink=
"http://www.w3.org/1999/xlink" xmlns=
"http://www.w3.org/2000/svg">
4 <text font-size=
"58em" id=
"target">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
</text>
5 <use xlink:
href=
"#target"></use>
8 if (window
.testRunner
) {
9 testRunner
.waitUntilDone();
10 testRunner
.dumpAsText();
13 function keyDownMouseClick(x1
, y1
, x2
, y2
)
15 if (!window
.eventSender
)
17 eventSender
.mouseMoveTo(x1
, y1
);
18 eventSender
.mouseDown();
19 eventSender
.mouseMoveTo(x2
, y2
);
20 eventSender
.mouseUp();
23 target
= document
.getElementById("target");
24 keyDownMouseClick(266, 322, 0, 0);
25 target
.setAttribute("requiredFeatures", "unknown_feature");
26 keyDownMouseClick(226, 322, 0, 0);
28 document
.body
.innerHTML
= "PASS";
29 testRunner
.notifyDone();