mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Stop using associated types for the concrete TRestyleDamage implementation.
MozReview-Commit-ID: LfaZFCVlIb1
This commit is contained in:
parent
b69fdad8e4
commit
a2c7a9d0fb
29 changed files with 133 additions and 114 deletions
|
@ -11,23 +11,29 @@ use selectors::parser::{AttrSelector, SelectorImpl};
|
|||
pub type AttrValue = <TheSelectorImpl as SelectorImpl>::AttrValue;
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
pub use servo_selector_impl::*;
|
||||
pub use servo::selector_impl::*;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use gecko::selector_impl::*;
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
pub use servo_selector_impl::ServoSelectorImpl as TheSelectorImpl;
|
||||
pub use servo::selector_impl::ServoSelectorImpl as TheSelectorImpl;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use gecko::selector_impl::GeckoSelectorImpl as TheSelectorImpl;
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
pub use servo_selector_impl::ServoElementSnapshot as Snapshot;
|
||||
pub use servo::selector_impl::ServoElementSnapshot as Snapshot;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use gecko::snapshot::GeckoElementSnapshot as Snapshot;
|
||||
|
||||
#[cfg(feature = "servo")]
|
||||
pub use servo::restyle_damage::ServoRestyleDamage as RestyleDamage;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use gecko::restyle_damage::GeckoRestyleDamage as RestyleDamage;
|
||||
|
||||
/// This function determines if a pseudo-element is eagerly cascaded or not.
|
||||
///
|
||||
/// Eagerly cascaded pseudo-elements are "normal" pseudo-elements (i.e.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue