Class BoxStyleKeys


  • public class BoxStyleKeys
    extends Object
    http://www.w3.org/TR/css3-box/

    Creation-Date: 27.10.2005, 21:12:57

    Author:
    Thomas Morgner
    • Field Detail

      • BOX_SIZING

        public static final StyleKey BOX_SIZING
      • BOX_WIDTH

        public static final StyleKey BOX_WIDTH
        These values may be auto. If specified, this overrides the width.
      • BOX_HEIGHT

        public static final StyleKey BOX_HEIGHT
        These values may be auto. If specified, this overrides the height.
      • DISPLAY_MODEL

        public static final StyleKey DISPLAY_MODEL
        The 'display-model' property determines the algorithm with which an element lays out its children.
      • DISPLAY_ROLE

        public static final StyleKey DISPLAY_ROLE
        'display-role' specifies what role an element has in its parent's algorithm.
      • PADDING_TOP

        public static final StyleKey PADDING_TOP
        Set the padding around the content of a box. Padding is between content and border. Background expands over the padding up to the border.

        Values given may not be negative. If percentages are given, all paddings are relative to the width of the parent (if the flow is horizontal, else the height is used).

      • PADDING_LEFT

        public static final StyleKey PADDING_LEFT
      • PADDING_BOTTOM

        public static final StyleKey PADDING_BOTTOM
      • PADDING_RIGHT

        public static final StyleKey PADDING_RIGHT
      • MARGIN_TOP

        public static final StyleKey MARGIN_TOP
        These properties set the thickness of the margin. The value may be negative, but the UA may impose a lower bound.

        'Margin' is a shorthand to set top, right, bottom and left together. If four values are given, they set top, right, bottom and left in that order. If left is omitted, it is the same as right. If bottom is omitted, it is the same as top. If right is omitted it is the same as top.

        The meaning of 'auto' on 'margin-left' '-right', '-top' and '-bottom' is as follows:

        on floating and inline-level elements, 'auto' is equal to 0 on positioned elements: see the positioning module[ref] on normal-flow elements, if the containing block is horizontal: o 'auto' on 'margin-top' and 'margin-bottom' is equal to 0 o on 'margin-right' and 'margin-left': see equation (1) below on normal-flow elements, if the containing block is vertical : o 'auto' on 'margin-right' and 'margin-left' is equal to 0 o on 'margin-top' and 'margin-bottom': see equation (1) below

        Margins must satisfy certain constraints, which means that the computed value may be different from the specified value. See equation (1) below.

        Note that in a horizontal flow, percentages on 'margin-top' and 'margin-bottom' are relative to the width of the containing block, not the height (and in vertical flow, 'margin-left' and 'margin-right' are relative to the height, not the width).

        Note that 'margin-top' and 'margin-bottom' do not apply to non-replaced, inline elements (in horizontal flow); see [CSS3LINE].

      • MARGIN_LEFT

        public static final StyleKey MARGIN_LEFT
      • MARGIN_BOTTOM

        public static final StyleKey MARGIN_BOTTOM
      • MARGIN_RIGHT

        public static final StyleKey MARGIN_RIGHT
      • WIDTH

        public static final StyleKey WIDTH
        These values may be auto.
      • HEIGHT

        public static final StyleKey HEIGHT
        These values may be auto.
      • MAX_WIDTH

        public static final StyleKey MAX_WIDTH
      • MAX_HEIGHT

        public static final StyleKey MAX_HEIGHT
      • MIN_WIDTH

        public static final StyleKey MIN_WIDTH
      • MIN_HEIGHT

        public static final StyleKey MIN_HEIGHT
      • FIT_POSITION

        public static final StyleKey FIT_POSITION
        A pair of values.
      • CROP

        public static final StyleKey CROP
        We alter the semantics a bit. When crop is computed, absolute values are used. Inset-Rect is voodoo, so ignore it for now.
      • FLOAT

        public static final StyleKey FLOAT
      • CLEAR

        public static final StyleKey CLEAR
      • CLEAR_AFTER

        public static final StyleKey CLEAR_AFTER
      • FLOAT_DISPLACE

        public static final StyleKey FLOAT_DISPLACE
      • INDENT_EDGE_RESET

        public static final StyleKey INDENT_EDGE_RESET
      • OVERFLOW_X

        public static final StyleKey OVERFLOW_X
        The plain overflow behaviour can be constructed using these both properties.
      • OVERFLOW_Y

        public static final StyleKey OVERFLOW_Y
      • OVERFLOW_CLIP

        public static final StyleKey OVERFLOW_CLIP
      • VISIBILITY

        public static final StyleKey VISIBILITY