stylo: Support stroke-dasharray and stroke-dashoffset

MozReview-Commit-ID: 4QKKzJ1DVYP
This commit is contained in:
Manish Goregaokar 2017-02-09 17:43:52 -08:00 committed by Manish Goregaokar
parent 4d33761596
commit ff08de8ad1
7 changed files with 89 additions and 4 deletions

View file

@ -259,6 +259,8 @@ impl ToCss for SVGPaint {
}
}
/// <length> | <percentage> | <number>
pub type LoPOrNumber = Either<LengthOrPercentage, Number>;
#[derive(Clone, PartialEq, Eq, Copy, Debug)]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]