mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Remove virtual call and unconditionally dirty node on set_focus_state
This commit is contained in:
parent
539ee18cf0
commit
f67e208630
4 changed files with 3 additions and 19 deletions
|
@ -102,14 +102,6 @@ pub trait VirtualMethods {
|
|||
}
|
||||
}
|
||||
|
||||
/// Called when a previously focused element is no longer focused.
|
||||
/// Use this to trigger relayouts
|
||||
fn handle_blur(&self) {
|
||||
if let Some(s) = self.super_type() {
|
||||
s.handle_blur();
|
||||
}
|
||||
}
|
||||
|
||||
/// https://dom.spec.whatwg.org/#concept-node-adopt-ext
|
||||
fn adopting_steps(&self, old_doc: &Document) {
|
||||
if let Some(ref s) = self.super_type() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue