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: textarea with dir=auto, script assigns to all-N between al
l-Rs</title> | 5 <title>HTML Test: textarea with dir=auto, script assigns to all-N between al
l-Rs</title> |
6 <link rel="match" href="dir_auto-textarea-script-N-between-Rs-ref.html" /> | 6 <link rel="match" href="dir_auto-textarea-script-N-between-Rs-ref.html" /> |
7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com" /> | 7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com" /> |
8 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> | 8 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> |
9 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri
bute" /> | 9 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dir-attri
bute" /> |
10 <link rel="help" href="http://dev.w3.org/csswg/css3-writing-modes/#unicode-b
idi0" /> | 10 <link rel="help" href="http://dev.w3.org/csswg/css3-writing-modes/#unicode-b
idi0" /> |
(...skipping 14 matching lines...) Expand all Loading... |
25 border: medium solid gray; | 25 border: medium solid gray; |
26 width: 400px; | 26 width: 400px; |
27 margin: 20px; | 27 margin: 20px; |
28 } | 28 } |
29 .comments { | 29 .comments { |
30 display: none; | 30 display: none; |
31 } | 31 } |
32 </style> | 32 </style> |
33 </head> | 33 </head> |
34 <body> | 34 <body> |
35 <div class="instructions" style="display:none"><p>Test passes if the two box
es below look exactly the same.</p></div> | 35 <div class="instructions"><p>Test passes if the two boxes below look exactly
the same.</p></div> |
36 <div class="comments"> | 36 <div class="comments"> |
37 Key to entities used below: | 37 Key to entities used below: |
38 א - The Hebrew letter Alef (strongly RTL). | 38 א - The Hebrew letter Alef (strongly RTL). |
39 This test makes sure that the direction is set correctly for a textarea wh
ose value is set | 39 This test makes sure that the direction is set correctly for a textarea wh
ose value is set |
40 dynamically by script. | 40 dynamically by script. |
41 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext | 41 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext |
42 specification states whether text-align:start and text-align:end should ob
ey the paragraph | 42 specification states whether text-align:start and text-align:end should ob
ey the paragraph |
43 direction or the direction property in a unicode-bidi:plaintext element. | 43 direction or the direction property in a unicode-bidi:plaintext element. |
44 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) | 44 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) |
45 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the | 45 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 <div dir="rtl"> | 77 <div dir="rtl"> |
78 <textarea rows="4" dir="rtl"> | 78 <textarea rows="4" dir="rtl"> |
79 א | 79 א |
80 !... | 80 !... |
81 א | 81 א |
82 </textarea> | 82 </textarea> |
83 </div> | 83 </div> |
84 </div> | 84 </div> |
85 </body> | 85 </body> |
86 </html> | 86 </html> |
OLD | NEW |