mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Add support for logical versions of overscroll-behavior.
Differential Revision: https://phabricator.services.mozilla.com/D57363
This commit is contained in:
parent
baac1e2c69
commit
0dfbd38532
1 changed files with 3 additions and 1 deletions
|
@ -472,13 +472,15 @@ ${helpers.predefined_type(
|
|||
animation_value_type="discrete",
|
||||
)}
|
||||
|
||||
% for axis in ["x", "y"]:
|
||||
% for (axis, logical) in ALL_AXES:
|
||||
${helpers.predefined_type(
|
||||
"overscroll-behavior-" + axis,
|
||||
"OverscrollBehavior",
|
||||
"computed::OverscrollBehavior::Auto",
|
||||
engines="gecko",
|
||||
needs_context=False,
|
||||
logical_group="overscroll-behavior",
|
||||
logical=logical,
|
||||
gecko_pref="layout.css.overscroll-behavior.enabled",
|
||||
spec="https://wicg.github.io/overscroll-behavior/#overscroll-behavior-properties",
|
||||
animation_value_type="discrete",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue