gecko-dev/dom/html/test/forms
Masayuki Nakano 0f39d7eda7 Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs
On Windows, Windows logo key was mapped to "OS" modifier, and on Linux,
it's same and the key is called "Super" and "Hyper".  That conformed to the
older UI Events spec.

However, UI Events declares that they should be mapped to "Meta" now and Chrome
handles it as the spec in Windows and Linux.  Therefore, we should align the
behavior to them.

Note that we've treated the legacy "Meta" modifier on Linux as DOM "Meta"
modifier state, and we'll keep this as-is because in Sun/Solaris keyboard
layout, they keys are mapped to the legacy "Meta".

Finally, the following check only `IsMeta()` but not `IsOS()`.  I think that
they should've checked `IsOS()` too.  Therefore, they will behave differently
in Windows and Linux.
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/base/Element.cpp#3287-3288
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3762-3764
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLInputElement.cpp#3796-3806
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/dom/html/HTMLLabelElement.cpp#127-128
* https://searchfox.org/mozilla-central/rev/9a4666e63199bd1bcfc9095f6efec3488c358458/widget/gtk/nsGtkKeyUtils.cpp#1461-1462

Note that `KEY_NAME_INDEX_OS` will be removed in the patch for bug 1232918.

Differential Revision: https://phabricator.services.mozilla.com/D183480
2023-08-07 01:03:58 +00:00
..
without_selectionchange
chrome.ini
FAIL.html
file_double_submit.html
file_login_fields.html
mochitest.ini Backed out changeset 013278adabc7 (bug 1837540) for build bustages on mochitest.ini . CLOSED TREE 2023-08-03 02:25:53 +03:00
PASS.html
save_restore_custom_elements_sample.html Bug 1556358 - Part 2: Save and restore custom element form data. r=edgar 2023-06-28 04:31:22 +00:00
save_restore_radio_groups.sjs
submit_invalid_file.sjs
test_autocomplete.html Bug 1547294 - Don't save values in fields with autocomplete="one-time-code" r=credential-management-reviewers,sgalich,mak 2022-11-30 18:05:19 +00:00
test_autocompleteinfo.html Bug 1547294 - Don't save values in fields with autocomplete="one-time-code" r=credential-management-reviewers,sgalich,mak 2022-11-30 18:05:19 +00:00
test_bug1039548.html
test_bug1283915.html
test_bug1286509.html
test_button_attributes_reflection.html Bug 1842974 - Remove dom.dialog_element.enabled pref r=emilio 2023-07-17 10:02:53 +00:00
test_change_event.html
test_datalist_element.html
test_double_submit.html
test_form_attribute-1.html
test_form_attribute-2.html
test_form_attribute-3.html
test_form_attribute-4.html
test_form_attributes_reflection.html
test_form_named_getter_dynamic.html
test_formaction_attribute.html
test_formnovalidate_attribute.html Bug 1742714 - Get rid of nsIFormSubmitObserver; r=geckoview-reviewers,agi,smaug 2021-12-06 12:23:08 +00:00
test_input_attributes_reflection.html Bug 675943 - Part 1: Implement dirname attr for input elements within forms. r=edgar 2023-06-06 07:51:36 +00:00
test_input_color_input_change_events.html
test_input_color_picker_datalist.html Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
test_input_color_picker_initial.html
test_input_color_picker_popup.html Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
test_input_color_picker_update.html
test_input_date_bad_input.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_date_key_events.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_datetime_calendar_button.html Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane 2022-12-07 00:56:45 +00:00
test_input_datetime_disabled_focus.html Bug 1772841 - Disabled datetime input field should not be focusable by click. r=emilio 2022-06-16 14:04:51 +00:00
test_input_datetime_focus_blur_events.html
test_input_datetime_focus_blur.html
test_input_datetime_focus_state.html
test_input_datetime_hidden.html
test_input_datetime_input_change_events.html Bug 1806587 - Clear date/time/datetime-local input with Ctrl/Cmd + Delete/Backspace. r=emilio,masayuki 2023-01-31 19:24:01 +00:00
test_input_datetime_readonly.html
test_input_datetime_reset_default_value_input_change_event.html Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane 2022-12-07 00:56:45 +00:00
test_input_datetime_tabindex.html Bug 1676068 - Datepicker Pt.3 - Replace Reset button in the DateTimeBox with Calendar one. r=Jamie,fluent-reviewers,mconley,kcochrane 2022-12-07 00:56:45 +00:00
test_input_defaultValue.html
test_input_email.html
test_input_event.html
test_input_file_picker.html Bug 1745005 - Add showPicker() to <input> elements. r=emilio 2022-04-22 18:43:48 +00:00
test_input_hasBeenTypePassword_navigation.html
test_input_hasBeenTypePassword.html
test_input_list_attribute.html
test_input_number_data.js
test_input_number_focus.html
test_input_number_key_events.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_number_l10n.html
test_input_number_mouse_events.html Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs 2023-08-07 01:03:58 +00:00
test_input_number_placeholder_shown.html
test_input_number_rounding.html
test_input_number_validation.html
test_input_password_click_show_password_button.html Bug 1827771 - Clear the revealed state when input type is changed from password. r=emilio 2023-04-15 02:30:35 +00:00
test_input_password_show_password_button.html Bug 1743047 - Use "reveal" rather than show terminology consistently for the reveal password button. r=Gijs,fluent-reviewers 2022-01-17 14:18:51 +00:00
test_input_radio_indeterminate.html
test_input_radio_radiogroup.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_radio_required.html
test_input_range_attr_order.html
test_input_range_key_events.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_range_mouse_and_touch_events.html Bug 1266437 - Drop "OS" modifier r=smaug,m_kato,karlt,Gijs 2023-08-07 01:03:58 +00:00
test_input_range_rounding.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_sanitization.html
test_input_setting_value.html Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
test_input_textarea_set_value_no_scroll.html
test_input_time_key_events.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_input_time_sec_millisec_field.html
test_input_types_pref.html Bug 1766395 - Remove dom.forms.datetime-local prefs. r=edgar 2022-04-27 14:10:27 +00:00
test_input_typing_sanitization.html
test_input_untrusted_key_events.html
test_input_url.html Bug 1783497 - Don't throw if chrome URL canonicalization fails r=smaug 2022-10-24 15:21:29 +00:00
test_interactive_content_in_label.html
test_interactive_content_in_summary.html
test_label_control_attribute.html
test_label_input_controls.html
test_max_attribute.html
test_maxlength_attribute.html
test_meter_element.html
test_meter_pseudo-classes.html
test_min_attribute.html
test_minlength_attribute.html
test_MozEditableElement_setUserInput.html Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt 2022-09-02 11:05:17 +00:00
test_mozistextfield.html
test_novalidate_attribute.html Bug 1742714 - Get rid of nsIFormSubmitObserver; r=geckoview-reviewers,agi,smaug 2021-12-06 12:23:08 +00:00
test_option_disabled.html
test_option_index_attribute.html
test_option_text.html
test_output_element.html
test_pattern_attribute.html Bug 1814870 - HTML pattern attribute should set v flag for regular expressions. r=emilio 2023-06-08 12:10:09 +00:00
test_preserving_metadata_between_reloads.html
test_progress_element.html
test_radio_in_label.html Bug 1819109 - Remove snav.enabled. r=masayuki,geckoview-reviewers,emilio,owlish 2023-03-22 02:40:53 +00:00
test_radio_radionodelist.html
test_reportValidation_preventDefault.html
test_required_attribute.html
test_restore_form_elements.html
test_save_restore_custom_elements.html Bug 1556358 - Part 2: Save and restore custom element form data. r=edgar 2023-06-28 04:31:22 +00:00
test_save_restore_radio_groups.html
test_select_change_event.html
test_select_input_change_event.html
test_select_selectedOptions.html
test_select_validation.html
test_set_range_text.html
test_step_attribute.html
test_stepup_stepdown.html
test_submit_invalid_file.html Bug 1843790 - Part 4: Rewrite toolkit/modules/FileUtils.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=Gijs 2023-07-18 23:06:32 +00:00
test_textarea_attributes_reflection.html Bug 675943 - Part 2: Implement dirname attr for textarea elements within forms. r=edgar 2023-06-06 07:51:37 +00:00
test_validation_not_in_doc.html
test_validation.html
test_valueasdate_attribute.html
test_valueasnumber_attribute.html