mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Don’t parse unspported values of content
This commit is contained in:
parent
82e274aec9
commit
4a4199c1d6
3 changed files with 13 additions and 5 deletions
|
@ -93,7 +93,6 @@ pub(super) enum NonReplacedContents {
|
|||
|
||||
pub(super) enum PseudoElementContentItem {
|
||||
Text(String),
|
||||
#[allow(dead_code)]
|
||||
Replaced(ReplacedContent),
|
||||
}
|
||||
|
||||
|
@ -347,7 +346,6 @@ where
|
|||
vec.push(PseudoElementContentItem::Replaced(replaced_content));
|
||||
}
|
||||
},
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
vec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue