mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
style: Move the RELEVANT_LINK_VISITED flag to servo.
And kill one GetParentAllowServo call while at it, and some other dumbness... Bug: 1383307 Reviewed-by: Manishearth
This commit is contained in:
parent
d0561e76df
commit
4e0492c5d1
7 changed files with 64 additions and 8 deletions
|
@ -550,6 +550,11 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
|
|||
unsafe fn unset_animation_only_dirty_descendants(&self) {
|
||||
}
|
||||
|
||||
/// Returns true if this element is a visited link.
|
||||
///
|
||||
/// Servo doesn't support visited styles yet.
|
||||
fn is_visited_link(&self) -> bool { false }
|
||||
|
||||
/// Returns true if this element is native anonymous (only Gecko has native
|
||||
/// anonymous content).
|
||||
fn is_native_anonymous(&self) -> bool { false }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue