mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fix transform: none serialization
This commit is contained in:
parent
231481570e
commit
cba88f213d
2 changed files with 28 additions and 0 deletions
|
@ -1251,6 +1251,11 @@ ${helpers.single_keyword("animation-fill-mode",
|
|||
|
||||
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 operation in &self.0 {
|
||||
if !first {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue