From 8a15fd8d24e4373f462046b46fbe8558f57f3403 Mon Sep 17 00:00:00 2001
From: janekptacijarabaci
Date: Wed, 14 Feb 2018 14:41:19 +0100
Subject: Bug 1286182: Implement the layout for
---
dom/html/test/forms/mochitest.ini | 6 +-
.../test/forms/test_input_date_key_events.html | 228 +++++++++++++++++++++
.../test/forms/test_input_datetime_focus_blur.html | 28 ++-
.../test_input_datetime_focus_blur_events.html | 90 ++++++++
.../test/forms/test_input_datetime_tabindex.html | 47 +++--
.../forms/test_input_time_focus_blur_events.html | 82 --------
.../test/forms/test_input_typing_sanitization.html | 28 +++
7 files changed, 397 insertions(+), 112 deletions(-)
create mode 100644 dom/html/test/forms/test_input_date_key_events.html
create mode 100644 dom/html/test/forms/test_input_datetime_focus_blur_events.html
delete mode 100644 dom/html/test/forms/test_input_time_focus_blur_events.html
(limited to 'dom/html/test/forms')
diff --git a/dom/html/test/forms/mochitest.ini b/dom/html/test/forms/mochitest.ini
index 35955b189..6fceefd98 100644
--- a/dom/html/test/forms/mochitest.ini
+++ b/dom/html/test/forms/mochitest.ini
@@ -30,8 +30,12 @@ skip-if = os == "android" # up/down arrow keys not supported on android
skip-if = android_version == '18' # Android, bug 1147974
[test_input_color_picker_update.html]
skip-if = android_version == '18' # Android, bug 1147974
+[test_input_date_key_events.html]
+skip-if = os == "android"
[test_input_datetime_focus_blur.html]
skip-if = os == "android"
+[test_input_datetime_focus_blur_events.html]
+skip-if = os == "android"
[test_input_datetime_tabindex.html]
skip-if = os == "android"
[test_input_defaultValue.html]
@@ -61,8 +65,6 @@ skip-if = os == "android"
[test_input_textarea_set_value_no_scroll.html]
[test_input_time_key_events.html]
skip-if = os == "android"
-[test_input_time_focus_blur_events.html]
-skip-if = os == "android"
[test_input_types_pref.html]
[test_input_typing_sanitization.html]
[test_input_untrusted_key_events.html]
diff --git a/dom/html/test/forms/test_input_date_key_events.html b/dom/html/test/forms/test_input_date_key_events.html
new file mode 100644
index 000000000..cd974e505
--- /dev/null
+++ b/dom/html/test/forms/test_input_date_key_events.html
@@ -0,0 +1,228 @@
+
+
+
+
+ Test key events for time control
+
+
+
+
+
+
+Mozilla Bug 1286182
+
+
+
+
+
+
+
+
+
diff --git a/dom/html/test/forms/test_input_datetime_focus_blur.html b/dom/html/test/forms/test_input_datetime_focus_blur.html
index 5b8d95b25..85f7b4bb4 100644
--- a/dom/html/test/forms/test_input_datetime_focus_blur.html
+++ b/dom/html/test/forms/test_input_datetime_focus_blur.html
@@ -4,7 +4,7 @@
https://bugzilla.mozilla.org/show_bug.cgi?id=1288591
-->
- Test focus/blur behaviour for <input type='time'>
+ Test focus/blur behaviour for date/time input types
@@ -12,7 +12,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1288591
Mozilla Bug 1288591
-
+
+
+Mozilla Bug 722599
+
+
+
+
+
+
+
+
+
diff --git a/dom/html/test/forms/test_input_datetime_focus_blur_events.html b/dom/html/test/forms/test_input_datetime_focus_blur_events.html
new file mode 100644
index 000000000..873dda627
--- /dev/null
+++ b/dom/html/test/forms/test_input_datetime_focus_blur_events.html
@@ -0,0 +1,90 @@
+
+
+
+