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+EN</title> | 5 <title>HTML Test: textarea with dir=auto, script assigns to all N+EN</title> |
6 <link rel="match" href="dir_auto-textarea-script-N-EN-ref.html" /> | 6 <link rel="match" href="dir_auto-textarea-script-N-EN-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 11 matching lines...) Expand all Loading... |
22 border: medium solid gray; | 22 border: medium solid gray; |
23 width: 400px; | 23 width: 400px; |
24 margin: 20px; | 24 margin: 20px; |
25 } | 25 } |
26 .comments { | 26 .comments { |
27 display: none; | 27 display: none; |
28 } | 28 } |
29 </style> | 29 </style> |
30 </head> | 30 </head> |
31 <body> | 31 <body> |
32 <div class="instructions" style="display:none"><p>Test passes if the two box
es below look exactly the same.</p></div> | 32 <div class="instructions"><p>Test passes if the two boxes below look exactly
the same.</p></div> |
33 <div class="comments"> | 33 <div class="comments"> |
34 Key to entities used below: | 34 Key to entities used below: |
35 ‎ - LRM, the invisible left-to-right mark (strongly LTR). | 35 ‎ - LRM, the invisible left-to-right mark (strongly LTR). |
36 ‏ - RLM, the invisible right-to-left mark (strongly RTL). | 36 ‏ - RLM, the invisible right-to-left mark (strongly RTL). |
37 This test makes sure that the direction is set correctly for a textarea wh
ose value is set | 37 This test makes sure that the direction is set correctly for a textarea wh
ose value is set |
38 dynamically by script. | 38 dynamically by script. |
39 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext | 39 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext |
40 specification states whether text-align:start and text-align:end should ob
ey the paragraph | 40 specification states whether text-align:start and text-align:end should ob
ey the paragraph |
41 direction or the direction property in a unicode-bidi:plaintext element. | 41 direction or the direction property in a unicode-bidi:plaintext element. |
42 </div> | 42 </div> |
(...skipping 25 matching lines...) Expand all Loading... |
68 </textarea> | 68 </textarea> |
69 </div> | 69 </div> |
70 <div dir="rtl"> | 70 <div dir="rtl"> |
71 <textarea rows="2" dir="ltr"> | 71 <textarea rows="2" dir="ltr"> |
72 @123! | 72 @123! |
73 </textarea> | 73 </textarea> |
74 </div> | 74 </div> |
75 </div> | 75 </div> |
76 </body> | 76 </body> |
77 </html> | 77 </html> |
OLD | NEW |