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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html

Issue 1915353003: INPUT textfield: Do not remove line-height of innerEditor if we don't need to remove it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html b/third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html
new file mode 100644
index 0000000000000000000000000000000000000000..f1f8ae32ef0379f95c39024cec995a2c7cd8ec56
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/text/text-lineheight-centering.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<body>
+<style>
+body {
+ font-family: "Helvetica Neue", sans-serif;
+ font-size: 16px;
+}
+input {
+ line-height: 33px;
+ height: 33px;
+
+ -webkit-appearance:none;
+ background: red;
+ border: none;
+ font-family: inherit;
+ font-size: inherit;
+ padding: 0;
+ text-decoration: underline;
+ vertical-align: top;
+ width: 80px;
+}
+</style>
+<!-- vertical position of text should be same as the DIV case. -->
+<input value="Some text">
+</body>

Powered by Google App Engine
This is Rietveld 408576698