mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
style: Simplify parsing and storage of SVG paint server fallback. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36806
This commit is contained in:
parent
f0b5d02901
commit
83da7c1535
5 changed files with 71 additions and 99 deletions
|
@ -342,8 +342,6 @@ impl Parse for GreaterThanOrEqualToOneNumber {
|
|||
/// <number> | <percentage>
|
||||
///
|
||||
/// Accepts only non-negative numbers.
|
||||
///
|
||||
/// FIXME(emilio): Should probably use Either.
|
||||
#[allow(missing_docs)]
|
||||
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, SpecifiedValueInfo, ToCss, ToShmem)]
|
||||
pub enum NumberOrPercentage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue