| 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: pre with dir=auto, all-N between all-Rs</title> | 5 <title>HTML Test: pre with dir=auto, all-N between all-Rs</title> |
| 6 <link rel="match" href="dir_auto-pre-N-between-Rs-ref.html" /> | 6 <link rel="match" href="dir_auto-pre-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 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 א - The Hebrew letter Alef (strongly RTL). | 35 א - The Hebrew letter Alef (strongly RTL). |
| 36 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext | 36 We use text-align:left because neither the dir="auto" nor the unicode-bidi
:plaintext |
| 37 specification states whether text-align:start and text-align:end should ob
ey the paragraph | 37 specification states whether text-align:start and text-align:end should ob
ey the paragraph |
| 38 direction or the direction property in a unicode-bidi:plaintext element. | 38 direction or the direction property in a unicode-bidi:plaintext element. |
| 39 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) | 39 The ...! paragraph, being neutral, is supposed to be displayed LTR (i.e. a
s ...!, not as !...) |
| 40 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the | 40 despite both the paragraph before it and the paragraph after it being all-
RTL, which makes the |
| 41 element as a whole RTL. | 41 element as a whole RTL. |
| 42 </div> | 42 </div> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 67 <div dir="rtl"> | 67 <div dir="rtl"> |
| 68 <pre dir="rtl"> | 68 <pre dir="rtl"> |
| 69 א | 69 א |
| 70 !... | 70 !... |
| 71 א | 71 א |
| 72 </pre> | 72 </pre> |
| 73 </div> | 73 </div> |
| 74 </div> | 74 </div> |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |