mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Support display:-moz-(inline-)box in geckolib.
This commit is contained in:
parent
a04e30d247
commit
cb7f2a1c1b
2 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
|||
list-item flex
|
||||
none
|
||||
""".split()
|
||||
if product == "gecko":
|
||||
values += "-moz-box -moz-inline-box".split()
|
||||
experimental_values = set("flex".split())
|
||||
%>
|
||||
pub use self::computed_value::T as SpecifiedValue;
|
||||
|
|
|
@ -632,7 +632,8 @@ fn static_assert() {
|
|||
// infrastructure for preffing certain values.
|
||||
<% 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") %>
|
||||
"table-column table-cell table-caption list-item flex none " +
|
||||
"-moz-box -moz-inline-box") %>
|
||||
<%call expr="impl_keyword('display', 'mDisplay', display_keyword, True)"></%call>
|
||||
|
||||
// overflow-y is implemented as a newtype of overflow-x, so we need special handling.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue