3 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8">
4 <script src=
"resources/common.js"></script>
9 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=11916">http://bugs.webkit.org/show_bug.cgi?id=
11916</a>
10 REGRESSION (SearchField): RTL search fields are mixed up
</i>.
13 <input type=
"search" dir=
"rtl" results=
"5" value=
"הוא זה he והיא זה she וזהו">
15 <input type=
"search" dir=
"rtl" size=
"30" results=
"5" value=
"הוא זה he והיא זה she וזהו">
17 <input id=
"target" type=
"search" dir=
"rtl" results=
"5" value=
"click the (x) button">
20 Clicking the (x) button should clear the field.
23 if (window
.eventSender
) {
24 var target
= $("target");
25 var pos
= searchCancelButtonPosition(target
);
26 eventSender
.mouseMoveTo(pos
.x
, pos
.y
);
27 eventSender
.mouseDown();
28 eventSender
.mouseUp();
29 var result
= $("result");
30 if (target
.value
== "")
31 result
.innerText
= "PASS";
33 result
.innerText
= "FAIL";