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

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: Added tests 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..ed8cef1785f0f7ae505255027573ca538ef1109c 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,6 +30,9 @@ 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"
@@ -43,6 +49,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

Powered by Google App Engine
This is Rietveld 408576698