mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Gecko build fix for Servo PR #21156.
MozReview-Commit-ID: FbN0hiUGzYa
This commit is contained in:
parent
bad4f7d729
commit
5227c7572e
1 changed files with 8 additions and 0 deletions
|
@ -3086,6 +3086,14 @@ fn static_assert() {
|
||||||
<% float_keyword = Keyword("float", "Left Right None", gecko_enum_prefix="StyleFloat") %>
|
<% float_keyword = Keyword("float", "Left Right None", gecko_enum_prefix="StyleFloat") %>
|
||||||
${impl_keyword('float', 'mFloat', float_keyword)}
|
${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"] %>
|
<% overflow_x = data.longhands_by_name["overflow-x"] %>
|
||||||
pub fn set_overflow_y(&mut self, v: longhands::overflow_y::computed_value::T) {
|
pub fn set_overflow_y(&mut self, v: longhands::overflow_y::computed_value::T) {
|
||||||
use properties::longhands::overflow_x::computed_value::T as BaseType;
|
use properties::longhands::overflow_x::computed_value::T as BaseType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue