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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/document-dir-property-expected.txt
diff --git a/LayoutTests/fast/dom/document-dir-property-expected.txt b/LayoutTests/fast/dom/document-dir-property-expected.txt
index 5ccd8016aa889ec8e17335df28f449991609ea6e..7fef7347b47c5cfef33d8f8586e678069db0e9f3 100644
--- a/LayoutTests/fast/dom/document-dir-property-expected.txt
+++ b/LayoutTests/fast/dom/document-dir-property-expected.txt
@@ -1,26 +1,31 @@
-This tests:
-Bug 9954 REGRESSION: document.dir should return empty string in <head>
-https://bugs.webkit.org/show_bug.cgi?id=9954
+document.dir should reflect the 'dir' content attribute of the <html> element and should be settable in <head>.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
Read document.dir in head
-PASS headReadDocumentDir is ''
+PASS headReadDocumentDir is ""
Write document.dir in head
-PASS headWriteDocumentDir is ''
+PASS headWriteDocumentDir is "rtl"
Read document.dir in body
-PASS document.dir is ''
+PASS document.dir is "rtl"
+
+Read document.documentElement.dir in body
+PASS document.documentElement.dir is "rtl"
Read document.body.dir in body
-PASS document.body.dir is ''
+PASS document.body.dir is ""
Write document.dir in body
-PASS document.dir is 'ltr'
+PASS document.dir is "ltr"
+
+Read document.documentElement.dir in body
+PASS document.documentElement.dir is "ltr"
Read document.body.dir in body
-PASS document.body.dir is 'ltr'
+PASS document.body.dir is ""
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698