mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove unused code from selector and style crates
This commit is contained in:
parent
8dc7a25893
commit
642b7c3ea1
9 changed files with 1 additions and 101 deletions
|
@ -105,12 +105,6 @@ impl RestyleHint {
|
|||
Self::empty()
|
||||
}
|
||||
|
||||
/// Creates a new `RestyleHint` that indicates the element must be
|
||||
/// recascaded.
|
||||
pub fn recascade_self() -> Self {
|
||||
RestyleHint::RECASCADE_SELF
|
||||
}
|
||||
|
||||
/// Returns a hint that contains all the replacement hints.
|
||||
pub fn replacements() -> Self {
|
||||
RestyleHint::RESTYLE_STYLE_ATTRIBUTE | Self::for_animations()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue