mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
41e105733c
commit
c7871811c8
5 changed files with 81 additions and 55 deletions
|
@ -828,3 +828,16 @@ impl TransitionProperty {
|
|||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(missing_docs)]
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||
SpecifiedValueInfo, ToCss)]
|
||||
pub enum Float {
|
||||
Left,
|
||||
Right,
|
||||
None,
|
||||
// https://drafts.csswg.org/css-logical-props/#float-clear
|
||||
InlineStart,
|
||||
InlineEnd
|
||||
}
|
||||
|
|
|
@ -38,6 +38,7 @@ pub use self::font::{FontFamily, FontLanguageOverride, FontStyle, FontVariantEas
|
|||
pub use self::font::{FontFeatureSettings, FontVariantLigatures, FontVariantNumeric};
|
||||
pub use self::font::{MozScriptLevel, MozScriptMinSize, MozScriptSizeMultiplier, XLang, XTextZoom};
|
||||
pub use self::box_::{AnimationIterationCount, AnimationName, Contain, Display};
|
||||
pub use self::box_::Float;
|
||||
pub use self::box_::{OverflowClipBox, OverscrollBehavior, Perspective};
|
||||
pub use self::box_::{ScrollSnapType, TouchAction, TransitionProperty, VerticalAlign, WillChange};
|
||||
pub use self::color::{Color, ColorPropertyValue, RGBAColor};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue