mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Parse scroll-snap-stop style and propagate it to APZ side
Depends on D146147 Differential Revision: https://phabricator.services.mozilla.com/D145850
This commit is contained in:
parent
f5cf952525
commit
3723a7b18d
7 changed files with 39 additions and 5 deletions
|
@ -285,6 +285,15 @@ ${helpers.predefined_type(
|
|||
animation_value_type="discrete",
|
||||
)}
|
||||
|
||||
${helpers.predefined_type(
|
||||
"scroll-snap-stop",
|
||||
"ScrollSnapStop",
|
||||
"computed::ScrollSnapStop::Normal",
|
||||
engines="gecko",
|
||||
spec="https://drafts.csswg.org/css-scroll-snap-1/#scroll-snap-stop",
|
||||
animation_value_type="discrete",
|
||||
)}
|
||||
|
||||
% for (axis, logical) in ALL_AXES:
|
||||
${helpers.predefined_type(
|
||||
"overscroll-behavior-" + axis,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue