style: Remove HasViewportPercentage.

It's not needed since #18268
This commit is contained in:
Emilio Cobos Álvarez 2017-08-29 23:45:45 +02:00
parent 473934c989
commit 36ff89bd28
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
61 changed files with 73 additions and 437 deletions

View file

@ -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,