Interface CSS2Properties

All Known Implementing Classes:
AbstractCSS2Properties, ComputedCSS2Properties, CSS2PropertiesImpl, LocalCSS2Properties

public interface CSS2Properties
The CSS2Properties interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration. The attributes of this interface correspond to all the properties specified in CSS2. Getting an attribute of this interface is equivalent to calling the getPropertyValue method of the CSSStyleDeclaration interface. Setting an attribute of this interface is equivalent to calling the setProperty method of the CSSStyleDeclaration interface.

A conformant implementation of the CSS module is not required to implement the CSS2Properties interface. If an implementation does implement this interface, the expectation is that language-specific methods can be used to cast from an instance of the CSSStyleDeclaration interface to the CSS2Properties interface.

If an implementation does implement this interface, it is expected to understand the specific syntax of the shorthand properties, and apply their semantics; when the margin property is set, for example, the marginTop, marginRight, marginBottom and marginLeft properties are actually being set by the underlying implementation.

When dealing with CSS "shorthand" properties, the shorthand properties should be decomposed into their component longhand properties as appropriate, and when querying for their value, the form returned should be the shortest form exactly equivalent to the declarations made in the ruleset. However, if there is no shorthand declaration that could be added to the ruleset without changing in any way the rules already declared in the ruleset (i.e., by adding longhand rules that were previously not declared in the ruleset), then the empty string should be returned for the shorthand property.

For example, querying for the font property should not return "normal normal normal 14pt/normal Arial, sans-serif", when "14pt Arial, sans-serif" suffices. (The normals are initial values, and are implied by use of the longhand property.)

If the values for all the longhand properties that compose a particular string are the initial values, then a string consisting of all the initial values should be returned (e.g. a border-width value of "medium" should be returned as such, not as "").

For some shorthand properties that take missing values from other sides, such as the margin, padding, and border-[width|style|color] properties, the minimum number of sides possible should be used; i.e., "0px 10px" will be returned instead of "0px 10px 0px 10px".

If the value of a shorthand property can not be decomposed into its component longhand properties, as is the case for the font property with a value of "menu", querying for the values of the component longhand properties should return the empty string.

See also the Document Object Model (DOM) Level 2 Style Specification.

Since:
DOM Level 2
  • Method Details

    • getAzimuth

      String getAzimuth()
      See the azimuth property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setAzimuth

      void setAzimuth(String azimuth) throws DOMException
      Throws:
      DOMException
    • getBackground

      String getBackground()
      See the background property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackground

      void setBackground(String background) throws DOMException
      Throws:
      DOMException
    • getBackgroundAttachment

      String getBackgroundAttachment()
      See the background-attachment property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackgroundAttachment

      void setBackgroundAttachment(String backgroundAttachment) throws DOMException
      Throws:
      DOMException
    • getBackgroundColor

      String getBackgroundColor()
      See the background-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackgroundColor

      void setBackgroundColor(String backgroundColor) throws DOMException
      Throws:
      DOMException
    • getBackgroundImage

      String getBackgroundImage()
      See the background-image property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackgroundImage

      void setBackgroundImage(String backgroundImage) throws DOMException
      Throws:
      DOMException
    • getBackgroundPosition

      String getBackgroundPosition()
      See the background-position property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackgroundPosition

      void setBackgroundPosition(String backgroundPosition) throws DOMException
      Throws:
      DOMException
    • getBackgroundRepeat

      String getBackgroundRepeat()
      See the background-repeat property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBackgroundRepeat

      void setBackgroundRepeat(String backgroundRepeat) throws DOMException
      Throws:
      DOMException
    • getBorder

      String getBorder()
      See the border property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorder

      void setBorder(String border) throws DOMException
      Throws:
      DOMException
    • getBorderCollapse

      String getBorderCollapse()
      See the border-collapse property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderCollapse

      void setBorderCollapse(String borderCollapse) throws DOMException
      Throws:
      DOMException
    • getBorderColor

      String getBorderColor()
      See the border-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderColor

      void setBorderColor(String borderColor) throws DOMException
      Throws:
      DOMException
    • getBorderSpacing

      String getBorderSpacing()
      See the border-spacing property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderSpacing

      void setBorderSpacing(String borderSpacing) throws DOMException
      Throws:
      DOMException
    • getBorderStyle

      String getBorderStyle()
      See the border-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderStyle

      void setBorderStyle(String borderStyle) throws DOMException
      Throws:
      DOMException
    • getBorderTop

      String getBorderTop()
      See the border-top property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderTop

      void setBorderTop(String borderTop) throws DOMException
      Throws:
      DOMException
    • getBorderRight

      String getBorderRight()
      See the border-right property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderRight

      void setBorderRight(String borderRight) throws DOMException
      Throws:
      DOMException
    • getBorderBottom

      String getBorderBottom()
      See the border-bottom property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderBottom

      void setBorderBottom(String borderBottom) throws DOMException
      Throws:
      DOMException
    • getBorderLeft

      String getBorderLeft()
      See the border-left property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderLeft

      void setBorderLeft(String borderLeft) throws DOMException
      Throws:
      DOMException
    • getBorderTopColor

      String getBorderTopColor()
      See the border-top-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderTopColor

      void setBorderTopColor(String borderTopColor) throws DOMException
      Throws:
      DOMException
    • getBorderRightColor

      String getBorderRightColor()
      See the border-right-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderRightColor

      void setBorderRightColor(String borderRightColor) throws DOMException
      Throws:
      DOMException
    • getBorderBottomColor

      String getBorderBottomColor()
      See the border-bottom-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderBottomColor

      void setBorderBottomColor(String borderBottomColor) throws DOMException
      Throws:
      DOMException
    • getBorderLeftColor

      String getBorderLeftColor()
      See the border-left-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderLeftColor

      void setBorderLeftColor(String borderLeftColor) throws DOMException
      Throws:
      DOMException
    • getBorderTopStyle

      String getBorderTopStyle()
      See the border-top-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderTopStyle

      void setBorderTopStyle(String borderTopStyle) throws DOMException
      Throws:
      DOMException
    • getBorderRightStyle

      String getBorderRightStyle()
      See the border-right-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderRightStyle

      void setBorderRightStyle(String borderRightStyle) throws DOMException
      Throws:
      DOMException
    • getBorderBottomStyle

      String getBorderBottomStyle()
      See the border-bottom-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderBottomStyle

      void setBorderBottomStyle(String borderBottomStyle) throws DOMException
      Throws:
      DOMException
    • getBorderLeftStyle

      String getBorderLeftStyle()
      See the border-left-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderLeftStyle

      void setBorderLeftStyle(String borderLeftStyle) throws DOMException
      Throws:
      DOMException
    • getBorderTopWidth

      String getBorderTopWidth()
      See the border-top-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderTopWidth

      void setBorderTopWidth(String borderTopWidth) throws DOMException
      Throws:
      DOMException
    • getBorderRightWidth

      String getBorderRightWidth()
      See the border-right-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderRightWidth

      void setBorderRightWidth(String borderRightWidth) throws DOMException
      Throws:
      DOMException
    • getBorderBottomWidth

      String getBorderBottomWidth()
      See the border-bottom-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderBottomWidth

      void setBorderBottomWidth(String borderBottomWidth) throws DOMException
      Throws:
      DOMException
    • getBorderLeftWidth

      String getBorderLeftWidth()
      See the border-left-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderLeftWidth

      void setBorderLeftWidth(String borderLeftWidth) throws DOMException
      Throws:
      DOMException
    • getBorderWidth

      String getBorderWidth()
      See the border-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBorderWidth

      void setBorderWidth(String borderWidth) throws DOMException
      Throws:
      DOMException
    • getBottom

      String getBottom()
      See the bottom property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setBottom

      void setBottom(String bottom) throws DOMException
      Throws:
      DOMException
    • getCaptionSide

      String getCaptionSide()
      See the caption-side property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCaptionSide

      void setCaptionSide(String captionSide) throws DOMException
      Throws:
      DOMException
    • getClear

      String getClear()
      See the clear property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setClear

      void setClear(String clear) throws DOMException
      Throws:
      DOMException
    • getClip

      String getClip()
      See the clip property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setClip

      void setClip(String clip) throws DOMException
      Throws:
      DOMException
    • getColor

      String getColor()
      See the color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setColor

      void setColor(String color) throws DOMException
      Throws:
      DOMException
    • getContent

      String getContent()
      See the content property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setContent

      void setContent(String content) throws DOMException
      Throws:
      DOMException
    • getCounterIncrement

      String getCounterIncrement()
      See the counter-increment property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCounterIncrement

      void setCounterIncrement(String counterIncrement) throws DOMException
      Throws:
      DOMException
    • getCounterReset

      String getCounterReset()
      See the counter-reset property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCounterReset

      void setCounterReset(String counterReset) throws DOMException
      Throws:
      DOMException
    • getCue

      String getCue()
      See the cue property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCue

      void setCue(String cue) throws DOMException
      Throws:
      DOMException
    • getCueAfter

      String getCueAfter()
      See the cue-after property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCueAfter

      void setCueAfter(String cueAfter) throws DOMException
      Throws:
      DOMException
    • getCueBefore

      String getCueBefore()
      See the cue-before property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCueBefore

      void setCueBefore(String cueBefore) throws DOMException
      Throws:
      DOMException
    • getCursor

      String getCursor()
      See the cursor property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCursor

      void setCursor(String cursor) throws DOMException
      Throws:
      DOMException
    • getDirection

      String getDirection()
      See the direction property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setDirection

      void setDirection(String direction) throws DOMException
      Throws:
      DOMException
    • getDisplay

      String getDisplay()
      See the display property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setDisplay

      void setDisplay(String display) throws DOMException
      Throws:
      DOMException
    • getElevation

      String getElevation()
      See the elevation property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setElevation

      void setElevation(String elevation) throws DOMException
      Throws:
      DOMException
    • getEmptyCells

      String getEmptyCells()
      See the empty-cells property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setEmptyCells

      void setEmptyCells(String emptyCells) throws DOMException
      Throws:
      DOMException
    • getCssFloat

      String getCssFloat()
      See the float property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setCssFloat

      void setCssFloat(String cssFloat) throws DOMException
      Throws:
      DOMException
    • getFont

      String getFont()
      See the font property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFont

      void setFont(String font) throws DOMException
      Throws:
      DOMException
    • getFontFamily

      String getFontFamily()
      See the font-family property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontFamily

      void setFontFamily(String fontFamily) throws DOMException
      Throws:
      DOMException
    • getFontSize

      String getFontSize()
      See the font-size property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontSize

      void setFontSize(String fontSize) throws DOMException
      Throws:
      DOMException
    • getFontSizeAdjust

      String getFontSizeAdjust()
      See the font-size-adjust property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontSizeAdjust

      void setFontSizeAdjust(String fontSizeAdjust) throws DOMException
      Throws:
      DOMException
    • getFontStretch

      String getFontStretch()
      See the font-stretch property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontStretch

      void setFontStretch(String fontStretch) throws DOMException
      Throws:
      DOMException
    • getFontStyle

      String getFontStyle()
      See the font-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontStyle

      void setFontStyle(String fontStyle) throws DOMException
      Throws:
      DOMException
    • getFontVariant

      String getFontVariant()
      See the font-variant property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontVariant

      void setFontVariant(String fontVariant) throws DOMException
      Throws:
      DOMException
    • getFontWeight

      String getFontWeight()
      See the font-weight property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setFontWeight

      void setFontWeight(String fontWeight) throws DOMException
      Throws:
      DOMException
    • getHeight

      String getHeight()
      See the height property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setHeight

      void setHeight(String height) throws DOMException
      Throws:
      DOMException
    • getLeft

      String getLeft()
      See the left property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setLeft

      void setLeft(String left) throws DOMException
      Throws:
      DOMException
    • getLetterSpacing

      String getLetterSpacing()
      See the letter-spacing property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setLetterSpacing

      void setLetterSpacing(String letterSpacing) throws DOMException
      Throws:
      DOMException
    • getLineHeight

      String getLineHeight()
      See the line-height property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setLineHeight

      void setLineHeight(String lineHeight) throws DOMException
      Throws:
      DOMException
    • getListStyle

      String getListStyle()
      See the list-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setListStyle

      void setListStyle(String listStyle) throws DOMException
      Throws:
      DOMException
    • getListStyleImage

      String getListStyleImage()
      See the list-style-image property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setListStyleImage

      void setListStyleImage(String listStyleImage) throws DOMException
      Throws:
      DOMException
    • getListStylePosition

      String getListStylePosition()
      See the list-style-position property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setListStylePosition

      void setListStylePosition(String listStylePosition) throws DOMException
      Throws:
      DOMException
    • getListStyleType

      String getListStyleType()
      See the list-style-type property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setListStyleType

      void setListStyleType(String listStyleType) throws DOMException
      Throws:
      DOMException
    • getMargin

      String getMargin()
      See the margin property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMargin

      void setMargin(String margin) throws DOMException
      Throws:
      DOMException
    • getMarginTop

      String getMarginTop()
      See the margin-top property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarginTop

      void setMarginTop(String marginTop) throws DOMException
      Throws:
      DOMException
    • getMarginRight

      String getMarginRight()
      See the margin-right property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarginRight

      void setMarginRight(String marginRight) throws DOMException
      Throws:
      DOMException
    • getMarginBottom

      String getMarginBottom()
      See the margin-bottom property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarginBottom

      void setMarginBottom(String marginBottom) throws DOMException
      Throws:
      DOMException
    • getMarginLeft

      String getMarginLeft()
      See the margin-left property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarginLeft

      void setMarginLeft(String marginLeft) throws DOMException
      Throws:
      DOMException
    • getMarkerOffset

      String getMarkerOffset()
      See the marker-offset property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarkerOffset

      void setMarkerOffset(String markerOffset) throws DOMException
      Throws:
      DOMException
    • getMarks

      String getMarks()
      See the marks property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMarks

      void setMarks(String marks) throws DOMException
      Throws:
      DOMException
    • getMaxHeight

      String getMaxHeight()
      See the max-height property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMaxHeight

      void setMaxHeight(String maxHeight) throws DOMException
      Throws:
      DOMException
    • getMaxWidth

      String getMaxWidth()
      See the max-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMaxWidth

      void setMaxWidth(String maxWidth) throws DOMException
      Throws:
      DOMException
    • getMinHeight

      String getMinHeight()
      See the min-height property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMinHeight

      void setMinHeight(String minHeight) throws DOMException
      Throws:
      DOMException
    • getMinWidth

      String getMinWidth()
      See the min-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setMinWidth

      void setMinWidth(String minWidth) throws DOMException
      Throws:
      DOMException
    • getOrphans

      String getOrphans()
      See the orphans property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOrphans

      void setOrphans(String orphans) throws DOMException
      Throws:
      DOMException
    • getOutline

      String getOutline()
      See the outline property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOutline

      void setOutline(String outline) throws DOMException
      Throws:
      DOMException
    • getOutlineColor

      String getOutlineColor()
      See the outline-color property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOutlineColor

      void setOutlineColor(String outlineColor) throws DOMException
      Throws:
      DOMException
    • getOutlineStyle

      String getOutlineStyle()
      See the outline-style property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOutlineStyle

      void setOutlineStyle(String outlineStyle) throws DOMException
      Throws:
      DOMException
    • getOutlineWidth

      String getOutlineWidth()
      See the outline-width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOutlineWidth

      void setOutlineWidth(String outlineWidth) throws DOMException
      Throws:
      DOMException
    • getOverflow

      String getOverflow()
      See the overflow property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setOverflow

      void setOverflow(String overflow) throws DOMException
      Throws:
      DOMException
    • getPadding

      String getPadding()
      See the padding property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPadding

      void setPadding(String padding) throws DOMException
      Throws:
      DOMException
    • getPaddingTop

      String getPaddingTop()
      See the padding-top property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPaddingTop

      void setPaddingTop(String paddingTop) throws DOMException
      Throws:
      DOMException
    • getPaddingRight

      String getPaddingRight()
      See the padding-right property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPaddingRight

      void setPaddingRight(String paddingRight) throws DOMException
      Throws:
      DOMException
    • getPaddingBottom

      String getPaddingBottom()
      See the padding-bottom property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPaddingBottom

      void setPaddingBottom(String paddingBottom) throws DOMException
      Throws:
      DOMException
    • getPaddingLeft

      String getPaddingLeft()
      See the padding-left property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPaddingLeft

      void setPaddingLeft(String paddingLeft) throws DOMException
      Throws:
      DOMException
    • getPage

      String getPage()
      See the page property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPage

      void setPage(String page) throws DOMException
      Throws:
      DOMException
    • getPageBreakAfter

      String getPageBreakAfter()
      See the page-break-after property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPageBreakAfter

      void setPageBreakAfter(String pageBreakAfter) throws DOMException
      Throws:
      DOMException
    • getPageBreakBefore

      String getPageBreakBefore()
      See the page-break-before property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPageBreakBefore

      void setPageBreakBefore(String pageBreakBefore) throws DOMException
      Throws:
      DOMException
    • getPageBreakInside

      String getPageBreakInside()
      See the page-break-inside property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPageBreakInside

      void setPageBreakInside(String pageBreakInside) throws DOMException
      Throws:
      DOMException
    • getPause

      String getPause()
      See the pause property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPause

      void setPause(String pause) throws DOMException
      Throws:
      DOMException
    • getPauseAfter

      String getPauseAfter()
      See the pause-after property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPauseAfter

      void setPauseAfter(String pauseAfter) throws DOMException
      Throws:
      DOMException
    • getPauseBefore

      String getPauseBefore()
      See the pause-before property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPauseBefore

      void setPauseBefore(String pauseBefore) throws DOMException
      Throws:
      DOMException
    • getPitch

      String getPitch()
      See the pitch property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPitch

      void setPitch(String pitch) throws DOMException
      Throws:
      DOMException
    • getPitchRange

      String getPitchRange()
      See the pitch-range property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPitchRange

      void setPitchRange(String pitchRange) throws DOMException
      Throws:
      DOMException
    • getPlayDuring

      String getPlayDuring()
      See the play-during property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPlayDuring

      void setPlayDuring(String playDuring) throws DOMException
      Throws:
      DOMException
    • getPosition

      String getPosition()
      See the position property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setPosition

      void setPosition(String position) throws DOMException
      Throws:
      DOMException
    • getQuotes

      String getQuotes()
      See the quotes property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setQuotes

      void setQuotes(String quotes) throws DOMException
      Throws:
      DOMException
    • getRichness

      String getRichness()
      See the richness property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setRichness

      void setRichness(String richness) throws DOMException
      Throws:
      DOMException
    • getRight

      String getRight()
      See the right property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setRight

      void setRight(String right) throws DOMException
      Throws:
      DOMException
    • getSize

      String getSize()
      See the size property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSize

      void setSize(String size) throws DOMException
      Throws:
      DOMException
    • getSpeak

      String getSpeak()
      See the speak property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSpeak

      void setSpeak(String speak) throws DOMException
      Throws:
      DOMException
    • getSpeakHeader

      String getSpeakHeader()
      See the speak-header property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSpeakHeader

      void setSpeakHeader(String speakHeader) throws DOMException
      Throws:
      DOMException
    • getSpeakNumeral

      String getSpeakNumeral()
      See the speak-numeral property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSpeakNumeral

      void setSpeakNumeral(String speakNumeral) throws DOMException
      Throws:
      DOMException
    • getSpeakPunctuation

      String getSpeakPunctuation()
      See the speak-punctuation property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSpeakPunctuation

      void setSpeakPunctuation(String speakPunctuation) throws DOMException
      Throws:
      DOMException
    • getSpeechRate

      String getSpeechRate()
      See the speech-rate property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setSpeechRate

      void setSpeechRate(String speechRate) throws DOMException
      Throws:
      DOMException
    • getStress

      String getStress()
      See the stress property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setStress

      void setStress(String stress) throws DOMException
      Throws:
      DOMException
    • getTableLayout

      String getTableLayout()
      See the table-layout property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTableLayout

      void setTableLayout(String tableLayout) throws DOMException
      Throws:
      DOMException
    • getTextAlign

      String getTextAlign()
      See the text-align property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTextAlign

      void setTextAlign(String textAlign) throws DOMException
      Throws:
      DOMException
    • getTextDecoration

      String getTextDecoration()
      See the text-decoration property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTextDecoration

      void setTextDecoration(String textDecoration) throws DOMException
      Throws:
      DOMException
    • getTextIndent

      String getTextIndent()
      See the text-indent property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTextIndent

      void setTextIndent(String textIndent) throws DOMException
      Throws:
      DOMException
    • getTextShadow

      String getTextShadow()
      See the text-shadow property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTextShadow

      void setTextShadow(String textShadow) throws DOMException
      Throws:
      DOMException
    • getTextTransform

      String getTextTransform()
      See the text-transform property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTextTransform

      void setTextTransform(String textTransform) throws DOMException
      Throws:
      DOMException
    • getTop

      String getTop()
      See the top property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setTop

      void setTop(String top) throws DOMException
      Throws:
      DOMException
    • getUnicodeBidi

      String getUnicodeBidi()
      See the unicode-bidi property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setUnicodeBidi

      void setUnicodeBidi(String unicodeBidi) throws DOMException
      Throws:
      DOMException
    • getVerticalAlign

      String getVerticalAlign()
      See the vertical-align property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setVerticalAlign

      void setVerticalAlign(String verticalAlign) throws DOMException
      Throws:
      DOMException
    • getVisibility

      String getVisibility()
      See the visibility property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setVisibility

      void setVisibility(String visibility) throws DOMException
      Throws:
      DOMException
    • getVoiceFamily

      String getVoiceFamily()
      See the voice-family property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setVoiceFamily

      void setVoiceFamily(String voiceFamily) throws DOMException
      Throws:
      DOMException
    • getVolume

      String getVolume()
      See the volume property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setVolume

      void setVolume(String volume) throws DOMException
      Throws:
      DOMException
    • getWhiteSpace

      String getWhiteSpace()
      See the white-space property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setWhiteSpace

      void setWhiteSpace(String whiteSpace) throws DOMException
      Throws:
      DOMException
    • getWidows

      String getWidows()
      See the widows property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setWidows

      void setWidows(String widows) throws DOMException
      Throws:
      DOMException
    • getWidth

      String getWidth()
      See the width property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setWidth

      void setWidth(String width) throws DOMException
      Throws:
      DOMException
    • getWordSpacing

      String getWordSpacing()
      See the word-spacing property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setWordSpacing

      void setWordSpacing(String wordSpacing) throws DOMException
      Throws:
      DOMException
    • getZIndex

      String getZIndex()
      See the z-index property definition in CSS2.
      Throws:
      DOMException - SYNTAX_ERR: Raised if the new value has a syntax error and is unparsable.
      NO_MODIFICATION_ALLOWED_ERR: Raised if this property is readonly.
    • setZIndex

      void setZIndex(String zIndex) throws DOMException
      Throws:
      DOMException