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

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/data-suggestion-picker-appearance-dsf2.html

Issue 1571833002: Add popup layout tests with device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/hidpi/data-suggestion-picker-appearance-dsf2.html
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/data-suggestion-picker-appearance-dsf2.html b/third_party/WebKit/LayoutTests/fast/hidpi/data-suggestion-picker-appearance-dsf2.html
deleted file mode 100644
index 9e57ed8f145c94663ba50f5ef1e939d5a3b49c65..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/hidpi/data-suggestion-picker-appearance-dsf2.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
- window.enablePixelTesting = true;
- function startTest() {
- if (window.testRunner) {
- testRunner.setBackingScaleFactor(2.0, function() {});
- }
- }
- window.matchMedia('screen and (min-resolution: 2dppx)').
- addListener(function(e) {
- if (e.matches) {
- doOpenPopup();
- }
- });
- function doOpenPopup() {
- openPicker(document.getElementById('date'),
- finishJSTest,
- function () {
- testFailed('picker didn\'t open')
- finishJSTest();
- });
- }
-</script>
-<script src="../../resources/js-test.js"></script>
-<script src="../forms/resources/picker-common.js"></script>
-<script src="../forms/resources/suggestion-picker-common.js"></script>
-</head>
-<body onLoad="startTest()" style="background-color: #eeffff;">
-<input type=date id=date value="10000-12-31" list="suggestions" style="width: 200px;">
-<datalist id=suggestions>
- <option>2012-01-00</option> <!--invalid-->
- <option>foo</option> <!--invalid-->
- <option label="Today">2012-01-01</option>
- <option label="Tomorrow">2012-01-02</option>
- <option>2012-01-03</option>
- <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>
-<div id="console" style="opacity: 0"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698