style: Add 'overflow-anchor' CSS property.

https://drafts.csswg.org/css-scroll-anchoring/#exclusion-api

Differential Revision: https://phabricator.services.mozilla.com/D13265
This commit is contained in:
Ryan Hunt 2018-11-21 22:33:15 -06:00 committed by Emilio Cobos Álvarez
parent c7cd1b83a1
commit c04a4140a7
8 changed files with 38 additions and 3 deletions

View file

@ -413,6 +413,26 @@ pub enum OverscrollBehavior {
None,
}
#[allow(missing_docs)]
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
#[derive(
Clone,
Copy,
Debug,
Eq,
MallocSizeOf,
Parse,
PartialEq,
SpecifiedValueInfo,
ToComputedValue,
ToCss,
)]
#[repr(u8)]
pub enum OverflowAnchor {
Auto,
None,
}
#[allow(missing_docs)]
#[cfg_attr(feature = "servo", derive(Deserialize, Serialize))]
#[derive(