- All Implemented Interfaces:
ExtendedCSSStyleDeclaration
,Cloneable
,CSS2Properties
,CSSStyleDeclaration
- Direct Known Subclasses:
AnonymousStyleDeclaration
,ComputedCSSStyle
,InlineStyle
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseCSSStyleDeclaration
(BaseCSSDeclarationRule parentRule) Constructor with parent CSS rule argument.protected
BaseCSSStyleDeclaration
(BaseCSSStyleDeclaration copiedObject) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addOverrideProperty
(String propertyName, StyleValue cssValue, String priority) protected void
addProperty
(String propertyName, StyleValue cssValue, String priority) void
addStyle
(BaseCSSStyleDeclaration style) Add all the properties in the given style declaration to this one.protected void
appendLonghandMinifiedCssText
(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) protected void
appendShorthandMinifiedCssText
(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) clone()
protected void
compatLonghand
(String propertyName, StyleValue overridden, boolean priorityImportant, boolean isOverridden) computeBoundProperty
(String masterProperty, String propertyName, StyleValue value) The used value of some properties is bound by a 'master' property, so if that master property has a list value withn
items, those properties have also a list value ofn
items.diff
(BaseCSSStyleDeclaration other) Gives an object containing the differences between two declarations.boolean
getClear()
getClip()
getColor()
Retrieves the parsable textual representation of the declaration block (excluding the surrounding curly braces).protected StyleValue
getCSSValue
(String propertyName) getCue()
protected PrimitiveValue
protected StyleValue
getDeclaredCSSValue
(String propertyName) getFont()
getLeft()
int
The number of properties that have been explicitly set in this declaration block.getMarks()
Retrieves a minified textual representation of the declaration block (excluding the surrounding curly braces).The node that owns this declaration.getPage()
Retrieves the CSS rule that contains this declaration block.getPause()
getPitch()
getPropertyCSSValue
(String propertyName) Gets the object representation of the value of a CSS property if it has been explicitly set for this declaration block.getPropertyPriority
(String propertyName) Used to retrieve the priority of a CSS property (e.g. the"important"
qualifier) if the property has been explicitly set in this declaration block.getPropertyValue
(String propertyName) Gets the text value of a CSS property if it has been explicitly set within this declaration block.getRight()
getSize()
getSpeak()
Gets the style database which is used to compute the style.Get the error handler for this style declaration.protected AbstractCSSStyleSheetFactory
getTop()
protected ValueFactory
getWidth()
int
hashCode()
boolean
isEmpty()
Is this style declaration empty?item
(int index) Used to retrieve the properties that have been set in this declaration block.protected void
prioritySplit
(AbstractCSSStyleDeclaration importantDecl, AbstractCSSStyleDeclaration normalDecl) Splits this style declaration in two: one for important properties only, and the other with normal properties.removeProperty
(String propertyName) Used to remove a CSS property if it has been explicitly set within this declaration block.void
setAzimuth
(String azimuth) void
setBackground
(String background) void
setBackgroundAttachment
(String backgroundAttachment) void
setBackgroundColor
(String backgroundColor) void
setBackgroundImage
(String backgroundImage) void
setBackgroundPosition
(String backgroundPosition) void
setBackgroundRepeat
(String backgroundRepeat) void
void
setBorderBottom
(String borderBottom) void
setBorderBottomColor
(String borderBottomColor) void
setBorderBottomStyle
(String borderBottomStyle) void
setBorderBottomWidth
(String borderBottomWidth) void
setBorderCollapse
(String borderCollapse) void
setBorderColor
(String borderColor) void
setBorderLeft
(String borderLeft) void
setBorderLeftColor
(String borderLeftColor) void
setBorderLeftStyle
(String borderLeftStyle) void
setBorderLeftWidth
(String borderLeftWidth) void
setBorderRight
(String borderRight) void
setBorderRightColor
(String borderRightColor) void
setBorderRightStyle
(String borderRightStyle) void
setBorderRightWidth
(String borderRightWidth) void
setBorderSpacing
(String borderSpacing) void
setBorderStyle
(String borderStyle) void
setBorderTop
(String borderTop) void
setBorderTopColor
(String borderTopColor) void
setBorderTopStyle
(String borderTopStyle) void
setBorderTopWidth
(String borderTopWidth) void
setBorderWidth
(String borderWidth) void
void
setCaptionSide
(String captionSide) void
void
void
void
setContent
(String content) void
setCounterIncrement
(String counterIncrement) void
setCounterReset
(String counterReset) void
setCssFloat
(String cssFloat) void
setCssText
(String cssText) Parses the given value and resets all the properties in the declaration block, including the removal or addition of properties.void
void
setCueAfter
(String cueAfter) void
setCueBefore
(String cueBefore) void
void
setDirection
(String direction) void
setDisplay
(String display) void
setElevation
(String elevation) void
setEmptyCells
(String emptyCells) void
void
setFontFamily
(String fontFamily) void
setFontSize
(String fontSize) void
setFontSizeAdjust
(String fontSizeAdjust) void
setFontStretch
(String fontStretch) void
setFontStyle
(String fontStyle) void
setFontVariant
(String fontVariant) void
setFontWeight
(String fontWeight) void
void
void
setLetterSpacing
(String letterSpacing) void
setLineHeight
(String lineHeight) void
setListStyle
(String listStyle) void
setListStyleImage
(String listStyleImage) void
setListStylePosition
(String listStylePosition) void
setListStyleType
(String listStyleType) protected void
setLonghandProperty
(String propertyName, LexicalUnit value, String priority) void
void
setMarginBottom
(String marginBottom) void
setMarginLeft
(String marginLeft) void
setMarginRight
(String marginRight) void
setMarginTop
(String marginTop) void
setMarkerOffset
(String markerOffset) void
void
setMaxHeight
(String maxHeight) void
setMaxWidth
(String maxWidth) void
setMinHeight
(String minHeight) void
setMinWidth
(String minWidth) void
setOrphans
(String orphans) void
setOutline
(String outline) void
setOutlineColor
(String outlineColor) void
setOutlineStyle
(String outlineStyle) void
setOutlineWidth
(String outlineWidth) void
setOverflow
(String overflow) void
setPadding
(String padding) void
setPaddingBottom
(String paddingBottom) void
setPaddingLeft
(String paddingLeft) void
setPaddingRight
(String paddingRight) void
setPaddingTop
(String paddingTop) void
void
setPageBreakAfter
(String pageBreakAfter) void
setPageBreakBefore
(String pageBreakBefore) void
setPageBreakInside
(String pageBreakInside) void
void
setPauseAfter
(String pauseAfter) void
setPauseBefore
(String pauseBefore) void
void
setPitchRange
(String pitchRange) void
setPlayDuring
(String playDuring) void
setPosition
(String position) void
setProperty
(String propertyName, String value, String priority) Used to set a property value and priority within this declaration block.void
setProperty
(String propertyName, LexicalUnit value, String priority) protected void
setPropertyCSSValue
(String propertyName, StyleValue value, String hrefcontext) void
void
setRichness
(String richness) void
void
void
void
setSpeakHeader
(String speakHeader) void
setSpeakNumeral
(String speakNumeral) void
setSpeakPunctuation
(String speakPunctuation) void
setSpeechRate
(String speechRate) void
void
setTableLayout
(String tableLayout) void
setTextAlign
(String textAlign) void
setTextDecoration
(String textDecoration) void
setTextIndent
(String textIndent) void
setTextShadow
(String textShadow) void
setTextTransform
(String textTransform) void
void
setUnicodeBidi
(String unicodeBidi) void
setVerticalAlign
(String verticalAlign) void
setVisibility
(String visibility) void
setVoiceFamily
(String voiceFamily) void
void
setWhiteSpace
(String whiteSpace) void
void
void
setWordSpacing
(String wordSpacing) void
protected void
shorthandError
(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) static boolean
testColor
(LexicalUnit lunit) toString()
void
writeCssText
(SimpleWriter wri, StyleFormattingContext context) Writes a textual representation of the declaration block (excluding the surrounding curly braces) to aSimpleWriter
, and according to aStyleFormattingContext
.protected void
writeLonghandCssText
(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) protected void
writeShorthandCssText
(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval)
-
Constructor Details
-
BaseCSSStyleDeclaration
Constructor with parent CSS rule argument.- Parameters:
parentRule
- the parent CSS rule.
-
BaseCSSStyleDeclaration
public BaseCSSStyleDeclaration() -
BaseCSSStyleDeclaration
Copy constructor.- Parameters:
copiedObject
- the BaseCSSStyleDeclaration to be copied.
-
-
Method Details
-
getMinifiedCssText
Retrieves a minified textual representation of the declaration block (excluding the surrounding curly braces).- Specified by:
getMinifiedCssText
in interfaceExtendedCSSStyleDeclaration
- Specified by:
getMinifiedCssText
in classAbstractCSSStyleDeclaration
- Returns:
- the minified representation of this style declaration.
-
appendShorthandMinifiedCssText
protected void appendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) -
appendLonghandMinifiedCssText
protected void appendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) -
getCssText
Retrieves the parsable textual representation of the declaration block (excluding the surrounding curly braces).- Specified by:
getCssText
in interfaceCSSStyleDeclaration
- Returns:
- the textual representation of the declaration block.
- Throws:
DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
-
writeCssText
Description copied from class:AbstractCSSStyleDeclaration
Writes a textual representation of the declaration block (excluding the surrounding curly braces) to aSimpleWriter
, and according to aStyleFormattingContext
.- Specified by:
writeCssText
in interfaceExtendedCSSStyleDeclaration
- Specified by:
writeCssText
in classAbstractCSSStyleDeclaration
- Parameters:
wri
- the simple writer to write to.context
- the style formatting context.- Throws:
IOException
- if a problem occurs while writing the text.
-
writeShorthandCssText
protected void writeShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) throws IOException - Throws:
IOException
-
writeLonghandCssText
protected void writeLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) throws IOException - Throws:
IOException
-
getStyleDeclarationErrorHandler
Description copied from class:AbstractCSSStyleDeclaration
Get the error handler for this style declaration.- Specified by:
getStyleDeclarationErrorHandler
in classAbstractCSSStyleDeclaration
- Returns:
- the error handler, or
null
if this is an anonymous style declaration.
-
setCssText
Parses the given value and resets all the properties in the declaration block, including the removal or addition of properties.- Specified by:
setCssText
in interfaceCSSStyleDeclaration
- Parameters:
cssText
- the text with the style declaration.- Throws:
DOMException
- NOT_SUPPORTED_ERR: if the system was unable to instantiate parser.
-
getStyleSheetFactory
- Specified by:
getStyleSheetFactory
in classAbstractCSSStyleDeclaration
-
getValueFactory
-
getPropertyValue
Description copied from interface:ExtendedCSSStyleDeclaration
Gets the text value of a CSS property if it has been explicitly set within this declaration block.If the declaration was created by a factory with the
IEVALUES
flag enabled, the compatibility values shall appear in the cssText serializations, but its value won't be returned by this method unless no other valid value was previously specified for the property.- Specified by:
getPropertyValue
in interfaceCSSStyleDeclaration
- Specified by:
getPropertyValue
in interfaceExtendedCSSStyleDeclaration
- Parameters:
propertyName
- The name of the CSS property.- Returns:
- the value of the property if it has been explicitly set for this declaration block, or the empty string if the property has not been set or is a shorthand that could not be serialized.
-
getPropertyCSSValue
Description copied from interface:ExtendedCSSStyleDeclaration
Gets the object representation of the value of a CSS property if it has been explicitly set for this declaration block.If the declaration was created by a factory with the
IEVALUES
flag enabled, the compatibility values shall appear in the cssText serializations, but its value won't be returned by this method unless no other valid value was previously specified for the property.- Specified by:
getPropertyCSSValue
in interfaceCSSStyleDeclaration
- Specified by:
getPropertyCSSValue
in interfaceExtendedCSSStyleDeclaration
- Specified by:
getPropertyCSSValue
in classAbstractCSSStyleDeclaration
- Parameters:
propertyName
- The name of the CSS property.- Returns:
- the value of the property if it has been explicitly set for this declaration
block. Returns
null
if the property has not been set or is a shorthand.
-
getCSSValue
-
getDeclaredCSSValue
-
computeBoundProperty
public StyleValue computeBoundProperty(String masterProperty, String propertyName, StyleValue value) The used value of some properties is bound by a 'master' property, so if that master property has a list value withn
items, those properties have also a list value ofn
items. If more values were specified, they are truncated, and if less, the specified values are repeated until reachingn
.- Parameters:
masterProperty
- the name of the master property (e.g. 'background-image').propertyName
- the name of the bound property.value
- the specified value for that property.- Returns:
- the used value for the given parameters.
-
removeProperty
Used to remove a CSS property if it has been explicitly set within this declaration block.- Specified by:
removeProperty
in interfaceCSSStyleDeclaration
- Parameters:
propertyName
- name of the property to remove.- Returns:
- Returns the value of the property if it has been explicitly set for this declaration block. Returns the empty string if the property has not been set or the property name does not correspond to a known CSS property.
-
getPropertyPriority
Used to retrieve the priority of a CSS property (e.g. the"important"
qualifier) if the property has been explicitly set in this declaration block.- Specified by:
getPropertyPriority
in interfaceCSSStyleDeclaration
- Parameters:
propertyName
- The name of the CSS property.- Returns:
- A string representing the priority (e.g.
"important"
) if the property has been explicitly set in this declaration block and has a priority specified. The empty string otherwise.
-
setProperty
public void setProperty(String propertyName, LexicalUnit value, String priority) throws DOMException - Throws:
DOMException
-
shorthandError
protected void shorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) -
setLonghandProperty
protected void setLonghandProperty(String propertyName, LexicalUnit value, String priority) throws DOMException - Throws:
DOMException
-
setProperty
Used to set a property value and priority within this declaration block.- Specified by:
setProperty
in interfaceCSSStyleDeclaration
- Parameters:
propertyName
- The name of the CSS property. See the CSS property index.value
- The new value of the property.priority
- The new priority of the property (e.g."important"
).- Throws:
DOMException
- SYNTAX_ERR: Raised if the specified value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this declaration is readonly or the property is readonly.
-
addProperty
-
addOverrideProperty
-
compatLonghand
protected void compatLonghand(String propertyName, StyleValue overridden, boolean priorityImportant, boolean isOverridden) -
isEmpty
public boolean isEmpty()Description copied from class:AbstractCSSStyleDeclaration
Is this style declaration empty?- Specified by:
isEmpty
in classAbstractCSSStyleDeclaration
- Returns:
true
if the declaration is empty,false
otherwise.
-
getLength
public int getLength()The number of properties that have been explicitly set in this declaration block. The range of valid indices is 0 to length-1 inclusive.- Specified by:
getLength
in interfaceCSSStyleDeclaration
-
item
Used to retrieve the properties that have been set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block.- Specified by:
item
in interfaceCSSStyleDeclaration
- Parameters:
index
- the property index.- Returns:
- the name of the property at this ordinal position, or the empty string if no property exists at this position.
-
getParentRule
Retrieves the CSS rule that contains this declaration block.- Specified by:
getParentRule
in interfaceCSSStyleDeclaration
- Specified by:
getParentRule
in interfaceExtendedCSSStyleDeclaration
- Returns:
- the CSS rule that contains this declaration block or
null
if thisCSSStyleDeclaration
is not attached to aCSSRule
.
-
getOwnerNode
The node that owns this declaration.For computed styles, the owner is always the element for which the style was computed.
- Returns:
- the node that owns this declaration, or null if none.
-
addStyle
Add all the properties in the given style declaration to this one.- Parameters:
style
- the style declaration whose properties have to be added.
-
setPropertyCSSValue
-
prioritySplit
protected void prioritySplit(AbstractCSSStyleDeclaration importantDecl, AbstractCSSStyleDeclaration normalDecl) Splits this style declaration in two: one for important properties only, and the other with normal properties.- Specified by:
prioritySplit
in classAbstractCSSStyleDeclaration
- Parameters:
importantDecl
- the style declaration for important properties.normalDecl
- the style declaration for normal properties.
-
getStyleDatabase
Gets the style database which is used to compute the style.- Returns:
null
the style database, ornull
if no style database is being used (like in the case of declared styles).
-
getCurrentColor
-
getCSSColor
-
hashCode
public int hashCode() -
equals
-
diff
Gives an object containing the differences between two declarations.Properties that are set in this style declaration but not in
other
will be in the left side of the diff, while the ones that are set in theother
but not in this one will be in the right side. Properties that are set to different values or that have different priorities will be in thegetDifferent()
part.- Parameters:
other
- the style declaration to be compared to.- Returns:
- the
Diff
object containing the differences.
-
toString
-
clone
-
testColor
-
getAzimuth
- Specified by:
getAzimuth
in interfaceCSS2Properties
-
setAzimuth
- Specified by:
setAzimuth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackground
- Specified by:
getBackground
in interfaceCSS2Properties
-
setBackground
- Specified by:
setBackground
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackgroundAttachment
- Specified by:
getBackgroundAttachment
in interfaceCSS2Properties
-
setBackgroundAttachment
- Specified by:
setBackgroundAttachment
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackgroundColor
- Specified by:
getBackgroundColor
in interfaceCSS2Properties
-
setBackgroundColor
- Specified by:
setBackgroundColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackgroundImage
- Specified by:
getBackgroundImage
in interfaceCSS2Properties
-
setBackgroundImage
- Specified by:
setBackgroundImage
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackgroundPosition
- Specified by:
getBackgroundPosition
in interfaceCSS2Properties
-
setBackgroundPosition
- Specified by:
setBackgroundPosition
in interfaceCSS2Properties
- Throws:
DOMException
-
getBackgroundRepeat
- Specified by:
getBackgroundRepeat
in interfaceCSS2Properties
-
setBackgroundRepeat
- Specified by:
setBackgroundRepeat
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorder
- Specified by:
getBorder
in interfaceCSS2Properties
-
setBorder
- Specified by:
setBorder
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderCollapse
- Specified by:
getBorderCollapse
in interfaceCSS2Properties
-
setBorderCollapse
- Specified by:
setBorderCollapse
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderColor
- Specified by:
getBorderColor
in interfaceCSS2Properties
-
setBorderColor
- Specified by:
setBorderColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderSpacing
- Specified by:
getBorderSpacing
in interfaceCSS2Properties
-
setBorderSpacing
- Specified by:
setBorderSpacing
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderStyle
- Specified by:
getBorderStyle
in interfaceCSS2Properties
-
setBorderStyle
- Specified by:
setBorderStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderTop
- Specified by:
getBorderTop
in interfaceCSS2Properties
-
setBorderTop
- Specified by:
setBorderTop
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderRight
- Specified by:
getBorderRight
in interfaceCSS2Properties
-
setBorderRight
- Specified by:
setBorderRight
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderBottom
- Specified by:
getBorderBottom
in interfaceCSS2Properties
-
setBorderBottom
- Specified by:
setBorderBottom
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderLeft
- Specified by:
getBorderLeft
in interfaceCSS2Properties
-
setBorderLeft
- Specified by:
setBorderLeft
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderTopColor
- Specified by:
getBorderTopColor
in interfaceCSS2Properties
-
setBorderTopColor
- Specified by:
setBorderTopColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderRightColor
- Specified by:
getBorderRightColor
in interfaceCSS2Properties
-
setBorderRightColor
- Specified by:
setBorderRightColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderBottomColor
- Specified by:
getBorderBottomColor
in interfaceCSS2Properties
-
setBorderBottomColor
- Specified by:
setBorderBottomColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderLeftColor
- Specified by:
getBorderLeftColor
in interfaceCSS2Properties
-
setBorderLeftColor
- Specified by:
setBorderLeftColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderTopStyle
- Specified by:
getBorderTopStyle
in interfaceCSS2Properties
-
setBorderTopStyle
- Specified by:
setBorderTopStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderRightStyle
- Specified by:
getBorderRightStyle
in interfaceCSS2Properties
-
setBorderRightStyle
- Specified by:
setBorderRightStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderBottomStyle
- Specified by:
getBorderBottomStyle
in interfaceCSS2Properties
-
setBorderBottomStyle
- Specified by:
setBorderBottomStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderLeftStyle
- Specified by:
getBorderLeftStyle
in interfaceCSS2Properties
-
setBorderLeftStyle
- Specified by:
setBorderLeftStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderTopWidth
- Specified by:
getBorderTopWidth
in interfaceCSS2Properties
-
setBorderTopWidth
- Specified by:
setBorderTopWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderRightWidth
- Specified by:
getBorderRightWidth
in interfaceCSS2Properties
-
setBorderRightWidth
- Specified by:
setBorderRightWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderBottomWidth
- Specified by:
getBorderBottomWidth
in interfaceCSS2Properties
-
setBorderBottomWidth
- Specified by:
setBorderBottomWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderLeftWidth
- Specified by:
getBorderLeftWidth
in interfaceCSS2Properties
-
setBorderLeftWidth
- Specified by:
setBorderLeftWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBorderWidth
- Specified by:
getBorderWidth
in interfaceCSS2Properties
-
setBorderWidth
- Specified by:
setBorderWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getBottom
- Specified by:
getBottom
in interfaceCSS2Properties
-
setBottom
- Specified by:
setBottom
in interfaceCSS2Properties
- Throws:
DOMException
-
getCaptionSide
- Specified by:
getCaptionSide
in interfaceCSS2Properties
-
setCaptionSide
- Specified by:
setCaptionSide
in interfaceCSS2Properties
- Throws:
DOMException
-
getClear
- Specified by:
getClear
in interfaceCSS2Properties
-
setClear
- Specified by:
setClear
in interfaceCSS2Properties
- Throws:
DOMException
-
getClip
- Specified by:
getClip
in interfaceCSS2Properties
-
setClip
- Specified by:
setClip
in interfaceCSS2Properties
- Throws:
DOMException
-
getColor
- Specified by:
getColor
in interfaceCSS2Properties
-
setColor
- Specified by:
setColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getContent
- Specified by:
getContent
in interfaceCSS2Properties
-
setContent
- Specified by:
setContent
in interfaceCSS2Properties
- Throws:
DOMException
-
getCounterIncrement
- Specified by:
getCounterIncrement
in interfaceCSS2Properties
-
setCounterIncrement
- Specified by:
setCounterIncrement
in interfaceCSS2Properties
- Throws:
DOMException
-
getCounterReset
- Specified by:
getCounterReset
in interfaceCSS2Properties
-
setCounterReset
- Specified by:
setCounterReset
in interfaceCSS2Properties
- Throws:
DOMException
-
getCue
- Specified by:
getCue
in interfaceCSS2Properties
-
setCue
- Specified by:
setCue
in interfaceCSS2Properties
- Throws:
DOMException
-
getCueAfter
- Specified by:
getCueAfter
in interfaceCSS2Properties
-
setCueAfter
- Specified by:
setCueAfter
in interfaceCSS2Properties
- Throws:
DOMException
-
getCueBefore
- Specified by:
getCueBefore
in interfaceCSS2Properties
-
setCueBefore
- Specified by:
setCueBefore
in interfaceCSS2Properties
- Throws:
DOMException
-
getCursor
- Specified by:
getCursor
in interfaceCSS2Properties
-
setCursor
- Specified by:
setCursor
in interfaceCSS2Properties
- Throws:
DOMException
-
getDirection
- Specified by:
getDirection
in interfaceCSS2Properties
-
setDirection
- Specified by:
setDirection
in interfaceCSS2Properties
- Throws:
DOMException
-
getDisplay
- Specified by:
getDisplay
in interfaceCSS2Properties
-
setDisplay
- Specified by:
setDisplay
in interfaceCSS2Properties
- Throws:
DOMException
-
getElevation
- Specified by:
getElevation
in interfaceCSS2Properties
-
setElevation
- Specified by:
setElevation
in interfaceCSS2Properties
- Throws:
DOMException
-
getEmptyCells
- Specified by:
getEmptyCells
in interfaceCSS2Properties
-
setEmptyCells
- Specified by:
setEmptyCells
in interfaceCSS2Properties
- Throws:
DOMException
-
getCssFloat
- Specified by:
getCssFloat
in interfaceCSS2Properties
-
setCssFloat
- Specified by:
setCssFloat
in interfaceCSS2Properties
- Throws:
DOMException
-
getFont
- Specified by:
getFont
in interfaceCSS2Properties
-
setFont
- Specified by:
setFont
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontFamily
- Specified by:
getFontFamily
in interfaceCSS2Properties
-
setFontFamily
- Specified by:
setFontFamily
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontSize
- Specified by:
getFontSize
in interfaceCSS2Properties
-
setFontSize
- Specified by:
setFontSize
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontSizeAdjust
- Specified by:
getFontSizeAdjust
in interfaceCSS2Properties
-
setFontSizeAdjust
- Specified by:
setFontSizeAdjust
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontStretch
- Specified by:
getFontStretch
in interfaceCSS2Properties
-
setFontStretch
- Specified by:
setFontStretch
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontStyle
- Specified by:
getFontStyle
in interfaceCSS2Properties
-
setFontStyle
- Specified by:
setFontStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontVariant
- Specified by:
getFontVariant
in interfaceCSS2Properties
-
setFontVariant
- Specified by:
setFontVariant
in interfaceCSS2Properties
- Throws:
DOMException
-
getFontWeight
- Specified by:
getFontWeight
in interfaceCSS2Properties
-
setFontWeight
- Specified by:
setFontWeight
in interfaceCSS2Properties
- Throws:
DOMException
-
getHeight
- Specified by:
getHeight
in interfaceCSS2Properties
-
setHeight
- Specified by:
setHeight
in interfaceCSS2Properties
- Throws:
DOMException
-
getLeft
- Specified by:
getLeft
in interfaceCSS2Properties
-
setLeft
- Specified by:
setLeft
in interfaceCSS2Properties
- Throws:
DOMException
-
getLetterSpacing
- Specified by:
getLetterSpacing
in interfaceCSS2Properties
-
setLetterSpacing
- Specified by:
setLetterSpacing
in interfaceCSS2Properties
- Throws:
DOMException
-
getLineHeight
- Specified by:
getLineHeight
in interfaceCSS2Properties
-
setLineHeight
- Specified by:
setLineHeight
in interfaceCSS2Properties
- Throws:
DOMException
-
getListStyle
- Specified by:
getListStyle
in interfaceCSS2Properties
-
setListStyle
- Specified by:
setListStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getListStyleImage
- Specified by:
getListStyleImage
in interfaceCSS2Properties
-
setListStyleImage
- Specified by:
setListStyleImage
in interfaceCSS2Properties
- Throws:
DOMException
-
getListStylePosition
- Specified by:
getListStylePosition
in interfaceCSS2Properties
-
setListStylePosition
- Specified by:
setListStylePosition
in interfaceCSS2Properties
- Throws:
DOMException
-
getListStyleType
- Specified by:
getListStyleType
in interfaceCSS2Properties
-
setListStyleType
- Specified by:
setListStyleType
in interfaceCSS2Properties
- Throws:
DOMException
-
getMargin
- Specified by:
getMargin
in interfaceCSS2Properties
-
setMargin
- Specified by:
setMargin
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarginTop
- Specified by:
getMarginTop
in interfaceCSS2Properties
-
setMarginTop
- Specified by:
setMarginTop
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarginRight
- Specified by:
getMarginRight
in interfaceCSS2Properties
-
setMarginRight
- Specified by:
setMarginRight
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarginBottom
- Specified by:
getMarginBottom
in interfaceCSS2Properties
-
setMarginBottom
- Specified by:
setMarginBottom
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarginLeft
- Specified by:
getMarginLeft
in interfaceCSS2Properties
-
setMarginLeft
- Specified by:
setMarginLeft
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarkerOffset
- Specified by:
getMarkerOffset
in interfaceCSS2Properties
-
setMarkerOffset
- Specified by:
setMarkerOffset
in interfaceCSS2Properties
- Throws:
DOMException
-
getMarks
- Specified by:
getMarks
in interfaceCSS2Properties
-
setMarks
- Specified by:
setMarks
in interfaceCSS2Properties
- Throws:
DOMException
-
getMaxHeight
- Specified by:
getMaxHeight
in interfaceCSS2Properties
-
setMaxHeight
- Specified by:
setMaxHeight
in interfaceCSS2Properties
- Throws:
DOMException
-
getMaxWidth
- Specified by:
getMaxWidth
in interfaceCSS2Properties
-
setMaxWidth
- Specified by:
setMaxWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getMinHeight
- Specified by:
getMinHeight
in interfaceCSS2Properties
-
setMinHeight
- Specified by:
setMinHeight
in interfaceCSS2Properties
- Throws:
DOMException
-
getMinWidth
- Specified by:
getMinWidth
in interfaceCSS2Properties
-
setMinWidth
- Specified by:
setMinWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getOrphans
- Specified by:
getOrphans
in interfaceCSS2Properties
-
setOrphans
- Specified by:
setOrphans
in interfaceCSS2Properties
- Throws:
DOMException
-
getOutline
- Specified by:
getOutline
in interfaceCSS2Properties
-
setOutline
- Specified by:
setOutline
in interfaceCSS2Properties
- Throws:
DOMException
-
getOutlineColor
- Specified by:
getOutlineColor
in interfaceCSS2Properties
-
setOutlineColor
- Specified by:
setOutlineColor
in interfaceCSS2Properties
- Throws:
DOMException
-
getOutlineStyle
- Specified by:
getOutlineStyle
in interfaceCSS2Properties
-
setOutlineStyle
- Specified by:
setOutlineStyle
in interfaceCSS2Properties
- Throws:
DOMException
-
getOutlineWidth
- Specified by:
getOutlineWidth
in interfaceCSS2Properties
-
setOutlineWidth
- Specified by:
setOutlineWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getOverflow
- Specified by:
getOverflow
in interfaceCSS2Properties
-
setOverflow
- Specified by:
setOverflow
in interfaceCSS2Properties
- Throws:
DOMException
-
getPadding
- Specified by:
getPadding
in interfaceCSS2Properties
-
setPadding
- Specified by:
setPadding
in interfaceCSS2Properties
- Throws:
DOMException
-
getPaddingTop
- Specified by:
getPaddingTop
in interfaceCSS2Properties
-
setPaddingTop
- Specified by:
setPaddingTop
in interfaceCSS2Properties
- Throws:
DOMException
-
getPaddingRight
- Specified by:
getPaddingRight
in interfaceCSS2Properties
-
setPaddingRight
- Specified by:
setPaddingRight
in interfaceCSS2Properties
- Throws:
DOMException
-
getPaddingBottom
- Specified by:
getPaddingBottom
in interfaceCSS2Properties
-
setPaddingBottom
- Specified by:
setPaddingBottom
in interfaceCSS2Properties
- Throws:
DOMException
-
getPaddingLeft
- Specified by:
getPaddingLeft
in interfaceCSS2Properties
-
setPaddingLeft
- Specified by:
setPaddingLeft
in interfaceCSS2Properties
- Throws:
DOMException
-
getPage
- Specified by:
getPage
in interfaceCSS2Properties
-
setPage
- Specified by:
setPage
in interfaceCSS2Properties
- Throws:
DOMException
-
getPageBreakAfter
- Specified by:
getPageBreakAfter
in interfaceCSS2Properties
-
setPageBreakAfter
- Specified by:
setPageBreakAfter
in interfaceCSS2Properties
- Throws:
DOMException
-
getPageBreakBefore
- Specified by:
getPageBreakBefore
in interfaceCSS2Properties
-
setPageBreakBefore
- Specified by:
setPageBreakBefore
in interfaceCSS2Properties
- Throws:
DOMException
-
getPageBreakInside
- Specified by:
getPageBreakInside
in interfaceCSS2Properties
-
setPageBreakInside
- Specified by:
setPageBreakInside
in interfaceCSS2Properties
- Throws:
DOMException
-
getPause
- Specified by:
getPause
in interfaceCSS2Properties
-
setPause
- Specified by:
setPause
in interfaceCSS2Properties
- Throws:
DOMException
-
getPauseAfter
- Specified by:
getPauseAfter
in interfaceCSS2Properties
-
setPauseAfter
- Specified by:
setPauseAfter
in interfaceCSS2Properties
- Throws:
DOMException
-
getPauseBefore
- Specified by:
getPauseBefore
in interfaceCSS2Properties
-
setPauseBefore
- Specified by:
setPauseBefore
in interfaceCSS2Properties
- Throws:
DOMException
-
getPitch
- Specified by:
getPitch
in interfaceCSS2Properties
-
setPitch
- Specified by:
setPitch
in interfaceCSS2Properties
- Throws:
DOMException
-
getPitchRange
- Specified by:
getPitchRange
in interfaceCSS2Properties
-
setPitchRange
- Specified by:
setPitchRange
in interfaceCSS2Properties
- Throws:
DOMException
-
getPlayDuring
- Specified by:
getPlayDuring
in interfaceCSS2Properties
-
setPlayDuring
- Specified by:
setPlayDuring
in interfaceCSS2Properties
- Throws:
DOMException
-
getPosition
- Specified by:
getPosition
in interfaceCSS2Properties
-
setPosition
- Specified by:
setPosition
in interfaceCSS2Properties
- Throws:
DOMException
-
getQuotes
- Specified by:
getQuotes
in interfaceCSS2Properties
-
setQuotes
- Specified by:
setQuotes
in interfaceCSS2Properties
- Throws:
DOMException
-
getRichness
- Specified by:
getRichness
in interfaceCSS2Properties
-
setRichness
- Specified by:
setRichness
in interfaceCSS2Properties
- Throws:
DOMException
-
getRight
- Specified by:
getRight
in interfaceCSS2Properties
-
setRight
- Specified by:
setRight
in interfaceCSS2Properties
- Throws:
DOMException
-
getSize
- Specified by:
getSize
in interfaceCSS2Properties
-
setSize
- Specified by:
setSize
in interfaceCSS2Properties
- Throws:
DOMException
-
getSpeak
- Specified by:
getSpeak
in interfaceCSS2Properties
-
setSpeak
- Specified by:
setSpeak
in interfaceCSS2Properties
- Throws:
DOMException
-
getSpeakHeader
- Specified by:
getSpeakHeader
in interfaceCSS2Properties
-
setSpeakHeader
- Specified by:
setSpeakHeader
in interfaceCSS2Properties
- Throws:
DOMException
-
getSpeakNumeral
- Specified by:
getSpeakNumeral
in interfaceCSS2Properties
-
setSpeakNumeral
- Specified by:
setSpeakNumeral
in interfaceCSS2Properties
- Throws:
DOMException
-
getSpeakPunctuation
- Specified by:
getSpeakPunctuation
in interfaceCSS2Properties
-
setSpeakPunctuation
- Specified by:
setSpeakPunctuation
in interfaceCSS2Properties
- Throws:
DOMException
-
getSpeechRate
- Specified by:
getSpeechRate
in interfaceCSS2Properties
-
setSpeechRate
- Specified by:
setSpeechRate
in interfaceCSS2Properties
- Throws:
DOMException
-
getStress
- Specified by:
getStress
in interfaceCSS2Properties
-
setStress
- Specified by:
setStress
in interfaceCSS2Properties
- Throws:
DOMException
-
getTableLayout
- Specified by:
getTableLayout
in interfaceCSS2Properties
-
setTableLayout
- Specified by:
setTableLayout
in interfaceCSS2Properties
- Throws:
DOMException
-
getTextAlign
- Specified by:
getTextAlign
in interfaceCSS2Properties
-
setTextAlign
- Specified by:
setTextAlign
in interfaceCSS2Properties
- Throws:
DOMException
-
getTextDecoration
- Specified by:
getTextDecoration
in interfaceCSS2Properties
-
setTextDecoration
- Specified by:
setTextDecoration
in interfaceCSS2Properties
- Throws:
DOMException
-
getTextIndent
- Specified by:
getTextIndent
in interfaceCSS2Properties
-
setTextIndent
- Specified by:
setTextIndent
in interfaceCSS2Properties
- Throws:
DOMException
-
getTextShadow
- Specified by:
getTextShadow
in interfaceCSS2Properties
-
setTextShadow
- Specified by:
setTextShadow
in interfaceCSS2Properties
- Throws:
DOMException
-
getTextTransform
- Specified by:
getTextTransform
in interfaceCSS2Properties
-
setTextTransform
- Specified by:
setTextTransform
in interfaceCSS2Properties
- Throws:
DOMException
-
getTop
- Specified by:
getTop
in interfaceCSS2Properties
-
setTop
- Specified by:
setTop
in interfaceCSS2Properties
- Throws:
DOMException
-
getUnicodeBidi
- Specified by:
getUnicodeBidi
in interfaceCSS2Properties
-
setUnicodeBidi
- Specified by:
setUnicodeBidi
in interfaceCSS2Properties
- Throws:
DOMException
-
getVerticalAlign
- Specified by:
getVerticalAlign
in interfaceCSS2Properties
-
setVerticalAlign
- Specified by:
setVerticalAlign
in interfaceCSS2Properties
- Throws:
DOMException
-
getVisibility
- Specified by:
getVisibility
in interfaceCSS2Properties
-
setVisibility
- Specified by:
setVisibility
in interfaceCSS2Properties
- Throws:
DOMException
-
getVoiceFamily
- Specified by:
getVoiceFamily
in interfaceCSS2Properties
-
setVoiceFamily
- Specified by:
setVoiceFamily
in interfaceCSS2Properties
- Throws:
DOMException
-
getVolume
- Specified by:
getVolume
in interfaceCSS2Properties
-
setVolume
- Specified by:
setVolume
in interfaceCSS2Properties
- Throws:
DOMException
-
getWhiteSpace
- Specified by:
getWhiteSpace
in interfaceCSS2Properties
-
setWhiteSpace
- Specified by:
setWhiteSpace
in interfaceCSS2Properties
- Throws:
DOMException
-
getWidows
- Specified by:
getWidows
in interfaceCSS2Properties
-
setWidows
- Specified by:
setWidows
in interfaceCSS2Properties
- Throws:
DOMException
-
getWidth
- Specified by:
getWidth
in interfaceCSS2Properties
-
setWidth
- Specified by:
setWidth
in interfaceCSS2Properties
- Throws:
DOMException
-
getWordSpacing
- Specified by:
getWordSpacing
in interfaceCSS2Properties
-
setWordSpacing
- Specified by:
setWordSpacing
in interfaceCSS2Properties
- Throws:
DOMException
-
getZIndex
- Specified by:
getZIndex
in interfaceCSS2Properties
-
setZIndex
- Specified by:
setZIndex
in interfaceCSS2Properties
- Throws:
DOMException
-