mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Fix servo build and tidy lints.
This commit is contained in:
parent
a51b4e754c
commit
05f9f10a1c
9 changed files with 28 additions and 117 deletions
|
@ -5,8 +5,8 @@
|
|||
//! Generic types for CSS Easing Functions.
|
||||
//! https://drafts.csswg.org/css-easing/#timing-functions
|
||||
|
||||
use values::CSSFloat;
|
||||
use parser::ParserContext;
|
||||
use values::CSSFloat;
|
||||
|
||||
/// A generic easing function.
|
||||
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, SpecifiedValueInfo, ToComputedValue, ToCss)]
|
||||
|
|
|
@ -753,7 +753,7 @@ impl ToComputedValue for KeywordSize {
|
|||
// The tables in this function are originally from
|
||||
// nsRuleNode::CalcFontPointSize in Gecko:
|
||||
//
|
||||
// https://searchfox.org/mozilla-central/rev/c05d9d61188d32b8209dfe4295944c0f1e0ce621/layout/style/nsRuleNode.cpp#3150
|
||||
// https://searchfox.org/mozilla-central/rev/c05d9d61188d32b8/layout/style/nsRuleNode.cpp#3150
|
||||
//
|
||||
// Mapping from base size and HTML size to pixels
|
||||
// The first index is (base_size - 9), the second is the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue