mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Support scrollbar-gutter in the style system
This patch adds `scrollbar-gutter` property in CSS Overflow level 3 [1] to the style system. `devtools/shared/css/generated/properties-db.js` is generated by `./mach devtools-css-db`. [1] https://drafts.csswg.org/css-overflow-3/#scrollbar-gutter-property Differential Revision: https://phabricator.services.mozilla.com/D131460
This commit is contained in:
parent
a0617bff0d
commit
2dbc89d1f5
6 changed files with 84 additions and 3 deletions
|
@ -706,3 +706,13 @@ ${helpers.predefined_type(
|
|||
animation_value_type="Integer",
|
||||
spec="https://drafts.csswg.org/css-overflow-3/#line-clamp",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"scrollbar-gutter",
|
||||
"ScrollbarGutter",
|
||||
"computed::ScrollbarGutter::AUTO",
|
||||
engines="gecko",
|
||||
gecko_pref="layout.css.scrollbar-gutter.enabled",
|
||||
animation_value_type="discrete",
|
||||
spec="https://drafts.csswg.org/css-overflow-3/#scrollbar-gutter-property",
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue