mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove redundant QuirksMode argument to SelectorMap
This commit is contained in:
parent
c384c21cb6
commit
d8455a772f
2 changed files with 6 additions and 9 deletions
|
@ -1236,7 +1236,6 @@ impl Stylist {
|
|||
rule_hash_target,
|
||||
applicable_declarations,
|
||||
context,
|
||||
self.quirks_mode,
|
||||
flags_setter,
|
||||
CascadeLevel::UANormal
|
||||
);
|
||||
|
@ -1274,7 +1273,6 @@ impl Stylist {
|
|||
rule_hash_target,
|
||||
applicable_declarations,
|
||||
context,
|
||||
self.quirks_mode,
|
||||
flags_setter,
|
||||
CascadeLevel::UserNormal,
|
||||
);
|
||||
|
@ -1305,7 +1303,6 @@ impl Stylist {
|
|||
rule_hash_target,
|
||||
applicable_declarations,
|
||||
context,
|
||||
self.quirks_mode,
|
||||
flags_setter,
|
||||
CascadeLevel::AuthorNormal
|
||||
);
|
||||
|
@ -1327,7 +1324,7 @@ impl Stylist {
|
|||
// as `context`, write a test-case of :visited not working on
|
||||
// Shadow DOM and fix it!
|
||||
let mut matching_context = MatchingContext::new(
|
||||
context.matching_mode,
|
||||
context.matching_mode(),
|
||||
context.bloom_filter,
|
||||
context.nth_index_cache.as_mut().map(|s| &mut **s),
|
||||
stylist.quirks_mode,
|
||||
|
@ -1339,7 +1336,6 @@ impl Stylist {
|
|||
rule_hash_target,
|
||||
applicable_declarations,
|
||||
&mut matching_context,
|
||||
stylist.quirks_mode,
|
||||
flags_setter,
|
||||
CascadeLevel::AuthorNormal,
|
||||
);
|
||||
|
@ -1356,7 +1352,6 @@ impl Stylist {
|
|||
rule_hash_target,
|
||||
applicable_declarations,
|
||||
context,
|
||||
self.quirks_mode,
|
||||
flags_setter,
|
||||
CascadeLevel::AuthorNormal
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue