http://www.xmlmind.com/xmleditor Contents Command reference APPENDIX B: Whitespace processing APPENDIX D: Enhancements and bug fixes

6 APPENDIX A: CSS2 properties and values supported by XXE

6.1 Restrictions

The following properties can be inherited whether explicitly (inherit keyword) or implicitly (inherited property).

For all properties except line-height where the specified number is inherited (which is the correct behavior), the inherited value is the actual value not the computed value.

Property Value Restrictions
background-color color|transparent
|inherit
-
border width [style color?]?
|inherit
Order is strictly width,
style, color
border-color side_value{1,4} -
border-bottom-color color|transparent
inherit
-
border-left-color " -
border-right-color " -
border-top-color " -
border-style none|dotted|dashed
|solid|double|groove
|ridge|inset|outset
No hidden
border-width thin|thick|medium
|length|inherit
-
color color|inherit -
font [style weight?]?
size family
|inherit
Order is strictly style
then weight
font-family [[name|generic] ,]*
[name|generic]
|inherit
Anything other than serif
sans-serif, monospace is
ignored
font-size medium|small|large
|x-small|x-large
|xx-small|xx-large
|smaller|larger
|length|percentage
|inherit
-
font-style normal|italic|oblique
|inherit
italic and oblique are
aliases
font-weight normal|bold|inherit No N00, bolder, lighter
line-height normal|number|inherit No length, percentage
margin side_value{1,4} -
margin-bottom length|auto|inherit No percentage
margin-left " -
margin-right " -
margin-top " -
padding side_value{1,4} -
padding-bottom length|inherit No percentage
padding-left " -
padding-right " -
padding-top " -
text-align left|right|center
|inherit
No justify
text-decoration none|underline|overline
|line-through|inherit
No blink
text-indent length|inherit No percentage
vertical-align baseline|middle|sub
|super|text-top|top
|text-bottom|bottom
|inherit
No length, percentage
white-space normal|pre|nowrap
|inherit
-

The following properties cannot be inherited whether explicitly (inherit keyword) or implicitly (inherited property).

Property Value Restrictions
border-spacing length length? -
content string|uri|attr(X)
|open-quote|close-quote
|no-open-quote
|no-close-quote
|counter(name)
|counter(name, style)
|counters(name, separ)
|counters(name, separ,
    style)
|disc|circle|square
|see extensions
Open-quote is char. "`",
close-quote is char. "'",
no-*-quote is ignored
See restrictions
about counters
Counter styles are
limited to: decimal,
lower-alpha, lower-latin,
upper-alpha, upper-latin,
lower-roman, upper-roman
display none|inline|block
|marker|table
|inline-table
|table-row-group
|table-header-group
|table-footer-group
|table-row
|table-column-group
|table-column|table-cell
|table-caption
|inline-block|tree
No list-item (use markers),
run-in, compact
height length|auto No percentage
marker-offset length|auto No percentage
width length|auto No percentage

6.2 Extensions