Expand description

CSS handling for the specified value of basic-shapes


  • pub use crate::values::generics::basic_shape::FillRule;


  • The flags to represent which basic shapes we would like to support.
  • Defines a rectangle via insets from the top and left edges of the reference box.
  • The specified value of xywh(). Defines a rectangle via offsets from the top and left edge of the reference box, and a specified width and height.


  • The specified value of . = <inset()> | <rect()> | <xywh()>
  • For filled shapes, we use fill-rule, and store it for path() and polygon(). For outline shapes, we should ignore fill-rule.


Type Aliases