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

Unified Diff: LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html

Issue 334333002: Allow form inputs to be potential cluster roots. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698