servo: Merge #15170 - Correct serialization of column-rule shorthand (from upsuper:column-rule); r=Wafflespeanut

Source-Repo: https://github.com/servo/servo
Source-Revision: 36fc07d9c4ec1abde2c55134cd5fd9688ddb6ed7
This commit is contained in:
Xidorn Quan 2017-01-26 09:50:19 -08:00
parent 475c41273f
commit 22b8699325

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));