Index: LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html |
diff --git a/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html b/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..613f95b83f02bfc8b76d2632484f6487571894e2 |
--- /dev/null |
+++ b/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html style="font-size: 16px"> |
+<head> |
+<meta name="viewport" content="width=800"> |
+<style> |
+body { |
+ width: 800px; |
+ margin: 0; |
+ overflow-y: hidden; |
+} |
+#i { |
+ padding:6px 10px; |
+ height:29px; |
+ box-sizing:border-box; |
+} |
+</style> |
+<script src="resources/autosizingTest.js"></script> |
+</head> |
+<body> |
+This test passes if the input field is not autosized. |
+<br> |
+<span> |
+ <input id="i" value="should not autosize" /> |
+</span> |
+<br><br> |
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, |
+sed do eiusmod tempor incididunt ut labore et dolore magna |
+aliqua. Ut enim ad minim veniam, quis nostrud exercitation |
+ullamco laboris nisi ut aliquip ex ea commodo consequat. |
+</body> |
+</html> |