mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update document focus when element focusability changes.
This commit is contained in:
parent
757371f4f0
commit
d55424e88f
8 changed files with 89 additions and 72 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue