mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: use the same type for overflow-clip-box longhands.
Needed to add the hacky padding_box scheme, will fix it up later.
This commit is contained in:
parent
cdf7ae51b6
commit
35d0e7cf0f
7 changed files with 64 additions and 54 deletions
|
@ -124,3 +124,10 @@ define_css_keyword_enum! { OverscrollBehavior:
|
|||
"none" => None,
|
||||
}
|
||||
add_impls_for_keyword_enum!(OverscrollBehavior);
|
||||
|
||||
// FIXME(emilio): Make all keywords CamelCase.
|
||||
define_css_keyword_enum! { OverflowClipBox:
|
||||
"padding-box" => padding_box,
|
||||
"content-box" => content_box,
|
||||
}
|
||||
add_impls_for_keyword_enum!(OverflowClipBox);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue