mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
cargo fix --edition --features gecko
This commit is contained in:
parent
a15d33a10e
commit
b1822a39fa
87 changed files with 614 additions and 585 deletions
|
@ -7,13 +7,13 @@
|
|||
//! The rule tree.
|
||||
|
||||
use crate::applicable_declarations::ApplicableDeclarationList;
|
||||
#[cfg(feature = "gecko")]
|
||||
use crate::gecko::selector_parser::PseudoElement;
|
||||
use crate::properties::{Importance, LonghandIdSet, PropertyDeclarationBlock};
|
||||
use crate::shared_lock::{Locked, SharedRwLockReadGuard, StylesheetGuards};
|
||||
use crate::stylesheets::StyleRule;
|
||||
use crate::thread_state;
|
||||
#[cfg(feature = "gecko")]
|
||||
use gecko::selector_parser::PseudoElement;
|
||||
#[cfg(feature = "gecko")]
|
||||
use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
|
||||
use servo_arc::{Arc, ArcBorrow, ArcUnion, ArcUnionBorrow};
|
||||
use smallvec::SmallVec;
|
||||
|
@ -1214,15 +1214,15 @@ impl StrongRuleNode {
|
|||
author_colors_allowed: bool,
|
||||
) -> bool
|
||||
where
|
||||
E: ::dom::TElement,
|
||||
E: crate::dom::TElement,
|
||||
{
|
||||
use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BACKGROUND;
|
||||
use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BORDER;
|
||||
use gecko_bindings::structs::NS_AUTHOR_SPECIFIED_PADDING;
|
||||
use properties::{CSSWideKeyword, LonghandId, LonghandIdSet};
|
||||
use properties::{PropertyDeclaration, PropertyDeclarationId};
|
||||
use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BACKGROUND;
|
||||
use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_BORDER;
|
||||
use crate::gecko_bindings::structs::NS_AUTHOR_SPECIFIED_PADDING;
|
||||
use crate::properties::{CSSWideKeyword, LonghandId, LonghandIdSet};
|
||||
use crate::properties::{PropertyDeclaration, PropertyDeclarationId};
|
||||
use crate::values::specified::Color;
|
||||
use std::borrow::Cow;
|
||||
use values::specified::Color;
|
||||
|
||||
// Reset properties:
|
||||
const BACKGROUND_PROPS: &'static [LonghandId] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue