Index: third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt |
index 7ca479c7e5e4c04edbf1053b3976590fd6289ad2..50252291dbd76adb01092c4e33fc09f696cd682a 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/dom/document-dir-property-expected.txt |
@@ -15,6 +15,9 @@ PASS document.dir is "rtl" |
Read document.documentElement.dir in body |
PASS document.documentElement.dir is "rtl" |
+Read document.documentElement.getAttribute('dir') in body |
+PASS document.documentElement.getAttribute('dir') is "rtl" |
+ |
Read document.body.dir in body |
PASS document.body.dir is "" |
@@ -27,14 +30,23 @@ PASS document.documentElement.dir is "ltr" |
Read document.body.dir in body |
PASS document.body.dir is "" |
+Read document.documentElement.getAttribute('dir') in body |
+PASS document.documentElement.getAttribute('dir') is "ltr" |
+ |
Write non-canonical case document.dir in body |
PASS document.dir = 'RTL' did not throw exception. |
PASS document.dir is "rtl" |
+Read document.documentElement.getAttribute('dir') in body |
+PASS document.documentElement.getAttribute('dir') is "RTL" |
+ |
Write invalid document.dir in body |
PASS document.dir = 'WRONG' did not throw exception. |
PASS document.dir is "" |
+Read document.documentElement.getAttribute('dir') in body |
+PASS document.documentElement.getAttribute('dir') is "WRONG" |
+ |
Write non-canonical case document.body.dir in body |
PASS document.body.dir = 'RTL' did not throw exception. |
PASS document.body.dir is "rtl" |
@@ -43,6 +55,12 @@ Write invalid document.body.dir in body |
PASS document.body.dir = 'WRONG' did not throw exception. |
PASS document.body.dir is "" |
+Read document.dir in body |
+PASS document.dir is "" |
+ |
+Read document.documentElement.getAttribute('dir') in body |
+PASS document.documentElement.getAttribute('dir') is "null" |
+ |
PASS successfullyParsed is true |
TEST COMPLETE |