mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
parent
473934c989
commit
36ff89bd28
61 changed files with 73 additions and 437 deletions
|
@ -5,7 +5,7 @@
|
|||
//! Generic types for counters-related CSS values.
|
||||
|
||||
use std::fmt;
|
||||
use style_traits::{HasViewportPercentage, ToCss};
|
||||
use style_traits::ToCss;
|
||||
use values::CustomIdent;
|
||||
|
||||
/// A generic value for the `counter-increment` property.
|
||||
|
@ -22,10 +22,6 @@ impl<I> CounterIncrement<I> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<I> HasViewportPercentage for CounterIncrement<I> {
|
||||
#[inline] fn has_viewport_percentage(&self) -> bool { false }
|
||||
}
|
||||
|
||||
impl<I> ToCss for CounterIncrement<I>
|
||||
where
|
||||
I: ToCss,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue