mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
style: Rename ScrollSnapType to ScrollSnapStrictness.
The scroll snap strictness is defined in the new spec [1], and the structure is the exactly same as the old scroll snap type structure. [1] https://drafts.csswg.org/css-scroll-snap-1/#snap-strictness Differential Revision: https://phabricator.services.mozilla.com/D21621
This commit is contained in:
parent
0a84073767
commit
2f457ed144
6 changed files with 8 additions and 7 deletions
|
@ -430,8 +430,8 @@ ${helpers.predefined_type(
|
|||
% for axis in ["x", "y"]:
|
||||
${helpers.predefined_type(
|
||||
"scroll-snap-type-" + axis,
|
||||
"ScrollSnapType",
|
||||
"computed::ScrollSnapType::None",
|
||||
"ScrollSnapStrictness",
|
||||
"computed::ScrollSnapStrictness::None",
|
||||
products="gecko",
|
||||
needs_context=False,
|
||||
gecko_pref="layout.css.scroll-snap.enabled",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue