mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
style: Rename pointing to inherited_ui.
And also merge values::*::pointing into values::*::ui. Bug: 1460192 Reviewed-by: heycam MozReview-Commit-ID: FM4gWEszahB
This commit is contained in:
parent
4ab0e85ed5
commit
db0134e697
12 changed files with 103 additions and 134 deletions
|
@ -67,9 +67,6 @@ pub use self::list::Quotes;
|
|||
pub use self::list::ListStyleType;
|
||||
pub use self::outline::OutlineStyle;
|
||||
pub use self::percentage::{Percentage, NonNegativePercentage};
|
||||
pub use self::pointing::{CaretColor, Cursor};
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use self::pointing::CursorImage;
|
||||
pub use self::position::{GridAutoFlow, GridTemplateAreas, Position, ZIndex};
|
||||
pub use self::svg::{SVGLength, SVGOpacity, SVGPaint, SVGPaintKind};
|
||||
pub use self::svg::{SVGPaintOrder, SVGStrokeDashArray, SVGWidth};
|
||||
|
@ -80,7 +77,9 @@ pub use self::text::{TextAlign, TextEmphasisPosition, TextEmphasisStyle, TextOve
|
|||
pub use self::time::Time;
|
||||
pub use self::transform::{Rotate, Scale, TimingFunction, Transform, TransformOperation};
|
||||
pub use self::transform::{TransformOrigin, TransformStyle, Translate};
|
||||
pub use self::ui::MozForceBrokenImageIcon;
|
||||
pub use self::ui::{CaretColor, Cursor, MozForceBrokenImageIcon};
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use self::ui::CursorImage;
|
||||
|
||||
#[cfg(feature = "gecko")]
|
||||
pub mod align;
|
||||
|
@ -104,7 +103,6 @@ pub mod length;
|
|||
pub mod list;
|
||||
pub mod outline;
|
||||
pub mod percentage;
|
||||
pub mod pointing;
|
||||
pub mod position;
|
||||
pub mod rect;
|
||||
pub mod svg;
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
/* 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 values for Pointing properties.
|
||||
//!
|
||||
//! https://drafts.csswg.org/css-ui/#pointing-keyboard
|
||||
|
||||
use values::computed::Number;
|
||||
use values::computed::color::Color;
|
||||
use values::computed::url::ComputedImageUrl;
|
||||
use values::generics::pointing as generics;
|
||||
|
||||
/// A computed value for the `caret-color` property.
|
||||
pub type CaretColor = generics::CaretColor<Color>;
|
||||
|
||||
/// A computed value for the `cursor` property.
|
||||
pub type Cursor = generics::Cursor<CursorImage>;
|
||||
|
||||
/// A computed value for item of `image cursors`.
|
||||
pub type CursorImage = generics::CursorImage<ComputedImageUrl, Number>;
|
|
@ -4,4 +4,18 @@
|
|||
|
||||
//! Computed values for UI properties
|
||||
|
||||
use values::computed::Number;
|
||||
use values::computed::color::Color;
|
||||
use values::computed::url::ComputedImageUrl;
|
||||
use values::generics::ui as generics;
|
||||
|
||||
pub use values::specified::ui::MozForceBrokenImageIcon;
|
||||
|
||||
/// A computed value for the `caret-color` property.
|
||||
pub type CaretColor = generics::CaretColor<Color>;
|
||||
|
||||
/// A computed value for the `cursor` property.
|
||||
pub type Cursor = generics::Cursor<CursorImage>;
|
||||
|
||||
/// A computed value for item of `image cursors`.
|
||||
pub type CursorImage = generics::CursorImage<ComputedImageUrl, Number>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue