mirror of
https://github.com/servo/servo.git
synced 2025-07-10 17:03:40 +01:00
It does not represent `<length> | <percentage>`, but `<length-percentage>`, so `LengthOrPercentage` is not the right name. This patch is totally autogenerated using: rg 'LengthOrPercentage' servo | cut -d : -f 1 | sort | uniq > files for file in $(cat files); do sed -i "s#LengthOrPercentage#LengthPercentage#g" $file; done Differential Revision: https://phabricator.services.mozilla.com/D15812
11 lines
509 B
Rust
11 lines
509 B
Rust
/* 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 https://mozilla.org/MPL/2.0/. */
|
|
|
|
//! Computed types for legacy Gecko-only properties.
|
|
|
|
use crate::values::computed::length::LengthPercentage;
|
|
use crate::values::generics::gecko::ScrollSnapPoint as GenericScrollSnapPoint;
|
|
|
|
/// A computed type for scroll snap points.
|
|
pub type ScrollSnapPoint = GenericScrollSnapPoint<LengthPercentage>;
|