Index: LayoutTests/fast/forms/direction-in-case-of-invalid-dir-attribute-expected.html |
diff --git a/LayoutTests/fast/forms/direction-in-case-of-invalid-dir-attribute-expected.html b/LayoutTests/fast/forms/direction-in-case-of-invalid-dir-attribute-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..523763efda86ec1b341181c13c81c577c9d87283 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/direction-in-case-of-invalid-dir-attribute-expected.html |
@@ -0,0 +1,24 @@ |
+<html> |
esprehn
2014/09/09 10:20:13
Missing doctype.
Sunil Ratnu
2014/09/09 10:41:57
Done.
|
+<body> |
+This test checks that if an element has a parent element and the dir attribute |
+is not in a defined state (i.e. it is not present or has an invalid value), the |
+directionality of the element is the same as the element's parent element's |
+directionality. |
+<div dir='rtl'> |
+ <textarea dir='rtl'>RTL</textarea> |
+</div> |
+ |
+<div dir='rtl'> |
+ <textarea dir='rtl'>RTL</textarea> |
+</div> |
+ |
+<div dir='rtl'> |
+ <input type='text' dir='rtl' value='RTL'> |
+</div> |
+ |
+<div dir='rtl'> |
+ <input type='text' dir='rtl' value='RTL'> |
+</div> |
+ |
+</body> |
+</html> |