mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove dead code from layout.
This commit is contained in:
parent
de23fef9ca
commit
5ec1cdea9b
11 changed files with 4 additions and 116 deletions
|
@ -672,13 +672,6 @@ impl<T> PseudoElementType<T> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn is_after(&self) -> bool {
|
||||
match *self {
|
||||
PseudoElementType::After(_) => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn strip(&self) -> PseudoElementType<()> {
|
||||
match *self {
|
||||
PseudoElementType::Normal => PseudoElementType::Normal,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue