| 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, all-N between all-Rs</title> | 5 <title>HTML Test: textarea with dir=auto, all-N between all-Rs</title> |
| 6 <link rel="match" href="dir_auto-textarea-N-between-Rs-ref.html" /> | 6 <link rel="match" href="dir_auto-textarea-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 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 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) | 42 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) |
| 43 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the | 43 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the |
| 44 element as a whole RTL. | 44 element as a whole RTL. |
| 45 </div> | 45 </div> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 70 <div dir="rtl"> | 70 <div dir="rtl"> |
| 71 <textarea rows="4" dir="rtl"> | 71 <textarea rows="4" dir="rtl"> |
| 72 א | 72 א |
| 73 !... | 73 !... |
| 74 א | 74 א |
| 75 </textarea> | 75 </textarea> |
| 76 </div> | 76 </div> |
| 77 </div> | 77 </div> |
| 78 </body> | 78 </body> |
| 79 </html> | 79 </html> |
| OLD | NEW |