mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Remove invalid
event on a form element
This commit is contained in:
parent
39e3beb35c
commit
7fd903c214
2 changed files with 0 additions and 6 deletions
|
@ -673,8 +673,6 @@ impl HTMLFormElement {
|
||||||
// Step 6.3
|
// Step 6.3
|
||||||
if !submitter.no_validate(self) {
|
if !submitter.no_validate(self) {
|
||||||
if self.interactive_validation().is_err() {
|
if self.interactive_validation().is_err() {
|
||||||
// TODO: Implement event handlers on all form control elements
|
|
||||||
self.upcast::<EventTarget>().fire_event(atom!("invalid"));
|
|
||||||
self.firing_submission_events.set(false);
|
self.firing_submission_events.set(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[historical.window.html]
|
|
||||||
[invalid event is only supported for form controls]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue