Auto merge of #15170 - upsuper:column-rule, r=Wafflespeanut

Correct serialization of column-rule shorthand

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15170)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-01-26 09:50:19 -08:00 committed by GitHub
commit 36fc07d9c4

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