1.4.0.3
Gameface
CSSStyleDeclaration Interface Reference

The style of an element. More...

Public Member Functions

DOMString getPropertyValue (DOMString prop)
 returns the value of the property More...
 
void setProperty (DOMString propName, optional DOMString? value=null, optional DOMString? priority=null)
 sets a new value for a property on a CSS style declaration object More...
 

Public Attributes

attribute DOMString display
 
attribute DOMString position
 
attribute DOMString color
 
attribute DOMString backgroundColor
 
attribute DOMString cursor
 
attribute DOMString marginBottom
 
attribute DOMString marginLeft
 
attribute DOMString marginRight
 
attribute DOMString marginTop
 
attribute DOMString margin
 
attribute DOMString paddingBottom
 
attribute DOMString paddingLeft
 
attribute DOMString paddingRight
 
attribute DOMString paddingTop
 
attribute DOMString padding
 
attribute DOMString clipPath
 
attribute DOMString zIndex
 set the zIndex More...
 
attribute DOMString opacity
 Opacity value. More...
 
attribute DOMString visibility
 
attribute DOMString transform
 set transformation More...
 
attribute DOMString transformOrigin
 
attribute DOMString animation
 
attribute DOMString animationName
 
attribute DOMString animationDuration
 
attribute DOMString animationIterationCount
 
attribute DOMString animationTimingFunction
 
attribute DOMString animationPlayState
 
attribute DOMString animationFillMode
 
attribute DOMString animationDelay
 
attribute DOMString animationDirection
 
attribute DOMString contain
 
attribute DOMString overflowX
 
attribute DOMString overflowY
 
attribute DOMString overflow
 
attribute DOMString maskPosition
 
attribute DOMString maskSize
 
attribute DOMString background
 
attribute DOMString maskImage
 
attribute DOMString maskMode
 
attribute DOMString maskClip
 
attribute DOMString maskRepeat
 
attribute DOMString mask
 
attribute DOMString perspective
 
attribute DOMString perspectiveOrigin
 
attribute DOMString isolation
 
attribute DOMString mixBlendMode
 
attribute DOMString transitionProperty
 
attribute DOMString transitionDuration
 
attribute DOMString transitionDelay
 
attribute DOMString transitionTimingFunction
 
attribute DOMString transition
 
attribute DOMString userSelect
 
attribute DOMString pointerEvents
 
Border properties
attribute DOMString borderBottomWidth
 
attribute DOMString borderLeftWidth
 
attribute DOMString borderRightWidth
 
attribute DOMString borderTopWidth
 
attribute DOMString borderWidth
 
attribute DOMString borderBottomColor
 
attribute DOMString borderLeftColor
 
attribute DOMString borderRightColor
 
attribute DOMString borderTopColor
 
attribute DOMString borderColor
 
attribute DOMString borderBottomStyle
 
attribute DOMString borderLeftStyle
 
attribute DOMString borderRightStyle
 
attribute DOMString borderTopStyle
 
attribute DOMString borderStyle
 
attribute DOMString borderBottom
 
attribute DOMString borderLeft
 
attribute DOMString borderRight
 
attribute DOMString borderTop
 
attribute DOMString border
 
Positioning - top, left, bottom, right

attribute DOMString top
 
attribute DOMString left
 
attribute DOMString bottom
 
attribute DOMString right
 
attribute long topPX
 set the top in pixels More...
 
attribute long leftPX
 set the left in pixels More...
 
attribute long bottomPX
 set the bottom in pixels More...
 
attribute long rightPX
 set the right in pixels More...
 
attribute long topVW
 
attribute long leftVW
 
attribute long bottomVW
 
attribute long rightVW
 
attribute long topVH
 
attribute long leftVH
 
attribute long bottomVH
 
attribute long rightVH
 
Size - width and height
attribute DOMString width
 
attribute DOMString height
 
attribute DOMString minWidth
 
attribute DOMString minHeight
 
attribute DOMString maxWidth
 
attribute DOMString maxHeight
 
attribute long widthPX
 
attribute long heightPX
 
attribute long minWidthPX
 
attribute long minHeightPX
 
attribute long widthVW
 
attribute long heightVH
 
attribute long minWidthVW
 
attribute long minHeightVH
 
attribute long maxWidthPX
 
attribute long maxHeightPX
 
attribute long maxWidthVW
 
attribute long maxHeightVH
 
Background - image and position and border radius
attribute DOMString backgroundSize
 
attribute DOMString backgroundImage
 
attribute DOMString backgroundPosition
 
attribute DOMString backgroundRepeat
 
attribute DOMString borderTopLeftRadius
 
attribute DOMString borderTopRightRadius
 
attribute DOMString borderBottomLeftRadius
 
attribute DOMString borderBottomRightRadius
 
attribute DOMString borderRadius
 
attribute DOMString borderImageSource
 
attribute DOMString borderImageSlice
 
attribute DOMString borderImageWidth
 
attribute DOMString borderImageOutset
 
attribute DOMString borderImageRepeat
 
attribute DOMString borderImage
 
attribute DOMString boxShadow
 
attribute DOMString textShadow
 
attribute DOMString textAlign
 
attribute DOMString letterSpacing
 
attribute DOMString lineHeight
 
attribute DOMString filter
 
Flexbox properties
attribute DOMString flexDirection
 
attribute DOMString justifyContent
 
attribute DOMString alignSelf
 
attribute DOMString alignItems
 
attribute DOMString alignContent
 
attribute DOMString flexWrap
 
attribute DOMString flex
 
Font properties
attribute DOMString font
 
attribute DOMString fontFamily
 
attribute DOMString fontSize
 
attribute DOMString fontWeight
 
attribute DOMString fontStyle
 
attribute DOMString fontFitMode
 
attribute DOMString textTransform
 
attribute DOMString overflowWrap
 

Detailed Description

The style of an element.

Member Function Documentation

◆ getPropertyValue()

DOMString CSSStyleDeclaration::getPropertyValue ( DOMString  prop)

returns the value of the property

◆ setProperty()

void CSSStyleDeclaration::setProperty ( DOMString  propName,
optional DOMString?  value = null,
optional DOMString?  priority = null 
)

sets a new value for a property on a CSS style declaration object

Note
Currently works only when the propName refers to a custom CSS variable

Member Data Documentation

◆ alignContent

attribute DOMString CSSStyleDeclaration::alignContent

◆ alignItems

attribute DOMString CSSStyleDeclaration::alignItems

◆ alignSelf

attribute DOMString CSSStyleDeclaration::alignSelf

◆ animation

attribute DOMString CSSStyleDeclaration::animation

◆ animationDelay

attribute DOMString CSSStyleDeclaration::animationDelay

◆ animationDirection

attribute DOMString CSSStyleDeclaration::animationDirection

◆ animationDuration

attribute DOMString CSSStyleDeclaration::animationDuration

◆ animationFillMode

attribute DOMString CSSStyleDeclaration::animationFillMode

◆ animationIterationCount

attribute DOMString CSSStyleDeclaration::animationIterationCount

◆ animationName

attribute DOMString CSSStyleDeclaration::animationName

◆ animationPlayState

attribute DOMString CSSStyleDeclaration::animationPlayState

◆ animationTimingFunction

attribute DOMString CSSStyleDeclaration::animationTimingFunction

◆ background

attribute DOMString CSSStyleDeclaration::background

◆ backgroundColor

attribute DOMString CSSStyleDeclaration::backgroundColor

◆ backgroundImage

attribute DOMString CSSStyleDeclaration::backgroundImage

◆ backgroundPosition

attribute DOMString CSSStyleDeclaration::backgroundPosition

◆ backgroundRepeat

attribute DOMString CSSStyleDeclaration::backgroundRepeat

◆ backgroundSize

attribute DOMString CSSStyleDeclaration::backgroundSize

◆ border

attribute DOMString CSSStyleDeclaration::border

◆ borderBottom

attribute DOMString CSSStyleDeclaration::borderBottom

◆ borderBottomColor

attribute DOMString CSSStyleDeclaration::borderBottomColor

◆ borderBottomLeftRadius

attribute DOMString CSSStyleDeclaration::borderBottomLeftRadius

◆ borderBottomRightRadius

attribute DOMString CSSStyleDeclaration::borderBottomRightRadius

◆ borderBottomStyle

attribute DOMString CSSStyleDeclaration::borderBottomStyle

◆ borderBottomWidth

attribute DOMString CSSStyleDeclaration::borderBottomWidth

◆ borderColor

attribute DOMString CSSStyleDeclaration::borderColor

◆ borderImage

attribute DOMString CSSStyleDeclaration::borderImage

◆ borderImageOutset

attribute DOMString CSSStyleDeclaration::borderImageOutset

◆ borderImageRepeat

attribute DOMString CSSStyleDeclaration::borderImageRepeat

◆ borderImageSlice

attribute DOMString CSSStyleDeclaration::borderImageSlice

◆ borderImageSource

attribute DOMString CSSStyleDeclaration::borderImageSource

◆ borderImageWidth

attribute DOMString CSSStyleDeclaration::borderImageWidth

◆ borderLeft

attribute DOMString CSSStyleDeclaration::borderLeft

◆ borderLeftColor

attribute DOMString CSSStyleDeclaration::borderLeftColor

◆ borderLeftStyle

attribute DOMString CSSStyleDeclaration::borderLeftStyle

◆ borderLeftWidth

attribute DOMString CSSStyleDeclaration::borderLeftWidth

◆ borderRadius

attribute DOMString CSSStyleDeclaration::borderRadius

◆ borderRight

attribute DOMString CSSStyleDeclaration::borderRight

◆ borderRightColor

attribute DOMString CSSStyleDeclaration::borderRightColor

◆ borderRightStyle

attribute DOMString CSSStyleDeclaration::borderRightStyle

◆ borderRightWidth

attribute DOMString CSSStyleDeclaration::borderRightWidth

◆ borderStyle

attribute DOMString CSSStyleDeclaration::borderStyle

◆ borderTop

attribute DOMString CSSStyleDeclaration::borderTop

◆ borderTopColor

attribute DOMString CSSStyleDeclaration::borderTopColor

◆ borderTopLeftRadius

attribute DOMString CSSStyleDeclaration::borderTopLeftRadius

◆ borderTopRightRadius

attribute DOMString CSSStyleDeclaration::borderTopRightRadius

◆ borderTopStyle

attribute DOMString CSSStyleDeclaration::borderTopStyle

◆ borderTopWidth

attribute DOMString CSSStyleDeclaration::borderTopWidth

◆ borderWidth

attribute DOMString CSSStyleDeclaration::borderWidth

◆ bottom

attribute DOMString CSSStyleDeclaration::bottom

◆ bottomPX

attribute long CSSStyleDeclaration::bottomPX

set the bottom in pixels

◆ bottomVH

attribute long CSSStyleDeclaration::bottomVH

◆ bottomVW

attribute long CSSStyleDeclaration::bottomVW

◆ boxShadow

attribute DOMString CSSStyleDeclaration::boxShadow

◆ clipPath

attribute DOMString CSSStyleDeclaration::clipPath

◆ color

attribute DOMString CSSStyleDeclaration::color

◆ contain

attribute DOMString CSSStyleDeclaration::contain

◆ cursor

attribute DOMString CSSStyleDeclaration::cursor

◆ display

attribute DOMString CSSStyleDeclaration::display

◆ filter

attribute DOMString CSSStyleDeclaration::filter

◆ flex

attribute DOMString CSSStyleDeclaration::flex

◆ flexDirection

attribute DOMString CSSStyleDeclaration::flexDirection

◆ flexWrap

attribute DOMString CSSStyleDeclaration::flexWrap

◆ font

attribute DOMString CSSStyleDeclaration::font

◆ fontFamily

attribute DOMString CSSStyleDeclaration::fontFamily

◆ fontFitMode

attribute DOMString CSSStyleDeclaration::fontFitMode

◆ fontSize

attribute DOMString CSSStyleDeclaration::fontSize

◆ fontStyle

attribute DOMString CSSStyleDeclaration::fontStyle

◆ fontWeight

attribute DOMString CSSStyleDeclaration::fontWeight

◆ height

attribute DOMString CSSStyleDeclaration::height

◆ heightPX

attribute long CSSStyleDeclaration::heightPX

◆ heightVH

attribute long CSSStyleDeclaration::heightVH

◆ isolation

attribute DOMString CSSStyleDeclaration::isolation

◆ justifyContent

attribute DOMString CSSStyleDeclaration::justifyContent

◆ left

attribute DOMString CSSStyleDeclaration::left

◆ leftPX

attribute long CSSStyleDeclaration::leftPX

set the left in pixels

◆ leftVH

attribute long CSSStyleDeclaration::leftVH

◆ leftVW

attribute long CSSStyleDeclaration::leftVW

◆ letterSpacing

attribute DOMString CSSStyleDeclaration::letterSpacing

◆ lineHeight

attribute DOMString CSSStyleDeclaration::lineHeight

◆ margin

attribute DOMString CSSStyleDeclaration::margin

◆ marginBottom

attribute DOMString CSSStyleDeclaration::marginBottom

◆ marginLeft

attribute DOMString CSSStyleDeclaration::marginLeft

◆ marginRight

attribute DOMString CSSStyleDeclaration::marginRight

◆ marginTop

attribute DOMString CSSStyleDeclaration::marginTop

◆ mask

attribute DOMString CSSStyleDeclaration::mask

◆ maskClip

attribute DOMString CSSStyleDeclaration::maskClip

◆ maskImage

attribute DOMString CSSStyleDeclaration::maskImage

◆ maskMode

attribute DOMString CSSStyleDeclaration::maskMode

◆ maskPosition

attribute DOMString CSSStyleDeclaration::maskPosition

◆ maskRepeat

attribute DOMString CSSStyleDeclaration::maskRepeat

◆ maskSize

attribute DOMString CSSStyleDeclaration::maskSize

◆ maxHeight

attribute DOMString CSSStyleDeclaration::maxHeight

◆ maxHeightPX

attribute long CSSStyleDeclaration::maxHeightPX

◆ maxHeightVH

attribute long CSSStyleDeclaration::maxHeightVH

◆ maxWidth

attribute DOMString CSSStyleDeclaration::maxWidth

◆ maxWidthPX

attribute long CSSStyleDeclaration::maxWidthPX

◆ maxWidthVW

attribute long CSSStyleDeclaration::maxWidthVW

◆ minHeight

attribute DOMString CSSStyleDeclaration::minHeight

◆ minHeightPX

attribute long CSSStyleDeclaration::minHeightPX

◆ minHeightVH

attribute long CSSStyleDeclaration::minHeightVH

◆ minWidth

attribute DOMString CSSStyleDeclaration::minWidth

◆ minWidthPX

attribute long CSSStyleDeclaration::minWidthPX

◆ minWidthVW

attribute long CSSStyleDeclaration::minWidthVW

◆ mixBlendMode

attribute DOMString CSSStyleDeclaration::mixBlendMode

◆ opacity

attribute DOMString CSSStyleDeclaration::opacity

Opacity value.

◆ overflow

attribute DOMString CSSStyleDeclaration::overflow

◆ overflowWrap

attribute DOMString CSSStyleDeclaration::overflowWrap

◆ overflowX

attribute DOMString CSSStyleDeclaration::overflowX

◆ overflowY

attribute DOMString CSSStyleDeclaration::overflowY

◆ padding

attribute DOMString CSSStyleDeclaration::padding

◆ paddingBottom

attribute DOMString CSSStyleDeclaration::paddingBottom

◆ paddingLeft

attribute DOMString CSSStyleDeclaration::paddingLeft

◆ paddingRight

attribute DOMString CSSStyleDeclaration::paddingRight

◆ paddingTop

attribute DOMString CSSStyleDeclaration::paddingTop

◆ perspective

attribute DOMString CSSStyleDeclaration::perspective

◆ perspectiveOrigin

attribute DOMString CSSStyleDeclaration::perspectiveOrigin

◆ pointerEvents

attribute DOMString CSSStyleDeclaration::pointerEvents

◆ position

attribute DOMString CSSStyleDeclaration::position

◆ right

attribute DOMString CSSStyleDeclaration::right

◆ rightPX

attribute long CSSStyleDeclaration::rightPX

set the right in pixels

◆ rightVH

attribute long CSSStyleDeclaration::rightVH

◆ rightVW

attribute long CSSStyleDeclaration::rightVW

◆ textAlign

attribute DOMString CSSStyleDeclaration::textAlign

◆ textShadow

attribute DOMString CSSStyleDeclaration::textShadow

◆ textTransform

attribute DOMString CSSStyleDeclaration::textTransform

◆ top

attribute DOMString CSSStyleDeclaration::top

◆ topPX

attribute long CSSStyleDeclaration::topPX

set the top in pixels

◆ topVH

attribute long CSSStyleDeclaration::topVH

◆ topVW

attribute long CSSStyleDeclaration::topVW

◆ transform

attribute DOMString CSSStyleDeclaration::transform

set transformation

◆ transformOrigin

attribute DOMString CSSStyleDeclaration::transformOrigin

◆ transition

attribute DOMString CSSStyleDeclaration::transition

◆ transitionDelay

attribute DOMString CSSStyleDeclaration::transitionDelay

◆ transitionDuration

attribute DOMString CSSStyleDeclaration::transitionDuration

◆ transitionProperty

attribute DOMString CSSStyleDeclaration::transitionProperty

◆ transitionTimingFunction

attribute DOMString CSSStyleDeclaration::transitionTimingFunction

◆ userSelect

attribute DOMString CSSStyleDeclaration::userSelect

◆ visibility

attribute DOMString CSSStyleDeclaration::visibility

◆ width

attribute DOMString CSSStyleDeclaration::width

◆ widthPX

attribute long CSSStyleDeclaration::widthPX

◆ widthVW

attribute long CSSStyleDeclaration::widthVW

◆ zIndex

attribute DOMString CSSStyleDeclaration::zIndex

set the zIndex