mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
parent
2bc70e738b
commit
85af4145c3
5 changed files with 82 additions and 56 deletions
|
@ -841,3 +841,17 @@ pub enum Float {
|
|||
InlineStart,
|
||||
InlineEnd
|
||||
}
|
||||
|
||||
#[allow(missing_docs)]
|
||||
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
|
||||
SpecifiedValueInfo, ToCss)]
|
||||
pub enum Clear {
|
||||
None,
|
||||
Left,
|
||||
Right,
|
||||
Both,
|
||||
// https://drafts.csswg.org/css-logical-props/#float-clear
|
||||
InlineStart,
|
||||
InlineEnd
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue