| 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, mixed L and R paragraphs</title> | 5 <title>HTML Test: textarea with dir=auto, mixed L and R paragraphs</title> |
| 6 <link rel="match" href="dir_auto-textarea-mixed-ref.html" /> | 6 <link rel="match" href="dir_auto-textarea-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 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> |
| 43 <div class="test"> | 43 <div class="test"> |
| 44 <div dir="ltr"> | 44 <div dir="ltr"> |
| (...skipping 26 matching lines...) Expand all Loading... |
| 71 <textarea rows="5" dir="ltr"> | 71 <textarea rows="5" dir="ltr"> |
| 72 @123! | 72 @123! |
| 73 @123! | 73 @123! |
| 74 @123! | 74 @123! |
| 75 @123! | 75 @123! |
| 76 </textarea> | 76 </textarea> |
| 77 </div> | 77 </div> |
| 78 </div> | 78 </div> |
| 79 </body> | 79 </body> |
| 80 </html> | 80 </html> |
| OLD | NEW |