gecko-dev/dom/html/test/forms
Ting-Yu Lin ceee0ec744 Bug 1524893 - Prevent Label and Summary elements from handling click event if clicking on interactive html content. r=smaug
This patch fix label element when
1. clicking on an interactive content in the shadow tree, or
2. clicking on non-interactive content in the shadow tree, but the
   shadow root's parent is interactive.

The fix for summary element is similar to label element.

Differential Revision: https://phabricator.services.mozilla.com/D18791

--HG--
rename : dom/html/test/forms/test_interactive_content_in_label.html => dom/html/test/forms/test_interactive_content_in_summary.html
extra : moz-landing-system : lando
2019-02-07 23:23:45 +00:00
..
.eslintrc.js Bug 1508980 - Add more .eslintrc.js files for dom/ and update .eslintignore. r=Gijs 2018-11-21 14:27:27 +00:00
chrome.ini Bug 1327097, Part I, Revert bug 1338961, r=smaug 2017-11-07 11:30:06 +08:00
FAIL.html Bug 1363597: dont use data: URI for form action. r=smaug 2017-05-16 16:57:19 +08:00
file_bug1495363.html Bug 1495363 - Abort the previous request, if a form is submitted twice - tests, r=smaug 2019-01-16 22:51:17 +01:00
file_bug1495363.sjs Bug 1495363 - Abort the previous request, if a form is submitted twice - tests, r=smaug 2019-01-16 22:51:17 +01:00
file_login_fields.html Bug 1330228 - Use HasBeenTypePassword to skip saving to presentation state. r=baku 2018-12-21 16:44:37 +00:00
mochitest.ini Bug 1524893 - Prevent Label and Summary elements from handling click event if clicking on interactive html content. r=smaug 2019-02-07 23:23:45 +00:00
PASS.html Bug 1363597: dont use data: URI for form action. r=smaug 2017-05-16 16:57:19 +08:00
save_restore_radio_groups.sjs
submit_invalid_file.sjs
test_autocomplete.html Bug 1020698 - Implement @autocomplete for <textarea>. r=baku 2017-11-08 21:35:04 -08:00
test_autocompleteinfo.html Bug 1477798 - Expose whether a fieldName should be automatically persisted on getAutocompleteInfo(). r=baku 2019-01-10 18:48:39 +00:00
test_bug1039548.html
test_bug1283915.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_bug1286509.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_bug1495363.html Bug 1495363 - Abort the previous request, if a form is submitted twice - tests, r=smaug 2019-01-16 22:51:17 +01:00
test_button_attributes_reflection.html Bug 1366361 - Part 2: Update reflectURL() and web platform tests. r=smaug 2017-07-17 14:17:22 +08:00
test_change_event.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_datalist_element.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 Bug 1366361 - Part 2: Update reflectURL() and web platform tests. r=smaug 2017-07-17 14:17:22 +08:00
test_form_named_getter_dynamic.html
test_formaction_attribute.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_formnovalidate_attribute.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_attributes_reflection.html Bug 1366361 - Part 2: Update reflectURL() and web platform tests. r=smaug 2017-07-17 14:17:22 +08:00
test_input_color_input_change_events.html
test_input_color_picker_initial.html
test_input_color_picker_popup.html
test_input_color_picker_update.html
test_input_date_bad_input.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_date_key_events.html Bug 1443958 - Synthesizing a click() on input type=date should not show the date picker UI , r=mconley 2018-03-30 02:51:17 +03:00
test_input_datetime_focus_blur_events.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_datetime_focus_blur.html
test_input_datetime_focus_state.html
test_input_datetime_hidden.html Bug 1514040 - Dispatch events to hidden datetimebox UA Widget r=smaug 2019-01-04 21:53:51 +00:00
test_input_datetime_input_change_events.html Bug 1445207, populate input type=date's .value when changing the value in the UI, r=mconley 2018-03-23 20:06:01 +02:00
test_input_datetime_tabindex.html Bug 1514040 - Dispatch events to hidden datetimebox UA Widget r=smaug 2019-01-04 21:53:51 +00:00
test_input_defaultValue.html
test_input_email.html
test_input_event.html Bug 1447239 - Implement InputEvent.inputType r=smaug 2019-01-07 10:10:57 +00:00
test_input_file_picker.html Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8 2018-10-23 07:13:35 +00:00
test_input_hasBeenTypePassword_navigation.html Bug 1330228 - Use HasBeenTypePassword to skip saving to presentation state. r=baku 2018-12-21 16:44:37 +00:00
test_input_hasBeenTypePassword.html Bug 1330228 - Test input.hasBeenTypePassword. r=baku 2018-12-21 16:47:33 +00:00
test_input_list_attribute.html
test_input_number_data.js Bug 1509057. Disable <input type=number> support for grouping separators in user input. r=mats 2018-11-02 10:10:42 +00:00
test_input_number_focus.html
test_input_number_key_events.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_number_l10n.html Bug 1509057. Disable <input type=number> support for grouping separators in user input. r=mats 2018-11-02 10:10:42 +00:00
test_input_number_mouse_events.html Bug 1509378 - Make test_input_number_mouse_events.html refer evt in checkInputEvent() rather than window.event r=smaug 2018-11-28 10:39:59 +00:00
test_input_number_placeholder_shown.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_number_rounding.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_number_validation.html Bug 1509057. Disable <input type=number> support for grouping separators in user input. r=mats 2018-11-02 10:10:42 +00:00
test_input_radio_indeterminate.html
test_input_radio_radiogroup.html
test_input_radio_required.html
test_input_range_attr_order.html
test_input_range_key_events.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_range_mouse_and_touch_events.html Bug 1482968 Part 2: Add a test of modifier key clicks and drags on input elements. r=smaug! 2018-08-17 18:59:36 +00:00
test_input_range_rounding.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_sanitization.html Backed out 2 changesets (bug 1357191) for frequently failing mochitest dom/html/test/forms/test_input_sanitization.html on Android 4.3 API16+ debug. r=backout 2017-10-10 23:27:21 +02:00
test_input_textarea_set_value_no_scroll.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_time_key_events.html Bug 1371523 - remove find bar sync ipc message, r=mikedeboer 2018-03-21 17:10:40 +00:00
test_input_time_sec_millisec_field.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_input_types_pref.html Bug 1317539 - Remove dom.forms.number pref. r=bz 2018-04-10 11:02:28 +10:00
test_input_typing_sanitization.html Bug 1357191 - 2. Fix form tests for new mobile date/time controls; r=jessica 2017-10-12 12:20:14 -04:00
test_input_untrusted_key_events.html
test_input_url.html
test_interactive_content_in_label.html Bug 1524893 - Prevent Label and Summary elements from handling click event if clicking on interactive html content. r=smaug 2019-02-07 23:23:45 +00:00
test_interactive_content_in_summary.html Bug 1524893 - Prevent Label and Summary elements from handling click event if clicking on interactive html content. r=smaug 2019-02-07 23:23:45 +00:00
test_label_control_attribute.html
test_label_input_controls.html
test_max_attribute.html
test_maxlength_attribute.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_meter_element.html
test_meter_pseudo-classes.html
test_min_attribute.html
test_minlength_attribute.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_MozEditableElement_setUserInput.html Bug 1447239 - Implement InputEvent.inputType r=smaug 2019-01-07 10:10:57 +00:00
test_mozistextfield.html
test_novalidate_attribute.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_option_disabled.html
test_option_index_attribute.html
test_option_text.html
test_output_element.html
test_pattern_attribute.html
test_progress_element.html
test_radio_in_label.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_radio_radionodelist.html Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
test_reportValidation_preventDefault.html
test_required_attribute.html Bug 1427542 - Fix reset a form can't clear -moz-ui-invalid after calling reportValidity. r=smaug 2018-01-09 16:37:02 +08:00
test_restore_form_elements.html Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
test_save_restore_radio_groups.html
test_select_change_event.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_select_input_change_event.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
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
test_textarea_attributes_reflection.html
test_validation_not_in_doc.html
test_validation.html
test_valueasdate_attribute.html
test_valueAsDate_pref.html Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
test_valueasnumber_attribute.html