mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Replace NonNegativeLengthOrNumber by a specific type for -moz-tab-size
This is the only use of this type.
This commit is contained in:
parent
da8604991e
commit
27732c7dbb
9 changed files with 49 additions and 28 deletions
|
@ -13,6 +13,7 @@ use values::computed::{NonNegativeLength, NonNegativeNumber};
|
|||
use values::computed::length::{Length, LengthOrPercentage};
|
||||
use values::generics::text::InitialLetter as GenericInitialLetter;
|
||||
use values::generics::text::LineHeight as GenericLineHeight;
|
||||
use values::generics::text::MozTabSize as GenericMozTabSize;
|
||||
use values::generics::text::Spacing;
|
||||
use values::specified::text::{TextOverflowSide, TextDecorationLine};
|
||||
|
||||
|
@ -147,3 +148,6 @@ impl TextDecorationsInEffect {
|
|||
result
|
||||
}
|
||||
}
|
||||
|
||||
/// A specified value for the `-moz-tab-size` property.
|
||||
pub type MozTabSize = GenericMozTabSize<NonNegativeNumber, NonNegativeLength>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue