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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select/menulist-height-change.html

Issue 2086663007: Use fixed logical height in LayoutMenuList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/fast/forms/select/menulist-height-change.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/menulist-height-change.html b/third_party/WebKit/LayoutTests/fast/forms/select/menulist-height-change.html
deleted file mode 100644
index e1492861e039a733960595f170c3dade23a95407..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/select/menulist-height-change.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <style type="text/css">
- .big {
- font-size: 70px;
- }
- </style>
- <script>
- function test() {
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- setTimeout('addLargeFontSizeOption();', 100);
- }
- function addLargeFontSizeOption()
- {
- var newOpt = document.createElement("option");
- newOpt.appendChild(document.createTextNode("Large Text"));
- newOpt.className = "big";
- var sl = document.getElementById("t");
- sl.appendChild(newOpt);
-
- if (window.testRunner)
- testRunner.notifyDone();
- }
- </script>
- </head>
- <body onload="test()">
- This tests that when an option is dynamically added to a menu list, and it is too big for the current height,<br>
- that the select automatically recalculates the correct height.<br>
- <select id="t">
- <option>Normal text</option>
- </select>
- <div id="res"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698