From 5227c7572e32dd74a8b9bd37a2070c88307835be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 16 Jul 2018 19:01:24 +0200 Subject: [PATCH] style: Gecko build fix for Servo PR #21156. MozReview-Commit-ID: FbN0hiUGzYa --- components/style/properties/gecko.mako.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 9c5d9052428..ac5acfd05dc 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -3086,6 +3086,14 @@ fn static_assert() { <% float_keyword = Keyword("float", "Left Right None", gecko_enum_prefix="StyleFloat") %> ${impl_keyword('float', 'mFloat', float_keyword)} + <% clear_keyword = Keyword( + "clear", + "Left Right None Both", + gecko_enum_prefix="StyleClear", + gecko_inexhaustive=True, + ) %> + ${impl_keyword('clear', 'mBreakType', clear_keyword)} + <% overflow_x = data.longhands_by_name["overflow-x"] %> pub fn set_overflow_y(&mut self, v: longhands::overflow_y::computed_value::T) { use properties::longhands::overflow_x::computed_value::T as BaseType;