mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Always serialize aspect-ratio and font shorthand with spaces around the slash.
Differential Revision: https://phabricator.services.mozilla.com/D46568
This commit is contained in:
parent
fee0f2cd23
commit
7d23cfb91e
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ impl ToCss for AspectRatio {
|
|||
W: fmt::Write,
|
||||
{
|
||||
self.0.to_css(dest)?;
|
||||
dest.write_char('/')?;
|
||||
dest.write_str(" / ")?;
|
||||
self.1.to_css(dest)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -221,7 +221,7 @@
|
|||
self.font_size.to_css(dest)?;
|
||||
|
||||
if *self.line_height != LineHeight::normal() {
|
||||
dest.write_str("/")?;
|
||||
dest.write_str(" / ")?;
|
||||
self.line_height.to_css(dest)?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue