OLD | NEW |
1 This tests: | 1 document.dir should reflect the 'dir' content attribute of the <html> element an
d should be settable in <head>. |
2 Bug 9954 REGRESSION: document.dir should return empty string in <head> | |
3 https://bugs.webkit.org/show_bug.cgi?id=9954 | |
4 | 2 |
5 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
". |
6 | 4 |
| 5 |
7 Read document.dir in head | 6 Read document.dir in head |
8 PASS headReadDocumentDir is '' | 7 PASS headReadDocumentDir is "" |
9 | 8 |
10 Write document.dir in head | 9 Write document.dir in head |
11 PASS headWriteDocumentDir is '' | 10 PASS headWriteDocumentDir is "rtl" |
12 | 11 |
13 Read document.dir in body | 12 Read document.dir in body |
14 PASS document.dir is '' | 13 PASS document.dir is "rtl" |
| 14 |
| 15 Read document.documentElement.dir in body |
| 16 PASS document.documentElement.dir is "rtl" |
15 | 17 |
16 Read document.body.dir in body | 18 Read document.body.dir in body |
17 PASS document.body.dir is '' | 19 PASS document.body.dir is "" |
18 | 20 |
19 Write document.dir in body | 21 Write document.dir in body |
20 PASS document.dir is 'ltr' | 22 PASS document.dir is "ltr" |
| 23 |
| 24 Read document.documentElement.dir in body |
| 25 PASS document.documentElement.dir is "ltr" |
21 | 26 |
22 Read document.body.dir in body | 27 Read document.body.dir in body |
23 PASS document.body.dir is 'ltr' | 28 PASS document.body.dir is "" |
24 | 29 |
25 PASS successfullyParsed is true | 30 PASS successfullyParsed is true |
26 | 31 |
27 TEST COMPLETE | 32 TEST COMPLETE |
28 | 33 |
OLD | NEW |