style: Implement flow-relative values for resize property.

Differential Revision: https://phabricator.services.mozilla.com/D2908
This commit is contained in:
Xidorn Quan 2018-08-08 23:40:06 +00:00 committed by Emilio Cobos Álvarez
parent 5299ce31aa
commit c77ecd6984
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 87 additions and 9 deletions

View file

@ -884,6 +884,21 @@ pub enum Clear {
InlineEnd
}
/// https://drafts.csswg.org/css-ui/#propdef-resize
#[allow(missing_docs)]
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
#[derive(Clone, Copy, Debug, Eq, Hash, MallocSizeOf, Parse, PartialEq,
SpecifiedValueInfo, ToCss)]
pub enum Resize {
None,
Both,
Horizontal,
Vertical,
// https://drafts.csswg.org/css-logical-1/#resize
Inline,
Block,
}
/// The value for the `appearance` property.
///
/// https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance