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

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

Issue 1420593005: Remove [TreatNullAs=NullString] from the 'dir' attribute on Document (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
OLDNEW
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.documentElement.getAttribute('dir') in body
19 PASS document.documentElement.getAttribute('dir') is "rtl"
20
18 Read document.body.dir in body 21 Read document.body.dir in body
19 PASS document.body.dir is "" 22 PASS document.body.dir is ""
20 23
21 Write document.dir in body 24 Write document.dir in body
22 PASS document.dir is "ltr" 25 PASS document.dir is "ltr"
23 26
24 Read document.documentElement.dir in body 27 Read document.documentElement.dir in body
25 PASS document.documentElement.dir is "ltr" 28 PASS document.documentElement.dir is "ltr"
26 29
27 Read document.body.dir in body 30 Read document.body.dir in body
28 PASS document.body.dir is "" 31 PASS document.body.dir is ""
29 32
33 Read document.documentElement.getAttribute('dir') in body
34 PASS document.documentElement.getAttribute('dir') is "ltr"
35
30 Write non-canonical case document.dir in body 36 Write non-canonical case document.dir in body
31 PASS document.dir = 'RTL' did not throw exception. 37 PASS document.dir = 'RTL' did not throw exception.
32 PASS document.dir is "rtl" 38 PASS document.dir is "rtl"
33 39
40 Read document.documentElement.getAttribute('dir') in body
41 PASS document.documentElement.getAttribute('dir') is "RTL"
42
34 Write invalid document.dir in body 43 Write invalid document.dir in body
35 PASS document.dir = 'WRONG' did not throw exception. 44 PASS document.dir = 'WRONG' did not throw exception.
36 PASS document.dir is "" 45 PASS document.dir is ""
37 46
47 Read document.documentElement.getAttribute('dir') in body
48 PASS document.documentElement.getAttribute('dir') is "WRONG"
49
38 Write non-canonical case document.body.dir in body 50 Write non-canonical case document.body.dir in body
39 PASS document.body.dir = 'RTL' did not throw exception. 51 PASS document.body.dir = 'RTL' did not throw exception.
40 PASS document.body.dir is "rtl" 52 PASS document.body.dir is "rtl"
41 53
42 Write invalid document.body.dir in body 54 Write invalid document.body.dir in body
43 PASS document.body.dir = 'WRONG' did not throw exception. 55 PASS document.body.dir = 'WRONG' did not throw exception.
44 PASS document.body.dir is "" 56 PASS document.body.dir is ""
45 57
58 Read document.dir in body
59 PASS document.dir is ""
60
61 Read document.documentElement.getAttribute('dir') in body
62 PASS document.documentElement.getAttribute('dir') is "null"
63
46 PASS successfullyParsed is true 64 PASS successfullyParsed is true
47 65
48 TEST COMPLETE 66 TEST COMPLETE
49 67
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/document-dir-property.html ('k') | third_party/WebKit/Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698