Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: LayoutTests/fast/dom/document-dir-property-expected.txt

Issue 235893014: Document.dir should reflect the 'dir' attribute of the root html element (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698