style: Cleanup a bit the scroll-snap-type properties.

Still not perfect, but at least a bit more consistent.
This commit is contained in:
Emilio Cobos Álvarez 2017-10-25 20:12:37 +02:00
parent 05beeee268
commit 328f142f38
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
6 changed files with 24 additions and 20 deletions

View file

@ -110,3 +110,10 @@ impl Parse for AnimationName {
Ok(AnimationName(None))
}
}
define_css_keyword_enum! { ScrollSnapType:
"none" => None,
"mandatory" => Mandatory,
"proximity" => Proximity,
}
add_impls_for_keyword_enum!(ScrollSnapType);