Update document focus when element focusability changes.

This commit is contained in:
Josh Matthews 2020-06-12 18:19:49 -04:00
parent 757371f4f0
commit d55424e88f
8 changed files with 89 additions and 72 deletions

View file

@ -2291,6 +2291,8 @@ impl VirtualMethods for HTMLInputElement {
let read_write = !(self.ReadOnly() || el.disabled_state());
el.set_read_write_state(read_write);
}
el.update_sequentially_focusable_status();
},
&local_name!("checked") if !self.checked_changed.get() => {
let checked_state = match mutation {