Index: third_party/WebKit/LayoutTests/fast/forms/text/text-dir-auto-with-placeholder.html |
diff --git a/third_party/WebKit/LayoutTests/fast/forms/text/text-dir-auto-with-placeholder.html b/third_party/WebKit/LayoutTests/fast/forms/text/text-dir-auto-with-placeholder.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..24be51f68592c1af1a211611e693eea1c2a576b2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/forms/text/text-dir-auto-with-placeholder.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<meta charset="utf-8"> |
+<body> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<input dir="auto" placeholder="LTR placeholder string" value="ע"> |
+<script> |
+test(() => { |
+ assert_equals(getComputedStyle(document.querySelector('input'), '').direction, 'rtl'); |
+}, 'Placeholder\'s direction shouldn\'t affect INPUT direction.'); |
+</script> |
+</body> |