| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8" /> | 4 <meta charset="utf-8" /> |
| 5 <title>HTML Test: input with dir=auto, script assigns to start with EN+R</ti
tle> | 5 <title>HTML Test: input with dir=auto, script assigns to start with EN+R</ti
tle> |
| 6 <link rel="match" href="dir_auto-input-script-EN-R-ref.html" /> | |
| 7 <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouch
e@google.com" /> | 6 <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouch
e@google.com" /> |
| 8 <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com" /> | 7 <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com" /> |
| 9 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com" /> | 8 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com" /> |
| 10 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> | 9 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> |
| 11 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri
bute" /> | 10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri
bute" /> |
| 12 <meta name="assert" content=" | 11 <meta name="assert" content=" |
| 13 When dir='auto', the direction of an input element is set according to | 12 When dir='auto', the direction of an input element is set according to |
| 14 the first strong character of its value. | 13 the first strong character of its value. |
| 15 In this test, it is the Hebrew letter Alef since digits are not strongly | 14 In this test, it is the Hebrew letter Alef since digits are not strongly |
| 16 directional, thus the direction must be resolved as RTL." /> | 15 directional, thus the direction must be resolved as RTL." /> |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 <div class="ref"> | 49 <div class="ref"> |
| 51 <div dir="ltr"> | 50 <div dir="ltr"> |
| 52 <input type="text" dir="rtl" value="123אבגABC." /> | 51 <input type="text" dir="rtl" value="123אבגABC." /> |
| 53 </div> | 52 </div> |
| 54 <div dir="rtl"> | 53 <div dir="rtl"> |
| 55 <input type="text" dir="rtl" value="123אבגABC." /> | 54 <input type="text" dir="rtl" value="123אבגABC." /> |
| 56 </div> | 55 </div> |
| 57 </div> | 56 </div> |
| 58 </body> | 57 </body> |
| 59 </html> | 58 </html> |
| OLD | NEW |