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

Unified 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 side-by-side diff with in-line comments
Download patch
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
« 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