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

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/static/calendar-picker-appearance.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/static/calendar-picker-appearance.html
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html b/third_party/WebKit/LayoutTests/fast/hidpi/static/calendar-picker-appearance.html
similarity index 50%
rename from third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
rename to third_party/WebKit/LayoutTests/fast/hidpi/static/calendar-picker-appearance.html
index 727f824169b84d744063df37b30050b7ce08f808..0cc95adc847ae9f822b81d1be0ab73b44e077da8 100644
--- a/third_party/WebKit/LayoutTests/fast/hidpi/calendar-picker-appearance-dsf2.html
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/static/calendar-picker-appearance.html
@@ -4,17 +4,6 @@
<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 () {
@@ -23,9 +12,9 @@
});
}
</script>
-<script src="../../resources/js-test.js"></script>
-<script src="../forms/resources/picker-common.js"></script>
-<script src="../forms/calendar-picker/resources/calendar-picker-common.js"></script>
+<script src="../../../resources/js-test.js"></script>
+<script src="../../forms/resources/picker-common.js"></script>
+<script src="../../forms/calendar-picker/resources/calendar-picker-common.js"></script>
</head>
<body onLoad="startTest()">
<input type=date id=date value="10000-12-31"> </input>

Powered by Google App Engine
This is Rietveld 408576698