mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
style: Fix grid line serialization to avoid redundant spacing.
This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1425227.
This commit is contained in:
parent
dbfcb7bc39
commit
de4dd638eb
1 changed files with 6 additions and 2 deletions
|
@ -59,12 +59,16 @@ where
|
|||
}
|
||||
|
||||
if let Some(ref i) = self.line_num {
|
||||
if self.is_span {
|
||||
dest.write_str(" ")?;
|
||||
}
|
||||
i.to_css(dest)?;
|
||||
}
|
||||
|
||||
if let Some(ref s) = self.ident {
|
||||
if self.is_span || self.line_num.is_some() {
|
||||
dest.write_str(" ")?;
|
||||
}
|
||||
s.to_css(dest)?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue