mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
layout: Don't rerun selector matching unless we need to when resizing
the window.
This commit is contained in:
parent
92f46e3149
commit
be8a5a2939
4 changed files with 61 additions and 38 deletions
|
@ -251,6 +251,10 @@ impl Stylist {
|
|||
|
||||
shareable
|
||||
}
|
||||
|
||||
pub fn is_dirty(&self) -> bool {
|
||||
self.is_dirty
|
||||
}
|
||||
}
|
||||
|
||||
struct PerOriginSelectorMap {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue