servo: Merge #13978 - Implement column-fill (from Haggus:master); r=emilio
authorMateusz 'Haggus' Mrowiec <matt.mrowiec@gmail.com>
Sat, 29 Oct 2016 14:16:13 -0500
changeset 340013 ada09f0c0ebd0997e6186048a445ac75abf1c283
parent 340012 e6d6c6308d2207d1e2683d05f7dd6ef750120fe9
child 340014 12bcf1890a748124ea633ca8706c6cd973204527
push id31307
push usergszorc@mozilla.com
push dateSat, 04 Feb 2017 00:59:06 +0000
treeherdermozilla-central@94079d43835f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
servo: Merge #13978 - Implement column-fill (from Haggus:master); r=emilio Implemented column-fill from #13764 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 47d29fd056d1ee5dffdf04c8daf1e097bdd3f38f
servo/components/style/properties/longhand/column.mako.rs
--- a/servo/components/style/properties/longhand/column.mako.rs
+++ b/servo/components/style/properties/longhand/column.mako.rs
@@ -246,8 +246,11 @@
     pub fn parse(_context: &ParserContext, input: &mut Parser) -> Result<SpecifiedValue, ()> {
         if input.try(|input| input.expect_ident_matching("normal")).is_ok() {
             Ok(SpecifiedValue::Normal)
         } else {
             specified::Length::parse_non_negative(input).map(SpecifiedValue::Specified)
         }
     }
 </%helpers:longhand>
+
+${helpers.single_keyword("column-fill", "auto balance",
+                         products="gecko", animatable=False)}