pub type FontStyle = FontStyle<FontStyleAngle>;
Expand description
The computed value of font-style
.
FIXME(emilio): Angle should be a custom type to handle clamping during animation.
Implementations§
source§impl FontStyle
impl FontStyle
sourcepub fn default_angle() -> FontStyleAngle
pub fn default_angle() -> FontStyleAngle
The default angle for font-style: oblique. This is 20deg per spec:
https://drafts.csswg.org/css-fonts-4/#valdef-font-style-oblique-angle