mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Further changes required by Servo
This commit is contained in:
parent
82c5be08c8
commit
7300c12a13
1 changed files with 2 additions and 2 deletions
|
@ -16,10 +16,9 @@ use style::properties::{PropertyDeclaration, PropertyDeclarationBlock};
|
|||
use style::selector_map::SelectorMap;
|
||||
use style::selector_parser::{SelectorImpl, SelectorParser};
|
||||
use style::shared_lock::SharedRwLock;
|
||||
use style::stylesheets::layer_rule::LayerId;
|
||||
use style::stylesheets::StyleRule;
|
||||
use style::stylist::needs_revalidation_for_testing;
|
||||
use style::stylist::{Rule, Stylist};
|
||||
use style::stylist::{ContainerConditionId, LayerId, Rule, Stylist};
|
||||
use style::thread_state::{self, ThreadState};
|
||||
|
||||
/// Helper method to get some Rules from selector strings.
|
||||
|
@ -56,6 +55,7 @@ fn get_mock_rules(css_selectors: &[&str]) -> (Vec<Vec<Rule>>, SharedRwLock) {
|
|||
locked.clone(),
|
||||
i as u32,
|
||||
LayerId::root(),
|
||||
ContainerConditionId::none(),
|
||||
)
|
||||
})
|
||||
.collect()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue