mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Bug 951793 - Style support for overscroll-behavior in Stylo. r=emilio
This commit is contained in:
parent
3907953d80
commit
5e2622f259
7 changed files with 61 additions and 4 deletions
|
@ -117,3 +117,10 @@ define_css_keyword_enum! { ScrollSnapType:
|
|||
"proximity" => Proximity,
|
||||
}
|
||||
add_impls_for_keyword_enum!(ScrollSnapType);
|
||||
|
||||
define_css_keyword_enum! { OverscrollBehavior:
|
||||
"auto" => Auto,
|
||||
"contain" => Contain,
|
||||
"none" => None,
|
||||
}
|
||||
add_impls_for_keyword_enum!(OverscrollBehavior);
|
||||
|
|
|
@ -34,7 +34,7 @@ pub use self::font::{FontSize, FontSizeAdjust, FontSynthesis, FontWeight, FontVa
|
|||
pub use self::font::{FontLanguageOverride, FontVariantSettings, FontVariantEastAsian};
|
||||
pub use self::font::{FontVariantLigatures, FontVariantNumeric, FontFeatureSettings};
|
||||
pub use self::font::{MozScriptLevel, MozScriptMinSize, MozScriptSizeMultiplier, XTextZoom, XLang};
|
||||
pub use self::box_::{AnimationIterationCount, AnimationName, ScrollSnapType, VerticalAlign};
|
||||
pub use self::box_::{AnimationIterationCount, AnimationName, OverscrollBehavior, ScrollSnapType, VerticalAlign};
|
||||
pub use self::color::{Color, ColorPropertyValue, RGBAColor};
|
||||
pub use self::effects::{BoxShadow, Filter, SimpleShadow};
|
||||
pub use self::flex::FlexBasis;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue