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

Unified Diff: LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.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
Index: LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html
diff --git a/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html b/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..5ea2c178a0543d398416d6116b2eab6a9202b836
--- /dev/null
+++ b/LayoutTests/fast/text-autosizing/form-controls-textfield-in-span-expected.html
@@ -0,0 +1,30 @@
+<!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>
+</head>
+<body style="font-size: 2.5rem">
+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 | « LayoutTests/fast/text-autosizing/form-controls-textfield-in-span.html ('k') | Source/core/rendering/FastTextAutosizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698