This class stores the sizes of the box edges in the CSS box model. Each
edge area is placed around the sides of the content box. The innermost area
is the Style.padding area which has a background and surrounds the
content. The content and padding area is surrounded by the Style.border,
which itself is surrounded by the transparent Style.margin. This box
represents the eges of padding, border, or margin depending on which
accessor was used to retrieve it.
General purpose Color class. Represent a color as an ARGB value that can be
converted to and from num, hex string, hsl, hsla, rgb, rgba and SVG pre-
defined color constant.
Traverse all rulesets looking for nested ones. If a ruleset is in a
declaration group (implies nested selector) then generate new ruleset(s) at
level 0 of CSS using selector inheritance syntax (flattens the nesting).
List of most common font families across different platforms. Use the
collection names in the Font class (e.g., Font.SANS_SERIF, Font.FONT_SERIF,
Font.MONOSPACE, Font.CURSIVE or Font.FANTASY). These work best on all
platforms using the fonts that best match availability on each platform.
See www.angelfire.com/al4/rcollins/style/fonts.html for a good
description of fonts available between platforms and browsers.
Hsl class support to interact with a color as a hsl with hue, saturation,
and lightness with optional alpha blending. The hue is a ratio of 360
degrees 360° = 1 or 0, (1° == (1/360)), saturation and lightness is a 0..1
fraction (1 == 100%) and alpha is a 0..1 fraction.
Parse the input CSS selector into a tree. The input can be a String,
or List<int> of bytes and returns a StyleSheet AST. The optional
errors list will contain each error/warning as a Message.