mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Skip rule node which contains only inherited properties for rule cache.
This commit is contained in:
parent
782e3fe4e4
commit
3593392788
6 changed files with 75 additions and 7 deletions
|
@ -597,7 +597,12 @@ where
|
|||
self.context
|
||||
.thread_local
|
||||
.rule_cache
|
||||
.insert_if_possible(&values, pseudo, &conditions);
|
||||
.insert_if_possible(
|
||||
&self.context.shared.guards,
|
||||
&values,
|
||||
pseudo,
|
||||
&conditions
|
||||
);
|
||||
|
||||
values
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue