| 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 mixed L and R pa
ragraphs</title> | 5 <title>HTML Test: textarea with dir=auto, script assigns to mixed L and R pa
ragraphs</title> |
| 6 <link rel="match" href="dir_auto-textarea-script-mixed-ref.html" /> | 6 <link rel="match" href="dir_auto-textarea-script-mixed-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 13 matching lines...) Expand all Loading... |
| 24 border: medium solid gray; | 24 border: medium solid gray; |
| 25 width: 400px; | 25 width: 400px; |
| 26 margin: 20px; | 26 margin: 20px; |
| 27 } | 27 } |
| 28 .comments { | 28 .comments { |
| 29 display: none; | 29 display: none; |
| 30 } | 30 } |
| 31 </style> | 31 </style> |
| 32 </head> | 32 </head> |
| 33 <body> | 33 <body> |
| 34 <div class="instructions" style="display:none"><p>Test passes if the two box
es below look exactly the same.</p></div> | 34 <div class="instructions"><p>Test passes if the two boxes below look exactly
the same.</p></div> |
| 35 <div class="comments"> | 35 <div class="comments"> |
| 36 Key to entities used below: | 36 Key to entities used below: |
| 37 ‎ - LRM, the invisible left-to-right mark (strongly LTR). | 37 ‎ - LRM, the invisible left-to-right mark (strongly LTR). |
| 38 ‏ - RLM, the invisible right-to-left mark (strongly RTL). | 38 ‏ - RLM, the invisible right-to-left mark (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 </div> | 44 </div> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 <textarea rows="5" dir="ltr"> | 91 <textarea rows="5" dir="ltr"> |
| 92 @123! | 92 @123! |
| 93 @123! | 93 @123! |
| 94 @123! | 94 @123! |
| 95 @123! | 95 @123! |
| 96 </textarea> | 96 </textarea> |
| 97 </div> | 97 </div> |
| 98 </div> | 98 </div> |
| 99 </body> | 99 </body> |
| 100 </html> | 100 </html> |
| OLD | NEW |