mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Use generics for scroll-snap-points-*
This commit is contained in:
parent
bc1eef8f5e
commit
195e98e745
8 changed files with 122 additions and 110 deletions
11
components/style/values/computed/gecko.rs
Normal file
11
components/style/values/computed/gecko.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//! Computed types for legacy Gecko-only properties.
|
||||
|
||||
use values::computed::length::LengthOrPercentage;
|
||||
use values::generics::gecko::ScrollSnapPoint as GenericScrollSnapPoint;
|
||||
|
||||
/// A computed type for scroll snap points.
|
||||
pub type ScrollSnapPoint = GenericScrollSnapPoint<LengthOrPercentage>;
|
Loading…
Add table
Add a link
Reference in a new issue