| 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: input with dir=auto, script assigns to all N+EN</title> | 5 <title>HTML Test: input with dir=auto, script assigns to all N+EN</title> |
| 6 <link rel="match" href="dir_auto-input-script-N-EN-ref.html" /> | 6 <link rel="match" href="dir_auto-input-script-N-EN-ref.html" /> |
| 7 <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouch
e@google.com" /> | 7 <link rel="author" title="Matitiahu Allouche" href="mailto:matitiahu.allouch
e@google.com" /> |
| 8 <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com" /> | 8 <link rel="author" title="Oren Roth" href="mailto:oren.roth@gmail.com" /> |
| 9 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com" /> | 9 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com" /> |
| 10 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> | 10 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg
roups.com" /> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 border: medium solid gray; | 26 border: medium solid gray; |
| 27 width: 400px; | 27 width: 400px; |
| 28 margin: 20px; | 28 margin: 20px; |
| 29 } | 29 } |
| 30 .comments { | 30 .comments { |
| 31 display: none; | 31 display: none; |
| 32 } | 32 } |
| 33 </style> | 33 </style> |
| 34 </head> | 34 </head> |
| 35 <body> | 35 <body> |
| 36 <div class="instructions" style="display:none"><p>Test passes if the two box
es below look exactly the same.</p></div> | 36 <div class="instructions"><p>Test passes if the two boxes below look exactly
the same.</p></div> |
| 37 <div class="comments"> | 37 <div class="comments"> |
| 38 Key to entities used below: | 38 Key to entities used below: |
| 39 א - The Hebrew letter Alef (strongly RTL). | 39 א - The Hebrew letter Alef (strongly RTL). |
| 40 This test makes sure that the direction is set correctly for an input whos
e value is set | 40 This test makes sure that the direction is set correctly for an input whos
e value is set |
| 41 dynamically by script. | 41 dynamically by script. |
| 42 </div> | 42 </div> |
| 43 <div id="test" class="test"> | 43 <div id="test" class="test"> |
| 44 <script> | 44 <script> |
| 45 window.onload = function() { | 45 window.onload = function() { |
| 46 var test = document.getElementById('test'); | 46 var test = document.getElementById('test'); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 60 <div class="ref"> | 60 <div class="ref"> |
| 61 <div dir="ltr"> | 61 <div dir="ltr"> |
| 62 <input type="text" dir="ltr" value="@123!" /> | 62 <input type="text" dir="ltr" value="@123!" /> |
| 63 </div> | 63 </div> |
| 64 <div dir="rtl"> | 64 <div dir="rtl"> |
| 65 <input type="text" dir="ltr" value="@123!" /> | 65 <input type="text" dir="ltr" value="@123!" /> |
| 66 </div> | 66 </div> |
| 67 </div> | 67 </div> |
| 68 </body> | 68 </body> |
| 69 </html> | 69 </html> |
| OLD | NEW |