| This tests: |
| Bug 9954 REGRESSION: document.dir should return empty string in <head> |
| http://bugzilla.opendarwin.org/show_bug.cgi?id=9954 |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| Read document.dir in head |
| PASS headReadDocumentDir is '' |
| |
| Write document.dir in head |
| PASS headWriteDocumentDir is '' |
| |
| Read document.dir in body |
| PASS document.dir is '' |
| |
| Read document.body.dir in body |
| PASS document.body.dir is '' |
| |
| Write document.dir in body |
| PASS document.dir is 'ltr' |
| |
| Read document.body.dir in body |
| PASS document.body.dir is 'ltr' |
| |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |