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 all N+EN</title> | 5 <title>HTML Test: input with dir=auto, script assigns to all N+EN</title> |
6 <link rel="match" href="dir_auto-input-script-N-EN-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, or to LTR if there is no such | 13 the first strong character of its value, or to LTR if there is no such |
15 character. | 14 character. |
16 In this test, there is no strongly directional character in the value, | 15 In this test, there is no strongly directional character in the value, |
(...skipping 28 matching lines...) Expand all Loading... |
45 <div class="ref"> | 44 <div class="ref"> |
46 <div dir="ltr"> | 45 <div dir="ltr"> |
47 <input type="text" dir="ltr" value="@123!" /> | 46 <input type="text" dir="ltr" value="@123!" /> |
48 </div> | 47 </div> |
49 <div dir="rtl"> | 48 <div dir="rtl"> |
50 <input type="text" dir="ltr" value="@123!" /> | 49 <input type="text" dir="ltr" value="@123!" /> |
51 </div> | 50 </div> |
52 </div> | 51 </div> |
53 </body> | 52 </body> |
54 </html> | 53 </html> |
OLD | NEW |