mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Only flush stylesheet invalidations for origins that have changed.
This commit is contained in:
parent
f3a7adfcc7
commit
84451e521b
2 changed files with 19 additions and 9 deletions
|
@ -163,7 +163,7 @@ impl PerDocumentStyleDataImpl {
|
|||
}
|
||||
|
||||
let author_style_disabled = self.stylesheets.author_style_disabled();
|
||||
self.stylist.clear();
|
||||
|
||||
let iter = self.stylesheets.flush(document_element);
|
||||
self.stylist.rebuild(
|
||||
iter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue