fixes quote transform: none serialization

This commit is contained in:
Eddie Quan 2017-02-14 12:05:41 -05:00
parent 2af79b82f2
commit bdd3ab1fe0
2 changed files with 28 additions and 0 deletions

View file

@ -54,6 +54,10 @@ ${helpers.predefined_type("list-style-image", "UrlOrNone", "Either::Second(None_
impl ToCss for SpecifiedValue {
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
if self.0.is_empty() {
return dest.write_str("none")
}
let mut first = true;
for pair in &self.0 {
if !first {