
2. Cascading Style Sheets Level 2 Revision 1
- 2.1 Selectors
- 2.2 Box model
- 2.3 Visual formatting model
- 2.4 Visual formatting model details
- 2.5 Visual effects
- 2.6 Generated content, automatic numbering, and lists
- 2.7 Paged media
- 2.8 Colors and Backgrounds
- 2.9 Fonts
- 2.10 Text
- 2.11 Tables
- 2.12 User Interface
- 2.13 Aural style sheets
2.1 Selectors
| Selector | Pattern | Support | Remark |
|---|---|---|---|
| Universal selector | |||
| * | Yes | ||
| Type selectors | |||
| E | Yes | ||
| Descendant selectors | |||
| E F | Yes | ||
| Child selectors | |||
| E > F | Yes | ||
| The :first-child pseudo-class | |||
| E:first-child | Yes | ||
| The link pseudo-classes | |||
| E:link | Yes | Applied only to 'a' elements. | |
| E:visited | Yes | Applied only to 'a' elements. | |
| The dynamic pseudo-classes | |||
| E:active | Yes | Applied only to 'a' elements and 'img' elements (when 'ismap' attribute is specified). An event occurs after mouseup. |
|
| E:hover | Yes | Applied only to 'a' elements. | |
| E:focus | Yes | Applied only to 'a' elements, 'input' elements, 'textarea' elements, 'select' elements, 'button' elements, 'embed' elements, and 'iframe' elements. | |
| The :lang() pseudo-class | |||
| E:lang(c) | Yes | ||
| Adjacent selectors | |||
| E + F | Yes | ||
| Attribute selectors | |||
| E[foo] | Yes | ||
| E[foo="warning"] | Yes | ||
| E[foo~="warning"] | Yes | ||
| E[lang|="en"] | Yes | ||
| Class selectors | |||
| DIV.warning | Yes | ||
| ID selectors | |||
| E#myid | Yes | ||
| Pseudo-elements | |||
| E:first-letter | Yes | ||
| E:first-line | Yes | ||
| E:before | Yes | Not applied to 'html' elements, 'head' elements, 'meta' elements, 'link' elements, 'title' elements, 'script' elements, 'style' elements, 'base' elements, 'frameset' elements, 'frame' elements, 'iframe' elements, 'img' elements, 'embed' elements, 'applet' elements, 'object' elements, 'param' elements, 'input' elements, 'textarea' elements, 'button' elements, 'select' elements, 'option' elements, and 'optgroup' elements. | |
| E:after | Yes | Not applied to 'html' elements, 'head' elements, 'meta' elements, 'link' elements, 'title' elements, 'script' elements, 'style' elements, 'base' elements, 'frameset' elements, 'frame' elements, 'iframe' elements, 'img' elements, 'embed' elements, 'applet' elements, 'object' elements, 'param' elements, 'input' elements, 'textarea' elements, 'button' elements, 'select' elements, 'option' elements, and 'optgroup' elements. | |
| Grouping | |||
| E, F | Yes | ||
2.2 Box model
| Property | Value | Support | Remark |
|---|---|---|---|
| margin-top | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| margin-right | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| margin-bottom | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| margin-left | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| margin | |||
| <margin-width>{1,4} | Yes | ||
| padding-top | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| padding-right | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| padding-bottom | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| padding-left | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| padding | |||
| <padding-width>{1,4} | Yes | ||
| inherit | Yes | ||
| border-top-width | |||
| thin | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| medium | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| thick | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| <length> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-right-width | |||
| thin | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| medium | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| thick | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| <length> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-bottom-width | |||
| thin | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| medium | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| thick | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| <length> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-left-width | |||
| thin | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| medium | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| thick | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| <length> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-width | |||
| <border-width>{1,4} | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-top-color | |||
| <color> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| transparent | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-right-color | |||
| <color> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| transparent | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-bottom-color | |||
| <color> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| transparent | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-left-color | |||
| <color> | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| transparent | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-color | |||
| <color>{1,4} | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| transparent | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-top-style | |||
| none | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| hidden | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dotted | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dashed | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| solid | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| double | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| groove | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| ridge | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inset | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| outset | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-right-style | |||
| none | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| hidden | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dotted | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dashed | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| solid | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| double | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| groove | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| ridge | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inset | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| outset | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-bottom-style | |||
| none | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| hidden | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dotted | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dashed | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| solid | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| double | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| groove | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| ridge | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inset | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| outset | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-left-style | |||
| none | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| hidden | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dotted | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| dashed | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| solid | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| double | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| groove | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| ridge | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inset | No | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| outset | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-style | |||
| <border-style>{1,4} | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-top | |||
| border-top-width' || 'border-top-style' || 'border-top-color' | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Graphics system dependent. Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-right | |||
| border-right-width' || 'border-right-style' || 'border-right-color' | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-bottom | |||
| border-bottom-width' || 'border-bottom-style' || 'border-bottom-color' | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-left | |||
| border-left-width' || 'border-left-style' || 'border-left-color' | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border | |||
| border-width' || 'border-style' || ' <color>' | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
2.3 Visual formatting model
| Property | Value | Support | Remark |
|---|---|---|---|
| display | |||
| block | Yes | ||
| inline | Yes | ||
| inline-block | Yes | ||
| list-item | Yes | Only unordered lists and lists with marker image are supported. | |
| none | Yes | HTML elements to which property value is not applied:: frame | |
| run-in | No | ||
| compact | No | ||
| table | Yes | ||
| inline-table | Yes | Conforms only to rules 5 and 6 stipulated in http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes". | |
| table-row-group | Yes | ||
| table-column | Yes | Conforms only to rules 5 and 6 stipulated in http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes". | |
| table-column-group | Yes | Conforms only to rules 5 and 6 stipulated in http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes". | |
| table-header-group | Yes | ||
| table-footer-group | Yes | ||
| table-row | Yes | ||
| table-cell | Yes | ||
| table-caption | Yes | ||
| inherit | Yes | ||
| position | |||
| static | Yes | ||
| relative | Yes | ||
| absolute | Yes | ||
| fixed | Yes | ||
| inherit | Yes | ||
| top | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| right | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| bottom | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| left | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| float | |||
| left | Yes | ||
| right | Yes | ||
| none | Yes | ||
| inherit | Yes | ||
| clear | |||
| none | Yes | ||
| left | Yes | ||
| right | Yes | ||
| both | Yes | ||
| inherit | Yes | ||
| z-index | |||
| auto | Yes | ||
| <integer> | Yes | ||
| inherit | Yes | ||
| direction | |||
| ltr | Yes | ||
| rtl | Yes | ||
| inherit | Yes | ||
| unicode-bidi | |||
| normal | Yes | ||
| embed | Yes | ||
| bidi-override | Yes | ||
| inherit | Yes | ||
2.4 Visual formatting model details
| Property | Value | Support | Remark |
|---|---|---|---|
| width | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| min-width | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| max-width | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| none | Yes | ||
| inherit | Yes | ||
| height | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| auto | Yes | ||
| inherit | Yes | ||
| min-height | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| max-height | |||
| <length> | Yes | ||
| <percentage> | No | ||
| none | Yes | ||
| inherit | Yes | ||
| line-height | |||
| normal | Yes | ||
| number | Yes | ||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| vertical-align | |||
| baseline | Yes | ||
| middle | Yes | ||
| sub | Yes | ||
| super | Yes | ||
| text-top | Yes | ||
| text-bottom | Yes | ||
| <percentage> | Yes | ||
| <length> | Yes | ||
| top | Yes | ||
| bottom | Yes | ||
| inherit | Yes | ||
2.5 Visual effects
| Property | Value | Support | Remark |
|---|---|---|---|
| overflow | |||
| visible | Yes | ||
| hidden | Yes | ||
| scroll | No | ||
| auto | No | ||
| inherit | Yes | ||
| clip | |||
| auto | Yes | ||
| <shape> | Yes | ||
| inherit | Yes | ||
| visibility | |||
| visible | Yes | ||
| hidden | Yes | Not applied to 'frame' elements and 'colgroup' elements. | |
| collapse | No | Elements for which "visibility: collapse;" is specified are displayed in the same way as when "visibility: hidden" is specified. | |
| inherit | Yes | ||
2.6 Generated content, automatic numbering, and lists
| Property | Value | Support | Remark |
|---|---|---|---|
| content | |||
| normal | Yes | ||
| none | Yes | ||
| [ <string> | <uri> | <counter> | open-quote | close-quote | noopen-quote | no-close-quote | attr(X)]+ | Yes | Only <string> is supported. | |
| inherit | No | ||
| quotes | |||
| [<string> <string>]+ | No | ||
| none | No | ||
| inherit | No | ||
| counter-reset | |||
| [<identifier> <integer>?]+ | No | ||
| none | No | ||
| inherit | No | ||
| counter-increment | |||
| [<identifier> <integer>?]+ | No | ||
| none | No | ||
| inherit | No | ||
| marker-offset | |||
| <length> | No | ||
| list-style-type | |||
| disc | Yes | ||
| circle | Yes | ||
| square | Yes | ||
| decimal | Yes | ||
| decimal-leading-zero | Yes | ||
| lower-roman | Yes | ||
| upper-roman | Yes | ||
| lower-greek | No | ||
| lower-alpha | Yes | ||
| lower-latin | Yes | ||
| upper-alpha | Yes | ||
| upper-latin | Yes | ||
| hebrew | No | ||
| armenian | No | ||
| georgian | No | ||
| cjk-ideographic | No | ||
| hiragana | No | ||
| katakana | No | ||
| hiragana-iroha | No | ||
| katakana-iroha | No | ||
| none | Yes | ||
| inherit | Yes | ||
| list-style-image | |||
| <uri> | Yes | ||
| none | Yes | ||
| inherit | Yes | ||
| list-style-position | |||
| inside | Yes | ||
| outside | Yes | ||
| inherit | Yes | ||
| list-style | |||
| list-style-type' || 'list-style-position' || 'list-style-image' | Yes | ||
| inherit | Yes | ||
2.7 Paged media
| Property | Value | Support | Remark |
|---|---|---|---|
| page-break-before | (omitted) | No | |
| page-break-after | (omitted) | No | |
| page-break-inside | (omitted) | No | |
| orphans | (omitted) | No | |
| No | |||
| widows | (omitted) | No | |
| No |
2.8 Colors and Backgrounds
| Property | Value | Support | Remark |
|---|---|---|---|
| color | |||
| <color> | Yes | ||
| inherit | Yes | ||
| background-color | |||
| <color> | Yes | ||
| transparent | Yes | Not applied to 'frameset' elements, 'frame' elements, and 'iframe' elements. | |
| inherit | Yes | ||
| background-image | |||
| <uri> | Yes | In form controls, applied only to 'button' elements. | |
| none | Yes | In form controls, applied only to 'button' elements. | |
| inherit | Yes | In form controls, applied only to 'button' elements. | |
| background-repeat | |||
| repeat | Yes | Not applied to 'thead' elements, 'tfoot' elements, and 'tbody' elements. | |
| repeat-x | Yes | Not applied to 'thead' elements, 'tfoot' elements, and 'tbody' elements. | |
| repeat-y | Yes | Not applied to 'thead' elements, 'tfoot' elements, and 'tbody' elements. | |
| no-repeat | Yes | Not applied to 'thead' elements, 'tfoot' elements, and 'tbody' elements. | |
| inherit | Yes | Not applied to 'thead' elements, 'tfoot' elements, and 'tbody' elements. | |
| background-attachment | |||
| scroll | Yes | ||
| fixed | Yes | ||
| inherit | Yes | ||
| background-position | |||
| [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ]? ] | Yes | ||
| [ [ left | center | right ] || [ top | center | bottom ] ] | Yes | ||
| inherit | Yes | ||
| background | |||
| background-color' || 'background-image' || 'backgroundrepeat'|| 'background-attachment' || 'background-position' | Yes | In form controls, not applied to 'option' elements and 'select' elements. | |
| inherit | Yes | In form controls, not applied to 'option' elements and 'select' elements. | |
2.9 Fonts
| Property | Value | Support | Remark |
|---|---|---|---|
| font-family | |||
| [[<family-name> | <generic-family>],]* [<family-name> | <generic-family>] | No | Display does not change | |
| inherit | No | Display does not change | |
| font-style | |||
| normal | Yes | ||
| italic | No | Display does not change | |
| oblique | No | Display does not change | |
| inherit | Yes | ||
| font-variant | |||
| normal | Yes | ||
| small-caps | No | Display does not change | |
| inherit | No | Display does not change | |
| font-weight | |||
| normal | Yes | ||
| bold | No | Display does not change | |
| bolder | No | Display does not change | |
| lighter | No | Display does not change | |
| 100 | No | Display does not change | |
| 200 | No | Display does not change | |
| 300 | No | Display does not change | |
| 400 | No | Display does not change | |
| 500 | No | Display does not change | |
| 600 | No | Display does not change | |
| 700 | No | Display does not change | |
| 800 | No | Display does not change | |
| 900 | No | Display does not change | |
| inherit | No | Display does not change | |
| font-stretch | |||
| normal | Yes | ||
| wider | No | Display does not change | |
| narrower | No | Display does not change | |
| ultra-condensed | No | Display does not change | |
| extra-condensed | No | Display does not change | |
| condensed | No | Display does not change | |
| semi-condensed | No | Display does not change | |
| semi-expanded | No | Display does not change | |
| expanded | No | Display does not change | |
| extra-expanded | No | Display does not change | |
| ultra-expanded | No | Display does not change | |
| inherit | No | Display does not change | |
| font-size | |||
| <absolute-size> | Yes | ||
| <relative-size> | Yes | ||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| font-size-adjust | |||
| number | Yes | ||
| none | Yes | ||
| inherit | Yes | ||
| font | |||
| [ 'font-style' || 'font-variant' || 'font-weight' ]?'font-size' [ / 'lineheight']? 'font-family' | Yes | ||
| caption | No | ||
| icon | No | ||
| menu | No | ||
| message-box | No | ||
| small-caption | No | ||
| status-bar | No | ||
| inherit | No | ||
2.10 Text
| Property | Value | Support | Remark |
|---|---|---|---|
| text-indent | |||
| <length> | Yes | ||
| <percentage> | Yes | ||
| inherit | Yes | ||
| text-align | |||
| left | Yes | ||
| right | Yes | ||
| center | Yes | ||
| justify | No | ||
| <string> | No | ||
| inherit | Yes | ||
| text-decoration | |||
| underline || overline || line-through || blink | Yes | ||
| none | Yes | ||
| inherit | Yes | ||
| text-shadow | |||
| [<color> || <length> <length> <length>? ,]* [<color> || <length> <length> <length>?] |
No | ||
| none | Yes | ||
| inherit | Yes | ||
| letter-spacing | |||
| <length> | No | ||
| normal | Yes | ||
| inherit | No | ||
| word-spacing | |||
| <length> | No | ||
| normal | Yes | ||
| inherit | No | ||
| text-transform | |||
| capitalize | No | ||
| uppercase | No | ||
| lowercase | No | ||
| none | Yes | ||
| inherit | Yes | ||
| white-space | |||
| normal | Yes | ||
| pre | No | ||
| nowrap | Yes | ||
| inherit | Yes | ||
2.11 Tables
| Property | Value | Support | Remark |
|---|---|---|---|
| caption-side | |||
| top | Yes | ||
| bottom | Yes | ||
| inherit | Yes | ||
| table-layout | |||
| auto | Yes | ||
| fixed | Yes | Applied only to 'table' elements. When 'table-layout' property and 'width: auto' are specified at the same time, display is the same as when 'table-layout: auto' is specified. 'display: inline-table' is not supported. |
|
| inherit | Yes | When 'table-layout' property and 'width: auto' are specified at the same time, display is the same as when 'table-layout: auto' is specified. | |
| border-collapse | |||
| collapse | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution is not supported. |
|
| separate | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution is not supported. |
|
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| border-spacing | |||
| <length> <length>? | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| inherit | Yes | Not applied to 'colgroup' elements and form controls of 'input' elements, 'select' elements, 'option' elements, and 'textarea' elements. | |
| empty-cells | |||
| show | Yes | ||
| hide | Yes | ||
| inherit | Yes | ||
| speak-header | (omitted) | No | |
2.12 User Interface
| Property | Value | Support | Remark |
|---|---|---|---|
| cursor | |||
| [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help ] | Yes | ||
| auto | Yes | ||
| crosshair | Yes | ||
| default | Yes | ||
| pointer | Yes | ||
| move | Yes | ||
| e-resize | Yes | ||
| ne-resize | Yes | ||
| nw-resize | Yes | ||
| n-resize | Yes | ||
| se-resize | Yes | ||
| sw-resize | Yes | ||
| s-resize | Yes | ||
| w-resize | Yes | ||
| text | Yes | ||
| wait | Yes | ||
| help | Yes | ||
| progress | Yes | ||
| inherit | No | ||
| outline | |||
| outline-color' || 'outline-style' || 'outline-width' | Yes | ||
| inherit | Yes | ||
| outline-width | |||
| thin | Yes | ||
| medium | Yes | ||
| thick | Yes | ||
| <length> | Yes | ||
| inherit | Yes | ||
| outline-style | |||
| none | Yes | ||
| dotted | Yes | Graphics system dependent. | |
| dashed | No | Graphics system dependent. | |
| solid | Yes | Graphics system dependent. | |
| double | Yes | Graphics system dependent. | |
| groove | Yes | Graphics system dependent. | |
| ridge | Yes | Graphics system dependent. | |
| inset | No | Graphics system dependent. | |
| outset | Yes | Graphics system dependent. | |
| inherit | Yes | Graphics system dependent. | |
| outline-color | |||
| <color> | Yes | ||
| invert | No | ||
| inherit | Yes | ||
2.13 Aural style sheets
| Property | Value | Support | Remark |
|---|---|---|---|
| volume | (omitted) | No | |
| speak | (omitted) | No | |
| pause-before | (omitted) | No | |
| pause-after | (omitted) | No | |
| pause | (omitted) | No | |
| cue-before | (omitted) | No | |
| cue-after | (omitted) | No | |
| cue | (omitted) | No | |
| play-during | (omitted) | No | |
| azimuth | (omitted) | No | |
| elevation | (omitted) | No | |
| speech-rate | (omitted) | No | |
| voice-family | (omitted) | No | |
| pitch | (omitted) | No | |
| pitch-range | (omitted) | No | |
| stress | (omitted) | No | |
| richness | (omitted) | No | |
| speak-punctuation | (omitted) | No | |
| speak-numeral | (omitted) | No |

