mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Introduce Separator::parse
This commit is contained in:
parent
6c17bb03ce
commit
17875b8a81
6 changed files with 59 additions and 26 deletions
|
@ -19,7 +19,7 @@ use std::ascii::AsciiExt;
|
|||
use std::borrow::Cow;
|
||||
use std::fmt;
|
||||
use std::ops::Range;
|
||||
use style_traits::{ToCss, OneOrMoreSeparated, CommaSeparator, ParseError, StyleParseError};
|
||||
use style_traits::{Comma, OneOrMoreSeparated, ParseError, StyleParseError, ToCss};
|
||||
use values::CustomIdent;
|
||||
|
||||
/// Parse the prelude of an @counter-style rule
|
||||
|
@ -553,7 +553,7 @@ pub struct AdditiveTuple {
|
|||
}
|
||||
|
||||
impl OneOrMoreSeparated for AdditiveTuple {
|
||||
type S = CommaSeparator;
|
||||
type S = Comma;
|
||||
}
|
||||
|
||||
impl Parse for AdditiveTuple {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue