Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/search/search-rtl.html

Issue 2541783002: Update LayoutTests/fast/forms/search/search-rtl.html for gender neutral code fixit (Closed)
Patch Set: Rebaseline Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4 <script src="../resources/common.js"></script> 4 <script src="../resources/common.js"></script>
5 <title></title> 5 <title></title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p> 8 <p>
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> 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>. 10 REGRESSION (SearchField): RTL search fields are mixed up</i>.
11 </p> 11 </p>
12 <p> 12 <p>
13 <input type="search" dir="rtl" value="הוא זה he והיא זה she וזהו"> 13 <input type="search" dir="rtl" value="הוא זה A והיא זה B וזהו">
14 <br> 14 <br>
15 <input type="search" dir="rtl" size="30" value="הוא זה he והיא זה she וז הו"> 15 <input type="search" dir="rtl" size="30" value="הוא זה A והיא זה B וזהו" >
16 <br> 16 <br>
17 <input id="target" type="search" dir="rtl" value="click the (x) button"> 17 <input id="target" type="search" dir="rtl" value="click the (x) button">
18 </p> 18 </p>
19 <p id="result"> 19 <p id="result">
20 Clicking the (x) button should clear the field. 20 Clicking the (x) button should clear the field.
21 </p> 21 </p>
22 <script> 22 <script>
23 if (window.eventSender) { 23 if (window.eventSender) {
24 var target = $("target"); 24 var target = $("target");
25 var pos = rtlSearchCancelButtonPosition(target); 25 var pos = rtlSearchCancelButtonPosition(target);
26 eventSender.mouseMoveTo(pos.x, pos.y); 26 eventSender.mouseMoveTo(pos.x, pos.y);
27 eventSender.mouseDown(); 27 eventSender.mouseDown();
28 eventSender.mouseUp(); 28 eventSender.mouseUp();
29 var result = $("result"); 29 var result = $("result");
30 if (target.value == "") 30 if (target.value == "")
31 result.innerText = "PASS"; 31 result.innerText = "PASS";
32 else 32 else
33 result.innerText = "FAIL"; 33 result.innerText = "FAIL";
34 } 34 }
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/platform/linux/fast/forms/search/search-rtl-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698