layout: Don't rerun selector matching unless we need to when resizing

the window.
This commit is contained in:
Patrick Walton 2015-05-04 12:49:46 -07:00
parent 92f46e3149
commit be8a5a2939
4 changed files with 61 additions and 38 deletions

View file

@ -251,6 +251,10 @@ impl Stylist {
shareable
}
pub fn is_dirty(&self) -> bool {
self.is_dirty
}
}
struct PerOriginSelectorMap {