mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix tidy issues.
This commit is contained in:
parent
29f56919e2
commit
8560c8dd5a
4 changed files with 4 additions and 6 deletions
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
//! Animation implementation for various font-related types.
|
//! Animation implementation for various font-related types.
|
||||||
|
|
||||||
|
use super::{Animate, Procedure, ToAnimatedZero};
|
||||||
use values::computed::Number;
|
use values::computed::Number;
|
||||||
use values::computed::font::{FontWeight, FontVariationSettings};
|
use values::computed::font::{FontWeight, FontVariationSettings};
|
||||||
use values::distance::{ComputeSquaredDistance, SquaredDistance};
|
use values::distance::{ComputeSquaredDistance, SquaredDistance};
|
||||||
use values::generics::font::{FontSettings as GenericFontSettings, FontTag, VariationValue};
|
use values::generics::font::{FontSettings as GenericFontSettings, FontTag, VariationValue};
|
||||||
use super::{Animate, Procedure, ToAnimatedZero};
|
|
||||||
|
|
||||||
impl ToAnimatedZero for FontWeight {
|
impl ToAnimatedZero for FontWeight {
|
||||||
#[inline]
|
#[inline]
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
//! Animation implementation for various length-related types.
|
//! Animation implementation for various length-related types.
|
||||||
|
|
||||||
|
use super::{Animate, Procedure, ToAnimatedValue, ToAnimatedZero};
|
||||||
use values::computed::MaxLength as ComputedMaxLength;
|
use values::computed::MaxLength as ComputedMaxLength;
|
||||||
use values::computed::MozLength as ComputedMozLength;
|
use values::computed::MozLength as ComputedMozLength;
|
||||||
use values::computed::Percentage;
|
use values::computed::Percentage;
|
||||||
use values::computed::length::{Length, CalcLengthOrPercentage, LengthOrPercentageOrNone, LengthOrPercentageOrAuto};
|
use values::computed::length::{Length, CalcLengthOrPercentage, LengthOrPercentageOrNone, LengthOrPercentageOrAuto};
|
||||||
use super::{Animate, Procedure, ToAnimatedValue, ToAnimatedZero};
|
|
||||||
|
|
||||||
/// <https://drafts.csswg.org/css-transitions/#animtype-lpcalc>
|
/// <https://drafts.csswg.org/css-transitions/#animtype-lpcalc>
|
||||||
impl Animate for CalcLengthOrPercentage {
|
impl Animate for CalcLengthOrPercentage {
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
//! Animation implementations for various SVG-related types.
|
//! Animation implementations for various SVG-related types.
|
||||||
|
|
||||||
use properties::animated_properties::ListAnimation;
|
use properties::animated_properties::ListAnimation;
|
||||||
|
use super::{Animate, Procedure, ToAnimatedZero};
|
||||||
use values::animated::color::Color as AnimatedColor;
|
use values::animated::color::Color as AnimatedColor;
|
||||||
use values::computed::{Number, NumberOrPercentage, LengthOrPercentage};
|
use values::computed::{Number, NumberOrPercentage, LengthOrPercentage};
|
||||||
use values::computed::url::ComputedUrl;
|
use values::computed::url::ComputedUrl;
|
||||||
use values::distance::{ComputeSquaredDistance, SquaredDistance};
|
use values::distance::{ComputeSquaredDistance, SquaredDistance};
|
||||||
use values::generics::svg::{SVGLength, SvgLengthOrPercentageOrNumber, SVGPaint};
|
use values::generics::svg::{SVGLength, SvgLengthOrPercentageOrNumber, SVGPaint};
|
||||||
use values::generics::svg::{SVGStrokeDashArray, SVGOpacity};
|
use values::generics::svg::{SVGStrokeDashArray, SVGOpacity};
|
||||||
use super::{Animate, Procedure, ToAnimatedZero};
|
|
||||||
|
|
||||||
/// Animated SVGPaint.
|
/// Animated SVGPaint.
|
||||||
pub type IntermediateSVGPaint = SVGPaint<AnimatedColor, ComputedUrl>;
|
pub type IntermediateSVGPaint = SVGPaint<AnimatedColor, ComputedUrl>;
|
||||||
|
|
|
@ -5,9 +5,7 @@
|
||||||
//! Computed types for SVG properties.
|
//! Computed types for SVG properties.
|
||||||
|
|
||||||
use values::RGBA;
|
use values::RGBA;
|
||||||
use values::computed::LengthOrPercentage;
|
use values::computed::{NonNegativeLengthOrPercentage, NonNegativeNumber, Number, LengthOrPercentage, Opacity};
|
||||||
use values::computed::{NonNegativeLengthOrPercentage, NonNegativeNumber, Number};
|
|
||||||
use values::computed::Opacity;
|
|
||||||
use values::computed::color::Color;
|
use values::computed::color::Color;
|
||||||
use values::computed::url::ComputedUrl;
|
use values::computed::url::ComputedUrl;
|
||||||
use values::generics::svg as generic;
|
use values::generics::svg as generic;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue