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

Unified Diff: LayoutTests/fast/forms/positioned-input-text-cursor-expected.html

Issue 709613003: To ensure consistency between layouts, we need to reset any overriden top for centering the textfie… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updates Created 6 years, 1 month 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/forms/positioned-input-text-cursor-expected.html
diff --git a/LayoutTests/fast/forms/positioned-input-text-cursor-expected.html b/LayoutTests/fast/forms/positioned-input-text-cursor-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..4b95676fde3e5b533fb7a3bab3ef1b6b35dcd36d
--- /dev/null
+++ b/LayoutTests/fast/forms/positioned-input-text-cursor-expected.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+input {
+ position: absolute;
+ top: 0;
+ left: 30px;
+ height: 50px;
+ width: 200px;
+}
+</style>
+
+<input id="input" type="text">
+<script>
+document.getElementById('input').focus();
+</script>

Powered by Google App Engine
This is Rietveld 408576698