25.49. CSS2Properties: a set of CSS attributes and their valuesDOM Level 2 CSS2: Object |
azimuth | background | backgroundAttachment | backgroundColor |
backgroundImage | backgroundPosition | backgroundRepeat | border |
borderBottom | borderBottomColor | borderBottomStyle | borderBottomWidth |
borderCollapse | borderColor | borderLeft | borderLeftColor |
borderLeftStyle | borderLeftWidth | borderRight | borderRightColor |
borderRightStyle | borderRightWidth | borderSpacing | borderStyle |
borderTop | borderTopColor | borderTopStyle | borderTopWidth |
borderWidth | bottom | captionSide | clear |
clip | color | content | counterIncrement |
counterReset | cssFloat | cue | cueAfter |
cueBefore | cursor | direction | display |
elevation | emptyCells | font | fontFamily |
fontSize | fontSizeAdjust | fontStretch | fontStyle |
fontVariant | fontWeight | height | left |
letterSpacing | lineHeight | listStyle | listStyleImage |
listStylePosition | listStyleType | margin | marginBottom |
marginLeft | marginRight | marginTop | markerOffset |
marks | maxHeight | maxWidth | minHeight |
minWidth | orphans | outline | outlineColor |
outlineStyle | outlineWidth | overflow | padding |
paddingBottom | paddingLeft | paddingRight | paddingTop |
page | pageBreakAfter | pageBreakBefore | pageBreakInside |
pause | pauseAfter | pauseBefore | pitch |
pitchRange | playDuring | position | quotes |
richness | right | size | speak |
speakHeader | speakNumeral | speakPunctuation | speechRate |
stress | tableLayout | textAlign | textdecoration |
textIndent | textShadow | textTRansform | top |
unicodeBidi | verticalAlign | visibility | voiceFamily |
volume | whiteSpace | widows | width |
wordSpacing | zIndex |
A CSS2Properties object represents a set of CSS style attributes and their values. It defines one JavaScript property for each CSS attribute defined by the CSS2 specification. The style property of an HTMLElement is a read/write CSS2Properties object, as is the style property of a CSSRule object. The return value of Window.getComputedStyle( ), however, is a CSS2Properties object whose properties are read-only.
CSSRule, HTMLElement, Window.getComputedStyle( ); Chapter 16