Opera Presto offers partial support for the CSS3 Text Module. Please note that support is offered for properties and values from CSS 2.1.
For your reference, each property in the following data table is hyperlinked to its place in the online W3C CSS3 Text module webpage.
| Property | Values | Description | Support |
|---|---|---|---|
hanging-punctuation
|
none | [ start || end || end-edge ]
|
This property determines whether a punctuation mark, if one is present, may be placed outside the line box at the start or at the end of a full line of text. | No |
letter-spacing
|
<spacing-limit>{1,3}
|
This property specifies the minimum, maximum, and optimal spacing between grapheme clusters.
|
Yes |
punctuation-trim
|
none | [start || end || adjacent]
|
This property determines whether or not a fullwidth punctuation character should be trimmed (kerned) if it appears at the start or end of a line, or adjacent to another fullwidth punctuation character. | No |
text-align
|
start | end | left | right | center | justify | <string>
|
This property describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box. | Yes |
text-align-last
|
start | end | left | right | center | justify
|
This property describes how the last line of a block or a line right before a forced line break is aligned when "text-align" is set to "justify". | No |
text-emphasis
|
none | [ [ accent | dot | circle | disc] [ before | after ]? ]
|
This property applies emphasis formatting applied to text. | No |
text-indent
|
[ <length> | <percentage> ] hanging?
|
This property specifies the indentation applied to lines of inline content in a block. | Yes |
text-justify
|
auto | inter-word | inter-ideograph | inter-cluster | distribute | kashida | tibetan
|
This property selects the justification method used when "text-align" is set to 'justify'. | No |
text-outline
|
none | [ <color> <length> <length>? | <length> <length>? <color> ]
|
This property specifies a text outline where the first length represents the outline's thickness and the second represents an optional blur radius. | No |
text-overflow
|
clip | ellipsis | <string>
|
This is the shorthand property for text-overflow-mode and text-overflow-ellipsis. It allows the
author to introduce a visual hint at the two ending boundaries of the text flow within the element box (after and end).
Opera supports the use of the ellipsis value on multi-line blocks.
|
Yes |
text-overflow-ellipsis
|
[<ellipsis-end> | <uri> [, <ellipsis-after> | <uri>]?]
|
This property controls the values of the hint characters presented at the box boundaries. | Yes |
text-overflow-mode
|
clip | ellipsis | ellipsis-word
|
This property controls the presentation of hint characters. | Yes |
text-shadow
|
none | [<shadow>, ] * <shadow>
|
This property accepts a comma-separated list of shadow effects to be applied to the text of the element. | Yes |
text-wrap
|
normal | unrestricted | none | suppress
|
This property specifies the mode for text wrapping. | No |
white-space-collapse
|
preserve | collapse | preserve-breaks | discard
|
This property declares whether and how white space inside the element is collapsed. | No |
word-break
|
normal | keep-all | loose | break-strict | break-all
|
This property specifies what set of line breaking restrictions are in effect within the element. | No |
word-spacing
|
<spacing-limit> {1,3}
|
This property specifies the minimum, maximum, and optimal spacing between words | Yes |
word-wrap
|
normal | break-word
|
This property specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box. | Yes |
Need help? Hit F1 anytime while using Opera to access our online help files, or go here.