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
|
@ -54,11 +54,6 @@ impl SourceSizeList {
|
|||
}
|
||||
}
|
||||
|
||||
/// Set content of `value`, which can be used as fall-back during evaluate.
|
||||
pub fn set_fallback_value(&mut self, width: Option<Length>) {
|
||||
self.value = width;
|
||||
}
|
||||
|
||||
/// Evaluate this <source-size-list> to get the final viewport length.
|
||||
pub fn evaluate(&self, device: &Device, quirks_mode: QuirksMode) -> Au {
|
||||
let matching_source_size = self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue