mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Replace write! with to_css and write_str in some ToCss impls
This commit is contained in:
parent
c1b196b7cb
commit
7e92c15e00
11 changed files with 58 additions and 42 deletions
|
@ -440,7 +440,7 @@ impl ToCss for Integer {
|
|||
if self.was_calc {
|
||||
dest.write_str("calc(")?;
|
||||
}
|
||||
write!(dest, "{}", self.value)?;
|
||||
self.value.to_css(dest)?;
|
||||
if self.was_calc {
|
||||
dest.write_str(")")?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue