mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
No bug - Make servo-tidy happy. r=me
MozReview-Commit-ID: HDlgkGdvdBg
This commit is contained in:
parent
43f915785d
commit
07c301c809
@ -15,8 +15,8 @@ use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
|
||||
use nsstring::nsCString;
|
||||
use parser::{Parse, ParserContext};
|
||||
use servo_arc::{Arc, RawOffsetArc};
|
||||
use std::mem;
|
||||
use std::fmt::{self, Write};
|
||||
use std::mem;
|
||||
use style_traits::{CssWriter, ParseError, ToCss};
|
||||
use values::computed::{Context, ToComputedValue};
|
||||
|
||||
@ -282,7 +282,7 @@ where
|
||||
///
|
||||
/// The only difference between specified and computed URLs is the
|
||||
/// serialization.
|
||||
#[derive(Clone, Debug, Eq, PartialEq, MallocSizeOf)]
|
||||
#[derive(Clone, Debug, Eq, MallocSizeOf, PartialEq)]
|
||||
pub struct ComputedUrl(pub SpecifiedUrl);
|
||||
|
||||
impl ToCss for ComputedUrl {
|
||||
@ -304,7 +304,7 @@ impl ComputedUrl {
|
||||
}
|
||||
|
||||
/// The computed value of a CSS `url()` for image.
|
||||
#[derive(Clone, Debug, Eq, PartialEq, MallocSizeOf)]
|
||||
#[derive(Clone, Debug, Eq, MallocSizeOf, PartialEq)]
|
||||
pub struct ComputedImageUrl(pub SpecifiedImageUrl);
|
||||
|
||||
impl ToCss for ComputedImageUrl {
|
||||
|
@ -8,9 +8,9 @@
|
||||
|
||||
use std::fmt::{self, Write};
|
||||
use style_traits::{CssWriter, ToCss};
|
||||
use values::CSSFloat;
|
||||
use values::computed::{Context, ToComputedValue};
|
||||
use values::specified;
|
||||
use values::CSSFloat;
|
||||
|
||||
/// A computed `<resolution>`.
|
||||
pub struct Resolution(CSSFloat);
|
||||
|
@ -17,10 +17,10 @@ use values::generics::counters as generics;
|
||||
use values::generics::counters::CounterIncrement as GenericCounterIncrement;
|
||||
use values::generics::counters::CounterPair;
|
||||
use values::generics::counters::CounterReset as GenericCounterReset;
|
||||
use values::specified::Integer;
|
||||
use values::specified::url::SpecifiedImageUrl;
|
||||
#[cfg(feature = "gecko")]
|
||||
use values::specified::Attr;
|
||||
use values::specified::Integer;
|
||||
use values::specified::url::SpecifiedImageUrl;
|
||||
|
||||
/// A specified value for the `counter-increment` property.
|
||||
pub type CounterIncrement = GenericCounterIncrement<Integer>;
|
||||
|
Loading…
Reference in New Issue
Block a user