style: Use cbindgen for a couple more CSS properties.

Differential Revision: https://phabricator.services.mozilla.com/D13886
This commit is contained in:
Emilio Cobos Álvarez 2018-12-05 18:04:51 -05:00
parent 499bfcb1dd
commit 626172d64c
5 changed files with 23 additions and 29 deletions

View file

@ -389,6 +389,7 @@ impl Parse for AnimationName {
ToComputedValue,
ToCss,
)]
#[repr(u8)]
pub enum ScrollSnapType {
None,
Mandatory,
@ -409,6 +410,7 @@ pub enum ScrollSnapType {
ToComputedValue,
ToCss,
)]
#[repr(u8)]
pub enum OverscrollBehavior {
Auto,
Contain,
@ -429,6 +431,7 @@ pub enum OverscrollBehavior {
ToComputedValue,
ToCss,
)]
#[repr(u8)]
pub enum OverflowClipBox {
PaddingBox,
ContentBox,