Skip to content

Commit e09d9e6

Browse files
committed
A couple more tests
1 parent abcbbbe commit e09d9e6

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/lib.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10425,5 +10425,20 @@ mod tests {
1042510425
initial-value: none;
1042610426
}
1042710427
"#});
10428+
10429+
minify_test(r#"
10430+
@property --property-name {
10431+
syntax: '<color>#';
10432+
inherits: false;
10433+
initial-value: yellow, blue;
10434+
}
10435+
"#, "@property --property-name{syntax:\"<color>#\";inherits:false;initial-value:#ff0,#00f}");
10436+
minify_test(r#"
10437+
@property --property-name {
10438+
syntax: '<color>+';
10439+
inherits: false;
10440+
initial-value: yellow blue;
10441+
}
10442+
"#, "@property --property-name{syntax:\"<color>+\";inherits:false;initial-value:#ff0 #00f}");
1042810443
}
1042910444
}

src/values/syntax.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::error::{ParserError, PrinterError};
44
use crate::traits::{Parse, ToCss};
55
use crate::printer::Printer;
66
use crate::values::number::serialize_integer;
7-
87
use super::string::CowArcStr;
98

109
/// https://drafts.css-houdini.org/css-properties-values-api/#syntax-strings

0 commit comments

Comments
 (0)