mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant descendants.
Bug: 288704 Reviewed-by: emilio
This commit is contained in:
parent
4b4b5b6a1d
commit
4f44b1c6b1
8 changed files with 28 additions and 0 deletions
|
@ -123,3 +123,13 @@ impl Parse for Quotes {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Specified and computed `-moz-list-reversed` property (for UA sheets only).
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq, SpecifiedValueInfo, ToComputedValue, ToCss)]
|
||||
#[repr(u8)]
|
||||
pub enum MozListReversed {
|
||||
/// the initial value
|
||||
False,
|
||||
/// exclusively used for <ol reversed> in our html.css UA sheet
|
||||
True,
|
||||
}
|
||||
|
|
|
@ -66,6 +66,7 @@ pub use self::length::{NoCalcLength, ViewportPercentageLength};
|
|||
pub use self::length::{NonNegativeLengthPercentage, NonNegativeLengthPercentageOrAuto};
|
||||
#[cfg(feature = "gecko")]
|
||||
pub use self::list::ListStyleType;
|
||||
pub use self::list::MozListReversed;
|
||||
pub use self::list::{QuotePair, Quotes};
|
||||
pub use self::motion::OffsetPath;
|
||||
pub use self::outline::OutlineStyle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue