mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fixed #15200 - added missing comma in {background,mask}-position
serialization
This commit is contained in:
parent
0ebb9ec9e8
commit
fbdee15c53
3 changed files with 17 additions and 2 deletions
|
@ -234,6 +234,9 @@
|
|||
self.background_position_x.0[i].to_css(dest)?;
|
||||
dest.write_str(" ")?;
|
||||
self.background_position_y.0[i].to_css(dest)?;
|
||||
if i < len - 1 {
|
||||
dest.write_str(", ")?;
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -226,7 +226,11 @@
|
|||
|
||||
for i in 0..len {
|
||||
self.mask_position_x.0[i].to_css(dest)?;
|
||||
dest.write_str(" ")?;
|
||||
self.mask_position_y.0[i].to_css(dest)?;
|
||||
if i < len - 1 {
|
||||
dest.write_str(", ")?;
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue