mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Move legacy -moz-box collapse to its own CSS property
Make display: -moz-box's visibility: collapse handling switchable by its own CSS property. Longer term maybe we should switch the front-end away from visibility: collapse altogether (there are some alternatives), but for now this will allow to move the front-end to switch to modern `display: flex` while keeping `visibility: collapse` work as in -moz-box. Differential Revision: https://phabricator.services.mozilla.com/D171472
This commit is contained in:
parent
34eb94c71e
commit
860a6c2fe6
1 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,16 @@ ${helpers.single_keyword(
|
|||
servo_restyle_damage="rebuild_and_reflow",
|
||||
)}
|
||||
|
||||
${helpers.single_keyword(
|
||||
"-moz-box-collapse",
|
||||
"flex legacy",
|
||||
engines="gecko",
|
||||
gecko_enum_prefix="StyleMozBoxCollapse",
|
||||
animation_value_type="none",
|
||||
enabled_in="chrome",
|
||||
spec="None (internal)",
|
||||
)}
|
||||
|
||||
${helpers.single_keyword(
|
||||
"-moz-box-layout",
|
||||
"flex legacy",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue