style/values/computed/
counters.rs

1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5//! Computed values for counter properties
6
7use crate::values::computed::image::Image;
8use crate::values::generics::counters as generics;
9use crate::values::generics::counters::CounterIncrement as GenericCounterIncrement;
10use crate::values::generics::counters::CounterReset as GenericCounterReset;
11use crate::values::generics::counters::CounterSet as GenericCounterSet;
12
13/// A computed value for the `counter-increment` property.
14pub type CounterIncrement = GenericCounterIncrement<i32>;
15
16/// A computed value for the `counter-reset` property.
17pub type CounterReset = GenericCounterReset<i32>;
18
19/// A computed value for the `counter-set` property.
20pub type CounterSet = GenericCounterSet<i32>;
21
22/// A computed value for the `content` property.
23pub type Content = generics::GenericContent<Image>;
24
25/// A computed content item.
26pub type ContentItem = generics::GenericContentItem<Image>;