| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script> | 3 <script> |
| 4 var headReadDocumentDir = document.dir; | 4 var headReadDocumentDir = document.dir; |
| 5 document.dir = "rtl"; | 5 document.dir = "rtl"; |
| 6 var headWriteDocumentDir = document.dir; | 6 var headWriteDocumentDir = document.dir; |
| 7 </script> | 7 </script> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <div id="description"></div> | 10 <div id="description"></div> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 debug("Write document.dir in body"); | 34 debug("Write document.dir in body"); |
| 35 document.dir = "ltr"; | 35 document.dir = "ltr"; |
| 36 shouldBe("document.dir", "'ltr'"); | 36 shouldBe("document.dir", "'ltr'"); |
| 37 debug(""); | 37 debug(""); |
| 38 | 38 |
| 39 debug("Read document.body.dir in body"); | 39 debug("Read document.body.dir in body"); |
| 40 shouldBe("document.body.dir", "'ltr'"); | 40 shouldBe("document.body.dir", "'ltr'"); |
| 41 debug(""); | 41 debug(""); |
| 42 </script> | 42 </script> |
| 43 <script src="../js/resources/js-test-post.js"></script> | |
| 44 </body> | 43 </body> |
| 45 </html> | 44 </html> |
| OLD | NEW |