DOM::CSS2Properties Class Reference
TheCSS2Properties
interface represents a convenience mechanism for retrieving and setting properties within a CSSStyleDeclaration
.
More...
#include <css_extensions.h>
Detailed Description
TheCSS2Properties
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 compliant implementation 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.
Definition at line 1048 of file css_extensions.h.
Member Function Documentation
|
See the azimuth property definition in CSS2.
Definition at line 652 of file css_extensions.cpp. |
|
see azimuth
Definition at line 658 of file css_extensions.cpp. |
|
See the background property definition in CSS2.
Definition at line 663 of file css_extensions.cpp. |
|
see background
Definition at line 669 of file css_extensions.cpp. |
|
See the background-attachment property definition in CSS2.
Definition at line 674 of file css_extensions.cpp. |
|
see backgroundAttachment
Definition at line 680 of file css_extensions.cpp. |
|
See the background-color property definition in CSS2.
Definition at line 685 of file css_extensions.cpp. |
|
see backgroundColor
Definition at line 691 of file css_extensions.cpp. |
|
See the background-image property definition in CSS2.
Definition at line 696 of file css_extensions.cpp. |
|
see backgroundImage
Definition at line 702 of file css_extensions.cpp. |
|
See the background-position property definition in CSS2.
Definition at line 707 of file css_extensions.cpp. |
|
see backgroundPosition
Definition at line 713 of file css_extensions.cpp. |
|
See the background-repeat property definition in CSS2.
Definition at line 718 of file css_extensions.cpp. |
|
see backgroundRepeat
Definition at line 724 of file css_extensions.cpp. |
|
See the border property definition in CSS2.
Definition at line 729 of file css_extensions.cpp. |
|
see border
Definition at line 735 of file css_extensions.cpp. |
|
See the border-collapse property definition in CSS2.
Definition at line 740 of file css_extensions.cpp. |
|
see borderCollapse
Definition at line 746 of file css_extensions.cpp. |
|
See the border-color property definition in CSS2.
Definition at line 751 of file css_extensions.cpp. |
|
see borderColor
Definition at line 757 of file css_extensions.cpp. |
|
See the border-spacing property definition in CSS2.
Definition at line 762 of file css_extensions.cpp. |
|
see borderSpacing
Definition at line 768 of file css_extensions.cpp. |
|
See the border-style property definition in CSS2.
Definition at line 773 of file css_extensions.cpp. |
|
see borderStyle
Definition at line 779 of file css_extensions.cpp. |
|
See the border-top property definition in CSS2.
Definition at line 784 of file css_extensions.cpp. |
|
see borderTop
Definition at line 790 of file css_extensions.cpp. |
|
See the border-right property definition in CSS2.
Definition at line 795 of file css_extensions.cpp. |
|
see borderRight
Definition at line 801 of file css_extensions.cpp. |
|
See the border-bottom property definition in CSS2.
Definition at line 806 of file css_extensions.cpp. |
|
see borderBottom
Definition at line 812 of file css_extensions.cpp. |
|
See the border-left property definition in CSS2.
Definition at line 817 of file css_extensions.cpp. |
|
see borderLeft
Definition at line 823 of file css_extensions.cpp. |
|
See the border-top-color property definition in CSS2.
Definition at line 828 of file css_extensions.cpp. |
|
see borderTopColor
Definition at line 834 of file css_extensions.cpp. |
|
See the border-right-color property definition in CSS2.
Definition at line 839 of file css_extensions.cpp. |
|
see borderRightColor
Definition at line 845 of file css_extensions.cpp. |
|
See the border-bottom-color property definition in CSS2.
Definition at line 850 of file css_extensions.cpp. |
|
see borderBottomColor
Definition at line 856 of file css_extensions.cpp. |
|
See the border-left-color property definition in CSS2.
Definition at line 861 of file css_extensions.cpp. |
|
see borderLeftColor
Definition at line 867 of file css_extensions.cpp. |
|
See the border-top-style property definition in CSS2.
Definition at line 872 of file css_extensions.cpp. |
|
see borderTopStyle
Definition at line 878 of file css_extensions.cpp. |
|
See the border-right-style property definition in CSS2.
Definition at line 883 of file css_extensions.cpp. |
|
see borderRightStyle
Definition at line 889 of file css_extensions.cpp. |
|
See the border-bottom-style property definition in CSS2.
Definition at line 894 of file css_extensions.cpp. |
|
see borderBottomStyle
Definition at line 900 of file css_extensions.cpp. |
|
See the border-left-style property definition in CSS2.
Definition at line 905 of file css_extensions.cpp. |
|
see borderLeftStyle
Definition at line 911 of file css_extensions.cpp. |
|
See the border-top-width property definition in CSS2.
Definition at line 916 of file css_extensions.cpp. |
|
see borderTopWidth
Definition at line 922 of file css_extensions.cpp. |
|
See the border-right-width property definition in CSS2.
Definition at line 927 of file css_extensions.cpp. |
|
see borderRightWidth
Definition at line 933 of file css_extensions.cpp. |
|
See the border-bottom-width property definition in CSS2.
Definition at line 938 of file css_extensions.cpp. |
|
see borderBottomWidth
Definition at line 944 of file css_extensions.cpp. |
|
See the border-left-width property definition in CSS2.
Definition at line 949 of file css_extensions.cpp. |
|
see borderLeftWidth
Definition at line 955 of file css_extensions.cpp. |
|
See the border-width property definition in CSS2.
Definition at line 960 of file css_extensions.cpp. |
|
see borderWidth
Definition at line 966 of file css_extensions.cpp. |
|
See the bottom property definition in CSS2.
Definition at line 971 of file css_extensions.cpp. |
|
see bottom
Definition at line 977 of file css_extensions.cpp. |
|
See the caption-side property definition in CSS2.
Definition at line 982 of file css_extensions.cpp. |
|
see captionSide
Definition at line 988 of file css_extensions.cpp. |
|
See the clear property definition in CSS2.
Definition at line 993 of file css_extensions.cpp. |
|
see clear
Definition at line 999 of file css_extensions.cpp. |
|
See the clip property definition in CSS2.
Definition at line 1004 of file css_extensions.cpp. |
|
see clip
Definition at line 1010 of file css_extensions.cpp. |
|
See the color property definition in CSS2.
Definition at line 1015 of file css_extensions.cpp. |
|
see color
Definition at line 1021 of file css_extensions.cpp. |
|
See the content property definition in CSS2.
Definition at line 1026 of file css_extensions.cpp. |
|
see content
Definition at line 1032 of file css_extensions.cpp. |
|
See the counter-increment property definition in CSS2.
Definition at line 1037 of file css_extensions.cpp. |
|
see counterIncrement
Definition at line 1043 of file css_extensions.cpp. |
|
See the counter-reset property definition in CSS2.
Definition at line 1048 of file css_extensions.cpp. |
|
see counterReset
Definition at line 1054 of file css_extensions.cpp. |
|
See the cue property definition in CSS2.
Definition at line 1059 of file css_extensions.cpp. |
|
see cue
Definition at line 1065 of file css_extensions.cpp. |
|
See the cue-after property definition in CSS2.
Definition at line 1070 of file css_extensions.cpp. |
|
see cueAfter
Definition at line 1076 of file css_extensions.cpp. |
|
See the cue-before property definition in CSS2.
Definition at line 1081 of file css_extensions.cpp. |
|
see cueBefore
Definition at line 1087 of file css_extensions.cpp. |
|
See the cursor property definition in CSS2.
Definition at line 1092 of file css_extensions.cpp. |
|
see cursor
Definition at line 1098 of file css_extensions.cpp. |
|
See the direction property definition in CSS2.
Definition at line 1103 of file css_extensions.cpp. |
|
see direction
Definition at line 1109 of file css_extensions.cpp. |
|
See the display property definition in CSS2.
Definition at line 1114 of file css_extensions.cpp. |
|
see display
Definition at line 1120 of file css_extensions.cpp. |
|
See the elevation property definition in CSS2.
Definition at line 1125 of file css_extensions.cpp. |
|
see elevation
Definition at line 1131 of file css_extensions.cpp. |
|
See the empty-cells property definition in CSS2.
Definition at line 1136 of file css_extensions.cpp. |
|
see emptyCells
Definition at line 1142 of file css_extensions.cpp. |
|
See the float property definition in CSS2.
Definition at line 1147 of file css_extensions.cpp. |
|
see cssFloat
Definition at line 1153 of file css_extensions.cpp. |
|
See the font property definition in CSS2.
Definition at line 1158 of file css_extensions.cpp. |
|
see font
Definition at line 1164 of file css_extensions.cpp. |
|
See the font-family property definition in CSS2.
Definition at line 1169 of file css_extensions.cpp. |
|
see fontFamily
Definition at line 1175 of file css_extensions.cpp. |
|
See the font-size property definition in CSS2.
Definition at line 1180 of file css_extensions.cpp. |
|
see fontSize
Definition at line 1186 of file css_extensions.cpp. |
|
See the font-size-adjust property definition in CSS2.
Definition at line 1191 of file css_extensions.cpp. |
|
see fontSizeAdjust
Definition at line 1197 of file css_extensions.cpp. |
|
See the font-stretch property definition in CSS2.
Definition at line 1202 of file css_extensions.cpp. |
|
see fontStretch
Definition at line 1208 of file css_extensions.cpp. |
|
See the font-style property definition in CSS2.
Definition at line 1213 of file css_extensions.cpp. |
|
see fontStyle
Definition at line 1219 of file css_extensions.cpp. |
|
See the font-variant property definition in CSS2.
Definition at line 1224 of file css_extensions.cpp. |
|
see fontVariant
Definition at line 1230 of file css_extensions.cpp. |
|
See the font-weight property definition in CSS2.
Definition at line 1235 of file css_extensions.cpp. |
|
see fontWeight
Definition at line 1241 of file css_extensions.cpp. |
|
See the height property definition in CSS2.
Definition at line 1246 of file css_extensions.cpp. |
|
see height
Definition at line 1252 of file css_extensions.cpp. |
|
See the left property definition in CSS2.
Definition at line 1257 of file css_extensions.cpp. |
|
see left
Definition at line 1263 of file css_extensions.cpp. |
|
See the letter-spacing property definition in CSS2.
Definition at line 1268 of file css_extensions.cpp. |
|
see letterSpacing
Definition at line 1274 of file css_extensions.cpp. |
|
See the line-height property definition in CSS2.
Definition at line 1279 of file css_extensions.cpp. |
|
see lineHeight
Definition at line 1285 of file css_extensions.cpp. |
|
See the list-style property definition in CSS2.
Definition at line 1290 of file css_extensions.cpp. |
|
see listStyle
Definition at line 1296 of file css_extensions.cpp. |
|
See the list-style-image property definition in CSS2.
Definition at line 1301 of file css_extensions.cpp. |
|
see listStyleImage
Definition at line 1307 of file css_extensions.cpp. |
|
See the list-style-position property definition in CSS2.
Definition at line 1312 of file css_extensions.cpp. |
|
see listStylePosition
Definition at line 1318 of file css_extensions.cpp. |
|
See the list-style-type property definition in CSS2.
Definition at line 1323 of file css_extensions.cpp. |
|
see listStyleType
Definition at line 1329 of file css_extensions.cpp. |
|
See the margin property definition in CSS2.
Definition at line 1334 of file css_extensions.cpp. |
|
see margin
Definition at line 1340 of file css_extensions.cpp. |
|
See the margin-top property definition in CSS2.
Definition at line 1345 of file css_extensions.cpp. |
|
see marginTop
Definition at line 1351 of file css_extensions.cpp. |
|
See the margin-right property definition in CSS2.
Definition at line 1356 of file css_extensions.cpp. |
|
see marginRight
Definition at line 1362 of file css_extensions.cpp. |
|
See the margin-bottom property definition in CSS2.
Definition at line 1367 of file css_extensions.cpp. |
|
see marginBottom
Definition at line 1373 of file css_extensions.cpp. |
|
See the margin-left property definition in CSS2.
Definition at line 1378 of file css_extensions.cpp. |
|
see marginLeft
Definition at line 1384 of file css_extensions.cpp. |
|
See the marker-offset property definition in CSS2.
Definition at line 1389 of file css_extensions.cpp. |
|
see markerOffset
Definition at line 1395 of file css_extensions.cpp. |
|
See the marks property definition in CSS2.
Definition at line 1400 of file css_extensions.cpp. |
|
see marks
Definition at line 1406 of file css_extensions.cpp. |
|
See the max-height property definition in CSS2.
Definition at line 1411 of file css_extensions.cpp. |
|
see maxHeight
Definition at line 1417 of file css_extensions.cpp. |
|
See the max-width property definition in CSS2.
Definition at line 1422 of file css_extensions.cpp. |
|
see maxWidth
Definition at line 1428 of file css_extensions.cpp. |
|
See the min-height property definition in CSS2.
Definition at line 1433 of file css_extensions.cpp. |
|
see minHeight
Definition at line 1439 of file css_extensions.cpp. |
|
See the min-width property definition in CSS2.
Definition at line 1444 of file css_extensions.cpp. |
|
see minWidth
Definition at line 1450 of file css_extensions.cpp. |
|
See the orphans property definition in CSS2.
Definition at line 1455 of file css_extensions.cpp. |
|
see orphans
Definition at line 1461 of file css_extensions.cpp. |
|
See the outline property definition in CSS2.
Definition at line 1466 of file css_extensions.cpp. |
|
see outline
Definition at line 1472 of file css_extensions.cpp. |
|
See the outline-color property definition in CSS2.
Definition at line 1477 of file css_extensions.cpp. |
|
see outlineColor
Definition at line 1483 of file css_extensions.cpp. |
|
See the outline-style property definition in CSS2.
Definition at line 1488 of file css_extensions.cpp. |
|
see outlineStyle
Definition at line 1494 of file css_extensions.cpp. |
|
See the outline-width property definition in CSS2.
Definition at line 1499 of file css_extensions.cpp. |
|
see outlineWidth
Definition at line 1505 of file css_extensions.cpp. |
|
See the overflow property definition in CSS2.
Definition at line 1510 of file css_extensions.cpp. |
|
see overflow
Definition at line 1516 of file css_extensions.cpp. |
|
See the padding property definition in CSS2.
Definition at line 1521 of file css_extensions.cpp. |
|
see padding
Definition at line 1527 of file css_extensions.cpp. |
|
See the padding-top property definition in CSS2.
Definition at line 1532 of file css_extensions.cpp. |
|
see paddingTop
Definition at line 1538 of file css_extensions.cpp. |
|
See the padding-right property definition in CSS2.
Definition at line 1543 of file css_extensions.cpp. |
|
see paddingRight
Definition at line 1549 of file css_extensions.cpp. |
|
See the padding-bottom property definition in CSS2.
Definition at line 1554 of file css_extensions.cpp. |
|
see paddingBottom
Definition at line 1560 of file css_extensions.cpp. |
|
See the padding-left property definition in CSS2.
Definition at line 1565 of file css_extensions.cpp. |
|
see paddingLeft
Definition at line 1571 of file css_extensions.cpp. |
|
See the page property definition in CSS2.
Definition at line 1576 of file css_extensions.cpp. |
|
see page
Definition at line 1582 of file css_extensions.cpp. |
|
See the page-break-after property definition in CSS2.
Definition at line 1587 of file css_extensions.cpp. |
|
see pageBreakAfter
Definition at line 1593 of file css_extensions.cpp. |
|
See the page-break-before property definition in CSS2.
Definition at line 1598 of file css_extensions.cpp. |
|
see pageBreakBefore
Definition at line 1604 of file css_extensions.cpp. |
|
See the page-break-inside property definition in CSS2.
Definition at line 1609 of file css_extensions.cpp. |
|
see pageBreakInside
Definition at line 1615 of file css_extensions.cpp. |
|
See the pause property definition in CSS2.
Definition at line 1620 of file css_extensions.cpp. |
|
see pause
Definition at line 1626 of file css_extensions.cpp. |
|
See the pause-after property definition in CSS2.
Definition at line 1631 of file css_extensions.cpp. |
|
see pauseAfter
Definition at line 1637 of file css_extensions.cpp. |
|
See the pause-before property definition in CSS2.
Definition at line 1642 of file css_extensions.cpp. |
|
see pauseBefore
Definition at line 1648 of file css_extensions.cpp. |
|
See the pitch property definition in CSS2.
Definition at line 1653 of file css_extensions.cpp. |
|
see pitch
Definition at line 1659 of file css_extensions.cpp. |
|
See the pitch-range property definition in CSS2.
Definition at line 1664 of file css_extensions.cpp. |
|
see pitchRange
Definition at line 1670 of file css_extensions.cpp. |
|
See the play-during property definition in CSS2.
Definition at line 1675 of file css_extensions.cpp. |
|
see playDuring
Definition at line 1681 of file css_extensions.cpp. |
|
See the position property definition in CSS2.
Definition at line 1686 of file css_extensions.cpp. |
|
see position
Definition at line 1692 of file css_extensions.cpp. |
|
See the quotes property definition in CSS2.
Definition at line 1697 of file css_extensions.cpp. |
|
see quotes
Definition at line 1703 of file css_extensions.cpp. |
|
See the richness property definition in CSS2.
Definition at line 1708 of file css_extensions.cpp. |
|
see richness
Definition at line 1714 of file css_extensions.cpp. |
|
See the right property definition in CSS2.
Definition at line 1719 of file css_extensions.cpp. |
|
see right
Definition at line 1725 of file css_extensions.cpp. |
|
See the size property definition in CSS2.
Definition at line 1730 of file css_extensions.cpp. |
|
see size
Definition at line 1736 of file css_extensions.cpp. |
|
See the speak property definition in CSS2.
Definition at line 1741 of file css_extensions.cpp. |
|
see speak
Definition at line 1747 of file css_extensions.cpp. |
|
See the speak-header property definition in CSS2.
Definition at line 1752 of file css_extensions.cpp. |
|
see speakHeader
Definition at line 1758 of file css_extensions.cpp. |
|
See the speak-numeral property definition in CSS2.
Definition at line 1763 of file css_extensions.cpp. |
|
see speakNumeral
Definition at line 1769 of file css_extensions.cpp. |
|
See the speak-punctuation property definition in CSS2.
Definition at line 1774 of file css_extensions.cpp. |
|
see speakPunctuation
Definition at line 1780 of file css_extensions.cpp. |
|
See the speech-rate property definition in CSS2.
Definition at line 1785 of file css_extensions.cpp. |
|
see speechRate
Definition at line 1791 of file css_extensions.cpp. |
|
See the stress property definition in CSS2.
Definition at line 1796 of file css_extensions.cpp. |
|
see stress
Definition at line 1802 of file css_extensions.cpp. |
|
See the table-layout property definition in CSS2.
Definition at line 1807 of file css_extensions.cpp. |
|
see tableLayout
Definition at line 1813 of file css_extensions.cpp. |
|
See the text-align property definition in CSS2.
Definition at line 1818 of file css_extensions.cpp. |
|
see textAlign
Definition at line 1824 of file css_extensions.cpp. |
|
See the text-decoration property definition in CSS2.
Definition at line 1829 of file css_extensions.cpp. |
|
see textDecoration
Definition at line 1835 of file css_extensions.cpp. |
|
See the text-indent property definition in CSS2.
Definition at line 1840 of file css_extensions.cpp. |
|
see textIndent
Definition at line 1846 of file css_extensions.cpp. |
|
See the text-shadow property definition in CSS2.
Definition at line 1851 of file css_extensions.cpp. |
|
see textShadow
Definition at line 1857 of file css_extensions.cpp. |
|
See the text-transform property definition in CSS2.
Definition at line 1862 of file css_extensions.cpp. |
|
see textTransform
Definition at line 1868 of file css_extensions.cpp. |
|
See the top property definition in CSS2.
Definition at line 1873 of file css_extensions.cpp. |
|
see top
Definition at line 1879 of file css_extensions.cpp. |
|
See the unicode-bidi property definition in CSS2.
Definition at line 1884 of file css_extensions.cpp. |
|
see unicodeBidi
Definition at line 1890 of file css_extensions.cpp. |
|
See the vertical-align property definition in CSS2.
Definition at line 1895 of file css_extensions.cpp. |
|
see verticalAlign
Definition at line 1901 of file css_extensions.cpp. |
|
See the visibility property definition in CSS2.
Definition at line 1906 of file css_extensions.cpp. |
|
see visibility
Definition at line 1912 of file css_extensions.cpp. |
|
See the voice-family property definition in CSS2.
Definition at line 1917 of file css_extensions.cpp. |
|
see voiceFamily
Definition at line 1923 of file css_extensions.cpp. |
|
See the volume property definition in CSS2.
Definition at line 1928 of file css_extensions.cpp. |
|
see volume
Definition at line 1934 of file css_extensions.cpp. |
|
See the white-space property definition in CSS2.
Definition at line 1939 of file css_extensions.cpp. |
|
see whiteSpace
Definition at line 1945 of file css_extensions.cpp. |
|
See the widows property definition in CSS2.
Definition at line 1950 of file css_extensions.cpp. |
|
see widows
Definition at line 1956 of file css_extensions.cpp. |
|
See the width property definition in CSS2.
Definition at line 1961 of file css_extensions.cpp. |
|
see width
Definition at line 1967 of file css_extensions.cpp. |
|
See the word-spacing property definition in CSS2.
Definition at line 1972 of file css_extensions.cpp. |
|
see wordSpacing
Definition at line 1978 of file css_extensions.cpp. |
|
See the z-index property definition in CSS2.
Definition at line 1983 of file css_extensions.cpp. |
|
see zIndex
Definition at line 1989 of file css_extensions.cpp. |
The documentation for this class was generated from the following files: