mirror of
https://github.com/servo/servo.git
synced 2025-07-12 18:03:49 +01:00
style: Use cbindgen for a couple more CSS properties.
Differential Revision: https://phabricator.services.mozilla.com/D13886
This commit is contained in:
parent
499bfcb1dd
commit
626172d64c
5 changed files with 23 additions and 29 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue