mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove hashes from style rules and dependencies.
Dependencies are very numerous, and now we shouldn't be getting so many of them. Style rules just don't need them, so it's a waste of memory.
This commit is contained in:
parent
9394ea9644
commit
dee4aea264
8 changed files with 61 additions and 84 deletions
|
@ -202,7 +202,7 @@ impl SelectorMap<Rule> {
|
|||
for rule in rules {
|
||||
if matches_selector(&rule.selector,
|
||||
0,
|
||||
&rule.hashes,
|
||||
Some(&rule.hashes),
|
||||
element,
|
||||
context,
|
||||
flags_setter) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue