summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt
diff options
context:
space:
mode:
authorcommit-queue@webkit.org <commit-queue@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2011-11-10 06:50:34 +0000
committercommit-queue@webkit.org <commit-queue@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2011-11-10 06:50:34 +0000
commit75be232fbc845d6d82e2794e69a26366b85ca5f8 (patch)
tree917581f8b2341ff903a199562e34efea0594b9fc /third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt
parent6a070b5483db9562d2af4229f3ca44db7b89406c (diff)
downloadchromium_src-75be232fbc845d6d82e2794e69a26366b85ca5f8.zip
chromium_src-75be232fbc845d6d82e2794e69a26366b85ca5f8.tar.gz
chromium_src-75be232fbc845d6d82e2794e69a26366b85ca5f8.tar.bz2
Need support for dirname attribute
https://bugs.webkit.org/show_bug.cgi?id=65542 Patch by Rakesh KN <rakesh.kn@motorola.com> on 2011-11-09 Reviewed by Eric Seidel. Implemented 'dirname' form attribute. Source/WebCore: Tests: fast/forms/form-dirname-attribute.html fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html fast/forms/submit-form-with-dirname-attribute.html * html/HTMLAttributeNames.in: Added "dirname" attribute. * html/HTMLInputElement.idl: Add "dirName" property to HTMLInputElement interface. * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::appendFormData): Append dirname form data. * html/HTMLTextAreaElement.idl: Add "dirName" property to HTMLTextAreaElement interface. * html/HTMLTextFormControlElement.cpp: (WebCore::parentHTMLElement): Helper function which returns only HTML parent element. (WebCore::HTMLTextFormControlElement::directionForFormData): Helper function for finding directionality of the Element. * html/HTMLTextFormControlElement.h: Helper function for finding directionality of the Element. * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::appendFormData): Append dirname form data. * html/TextFieldInputType.h: Append dirname form data. LayoutTests: * fast/forms/form-dirname-attribute-expected.txt: Added. * fast/forms/form-dirname-attribute.html: Added. * fast/forms/submit-form-with-dirname-attribute-expected.txt: Added. * fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute-expected.txt: Added. * fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html: Added. * fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor-expected.txt: Added. * fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html: Added. * fast/forms/submit-form-with-dirname-attribute.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@99816 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt')
-rw-r--r--third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt
new file mode 100644
index 0000000..9f9eee9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/submit-form-with-dirname-attribute-expected.txt
@@ -0,0 +1,23 @@
+Test that when dirname attribute is specified then it is added in submission body.
+
+Comment:
+
+WithRTLDir:
+
+WithLTRDir:
+
+WithInvalidDir:
+
+WithRTLValue:
+
+Post Comment
+
+PASS document.location.search.indexOf("comment.dir=ltr") != -1 is true
+PASS document.location.search.indexOf("txtareaRTL.dir=rtl") != -1 is true
+PASS document.location.search.indexOf("txtareaLTR.dir=ltr") != -1 is true
+PASS document.location.search.indexOf("txtareaInvalid.dir=ltr") != -1 is true
+PASS document.location.search.indexOf("inputRTLvalue.dir=ltr") != -1 is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+