| Applies to | TEXT |
| Inheritance | true |
| Type of computed value | NIL |
| Functions |
element::setFontFamily() element::getFontFamilyStr() element::getFontFamily() |
| Syntax | normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | initial | inherit |
| Initial value | normal |
| Applies to | TEXT |
| Inheritance | true |
| Type of computed value | UINT |
| Functions |
element::setFontWeight() element::getFontWeightStr() element::getFontWeight() |
| normal | Keyword. |
| bold | Keyword. |
| bolder | Keyword. |
| lighter | Keyword. |
| 100 | Keyword. |
| 200 | Keyword. |
| 300 | Keyword. |
| 400 | Keyword. |
| 500 | Keyword. |
| 600 | Keyword. |
| 700 | Keyword. |
| 800 | Keyword. |
| 900 | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | ultra-condensed | extra-condensed | condensed | semi-condensed | normal | semi-expanded | expanded | extra-expanded | ultra-expanded | initial | inherit |
| Initial value | normal |
| Applies to | TEXT |
| Inheritance | true |
| Type of computed value | UINT |
| Functions |
element::setFontStretch() element::getFontStretchStr() element::getFontStretch() |
| ultra-condensed | Keyword. |
| extra-condensed | Keyword. |
| condensed | Keyword. |
| semi-condensed | Keyword. |
| normal | Keyword. |
| semi-expanded | Keyword. |
| expanded | Keyword. |
| extra-expanded | Keyword. |
| ultra-expanded | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | xx-small | x-small | small | medium | large | x-large | xx-large | larger | smaller | <length> | initial | inherit |
| Initial value | medium |
| Applies to | TEXT |
| Inheritance | true |
| Type of computed value | UINT |
| Functions |
element::setFontSize() element::getFontSizeStr() element::getFontSize() |
| <length> | A length value. |
| xx-small | Keyword. |
| x-small | Keyword. |
| small | Keyword. |
| medium | Keyword. |
| large | Keyword. |
| x-large | Keyword. |
| xx-large | Keyword. |
| larger | Keyword. |
| smaller | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |
| Syntax | normal | italic | oblique | initial | inherit |
| Initial value | normal |
| Applies to | TEXT |
| Inheritance | true |
| Type of computed value | UINT |
| Functions |
element::setFontStyle() element::getFontStyleStr() element::getFontStyle() |
| normal | Keyword. |
| italic | Keyword. |
| oblique | Keyword. |
| initial | Keyword. Sets the property to its initial value. |
| inherit | Keyword. Inherits the value from the parent element. |