| OLD | NEW |
| 1 document.dir should reflect the 'dir' content attribute of the <html> element an
d should be settable in <head>. | 1 document.dir should reflect the 'dir' content attribute of the <html> element an
d should be settable in <head>. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Read document.dir in head | 6 Read document.dir in head |
| 7 PASS headReadDocumentDir is "" | 7 PASS headReadDocumentDir is "" |
| 8 | 8 |
| 9 Write document.dir in head | 9 Write document.dir in head |
| 10 PASS headWriteDocumentDir is "rtl" | 10 PASS headWriteDocumentDir is "rtl" |
| 11 | 11 |
| 12 Read document.dir in body | 12 Read document.dir in body |
| 13 PASS document.dir is "rtl" | 13 PASS document.dir is "rtl" |
| 14 | 14 |
| 15 Read document.documentElement.dir in body | 15 Read document.documentElement.dir in body |
| 16 PASS document.documentElement.dir is "rtl" | 16 PASS document.documentElement.dir is "rtl" |
| 17 | 17 |
| 18 Read document.body.dir in body | 18 Read document.body.dir in body |
| 19 PASS document.body.dir is "" | 19 PASS document.body.dir is "" |
| 20 | 20 |
| 21 Write document.dir in body | 21 Write document.dir in body |
| 22 PASS document.dir is "ltr" | 22 PASS document.dir is "ltr" |
| 23 | 23 |
| 24 Read document.documentElement.dir in body | 24 Read document.documentElement.dir in body |
| 25 PASS document.documentElement.dir is "ltr" | 25 PASS document.documentElement.dir is "ltr" |
| 26 | 26 |
| 27 Read document.body.dir in body | 27 Read document.body.dir in body |
| 28 PASS document.body.dir is "" | 28 PASS document.body.dir is "" |
| 29 | 29 |
| 30 Write non-canonical case document.dir in body |
| 31 PASS document.dir = 'RTL' did not throw exception. |
| 32 PASS document.dir is "rtl" |
| 33 |
| 34 Write invalid document.dir in body |
| 35 PASS document.dir = 'WRONG' did not throw exception. |
| 36 PASS document.dir is "" |
| 37 |
| 38 Write non-canonical case document.body.dir in body |
| 39 PASS document.body.dir = 'RTL' did not throw exception. |
| 40 PASS document.body.dir is "rtl" |
| 41 |
| 42 Write invalid document.body.dir in body |
| 43 PASS document.body.dir = 'WRONG' did not throw exception. |
| 44 PASS document.body.dir is "" |
| 45 |
| 30 PASS successfullyParsed is true | 46 PASS successfullyParsed is true |
| 31 | 47 |
| 32 TEST COMPLETE | 48 TEST COMPLETE |
| 33 | 49 |
| OLD | NEW |