mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove a lot of unused imports
This commit is contained in:
parent
90bae7f802
commit
00bfc6b172
23 changed files with 56 additions and 122 deletions
|
@ -5,7 +5,6 @@
|
|||
use app_units::Au;
|
||||
use style::attr::{AttrValue, LengthOrPercentageOrAuto, parse_length};
|
||||
use style::values::computed::CalcLengthOrPercentage;
|
||||
use style_traits::values::specified::AllowedLengthType;
|
||||
|
||||
#[test]
|
||||
fn test_length_calc() {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
fn smoke_restyle_hints() {
|
||||
use cssparser::Parser;
|
||||
use selectors::parser::SelectorList;
|
||||
use style::restyle_hints::{DependencySet, RESTYLE_LATER_SIBLINGS};
|
||||
use style::restyle_hints::DependencySet;
|
||||
use style::selector_parser::SelectorParser;
|
||||
use style::stylesheets::{Origin, Namespaces};
|
||||
let namespaces = Namespaces::default();
|
||||
|
|
|
@ -212,7 +212,7 @@ fn test_insert() {
|
|||
#[test]
|
||||
fn test_get_universal_rules() {
|
||||
thread_state::initialize(thread_state::LAYOUT);
|
||||
let (map, shared_lock) = get_mock_map(&["*|*", "#foo > *|*", "*|* > *|*", ".klass", "#id"]);
|
||||
let (map, _shared_lock) = get_mock_map(&["*|*", "#foo > *|*", "*|* > *|*", ".klass", "#id"]);
|
||||
|
||||
let decls = map.get_universal_rules(CascadeLevel::UserNormal);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue