Auto merge of #13200 - Manishearth:resync, r=bholley

Resync bindings

StyleClear and StyleDisplay are now enums, updating bindings for them.

r? @bholley

<!-- 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/13200)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-09-09 02:00:13 -05:00 committed by GitHub
commit 957893bdc2
6 changed files with 224 additions and 208 deletions

View file

@ -848,7 +848,8 @@ fn static_assert() {
<% display_keyword = Keyword("display", "inline block inline-block table inline-table table-row-group " +
"table-header-group table-footer-group table-row table-column-group " +
"table-column table-cell table-caption list-item flex none " +
"-moz-box -moz-inline-box") %>
"-moz-box -moz-inline-box",
gecko_enum_prefix="StyleDisplay") %>
${impl_keyword('display', 'mDisplay', display_keyword, True)}
// overflow-y is implemented as a newtype of overflow-x, so we need special handling.

View file

@ -120,7 +120,8 @@ ${helpers.single_keyword("position", "static absolute relative fixed",
</%helpers:single_keyword_computed>
${helpers.single_keyword("clear", "none left right both",
animatable=False, gecko_ffi_name="mBreakType")}
animatable=False, gecko_ffi_name="mBreakType",
gecko_enum_prefix="StyleClear")}
<%helpers:longhand name="-servo-display-for-hypothetical-box"
animatable="False"