style: Take down the global animatable props list and use a kwarg instead

This commit is contained in:
Emilio Cobos Álvarez 2016-06-28 14:14:35 +00:00
parent 793de6dff2
commit faed3df594
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
25 changed files with 393 additions and 238 deletions

View file

@ -6,11 +6,17 @@
<% data.new_style_struct("InheritedTable", inherited=True, gecko_name="TableBorder") %>
${helpers.single_keyword("border-collapse", "separate collapse", gecko_constant_prefix="NS_STYLE_BORDER")}
${helpers.single_keyword("empty-cells", "show hide", gecko_constant_prefix="NS_STYLE_TABLE_EMPTY_CELLS")}
${helpers.single_keyword("caption-side", "top bottom", extra_gecko_values="right left top-outside bottom-outside")}
${helpers.single_keyword("border-collapse", "separate collapse",
gecko_constant_prefix="NS_STYLE_BORDER",
animatable=False)}
${helpers.single_keyword("empty-cells", "show hide",
gecko_constant_prefix="NS_STYLE_TABLE_EMPTY_CELLS",
animatable=False)}
${helpers.single_keyword("caption-side", "top bottom",
extra_gecko_values="right left top-outside bottom-outside",
animatable=False)}
<%helpers:longhand name="border-spacing">
<%helpers:longhand name="border-spacing" animatable="False">
use app_units::Au;
use values::LocalToCss;