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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance-zoom125.html

Issue 1454613002: Page popups should respect zoom factor of the anchor element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add 1.25 zoom tests Created 5 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: third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance-zoom125.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance.html b/third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance-zoom125.html
similarity index 64%
copy from third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance.html
copy to third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance-zoom125.html
index c0a96fe655e2a83dde09c1fc484366c7806718fd..c29aa3540b50881c88933b17c1eada8cd211cb90 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-appearance-zoom125.html
@@ -8,9 +8,10 @@ window.enablePixelTesting = true;
<script src="../../forms/resources/picker-common.js"></script>
<script src="resources/suggestion-picker-common.js"></script>
</head>
-<body style="background-color: #eeffff;">
+<body style="zoom: 1.25; background-color: #eeffff;">
+<p>Suggestion picker should respect zoom level.</p>
<script src="resources/suggestion-picker-common.js"></script>
-<input type=date id=date value="10000-12-31" list="suggestions" style="width: 200px;">
+<input type=date id=date value="2014-10-30" list="suggestions" style="width: 200px;">
<datalist id=suggestions>
<option>2012-01-00</option> <!--invalid-->
<option>foo</option> <!--invalid-->
@@ -20,19 +21,6 @@ window.enablePixelTesting = true;
<option>2012-01-04</option>
<option>2012-01-05</option>
<option>2012-01-06</option>
- <option>2012-01-07</option>
- <option>2012-01-08</option>
- <option>2012-01-09</option>
- <option>2012-01-10</option>
- <option>2012-01-11</option>
- <option>2012-01-12</option>
- <option>2012-01-13</option>
- <option>2012-01-14</option>
- <option>2012-01-15</option>
- <option>2012-01-16</option>
- <option>2012-01-17</option>
- <option>2012-01-18</option>
- <option>2012-01-19</option>
</datalist>
<p id="description" style="opacity: 0"></p>

Powered by Google App Engine
This is Rietveld 408576698