mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Make the SelectorMap API slightly nicer.
This commit is contained in:
parent
52f962c387
commit
7861ec1d5b
3 changed files with 7 additions and 7 deletions
|
@ -1475,7 +1475,7 @@ impl Stylist {
|
|||
data.selectors_for_cache_revalidation.lookup(
|
||||
element,
|
||||
self.quirks_mode,
|
||||
&mut |selector_and_hashes| {
|
||||
|selector_and_hashes| {
|
||||
results.push(matches_selector(
|
||||
&selector_and_hashes.selector,
|
||||
selector_and_hashes.selector_offset,
|
||||
|
@ -1493,7 +1493,7 @@ impl Stylist {
|
|||
stylist.cascade_data.author.selectors_for_cache_revalidation.lookup(
|
||||
element,
|
||||
stylist.quirks_mode,
|
||||
&mut |selector_and_hashes| {
|
||||
|selector_and_hashes| {
|
||||
results.push(matches_selector(
|
||||
&selector_and_hashes.selector,
|
||||
selector_and_hashes.selector_offset,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue