Correct serialization of column-rule shorthand

This commit is contained in:
Xidorn Quan 2017-01-24 16:00:55 +11:00
parent ca6376a714
commit a994e4e96b

View file

@ -101,7 +101,6 @@
impl<'a> LonghandsToSerialize<'a> {
fn to_css_declared<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
let mut need_space = false;
try!(self.column_rule_width.to_css(dest));
if let DeclaredValue::Value(ref width) = *self.column_rule_width {
try!(width.to_css(dest));