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

Unified Diff: LayoutTests/fast/dom/document-dir-property-expected.txt

Issue 240243004: Update HTMLElement.dir / Document.dir to return only known values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use fastGetAttribute 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 7fef7347b47c5cfef33d8f8586e678069db0e9f3..7ca479c7e5e4c04edbf1053b3976590fd6289ad2 100644
--- a/LayoutTests/fast/dom/document-dir-property-expected.txt
+++ b/LayoutTests/fast/dom/document-dir-property-expected.txt
@@ -27,6 +27,22 @@ PASS document.documentElement.dir is "ltr"
Read document.body.dir in body
PASS document.body.dir is ""
+Write non-canonical case document.dir in body
+PASS document.dir = 'RTL' did not throw exception.
+PASS document.dir is "rtl"
+
+Write invalid document.dir in body
+PASS document.dir = 'WRONG' did not throw exception.
+PASS document.dir is ""
+
+Write non-canonical case document.body.dir in body
+PASS document.body.dir = 'RTL' did not throw exception.
+PASS document.body.dir is "rtl"
+
+Write invalid document.body.dir in body
+PASS document.body.dir = 'WRONG' did not throw exception.
+PASS document.body.dir is ""
+
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/document-dir-property.html ('k') | LayoutTests/fast/dom/element-attribute-js-null.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698