CSS3 Text Module support in Opera Presto 2.12

W3C reference
W3C CSS3 Text Module
Opera articles
CSS text shadows and background sizing
Beautiful UI styling with CSS3 text-shadow, box-shadow, and border-radius

Opera Presto offers partial support for the CSS3 Text Module. Please note that support is offered for properties and values from CSS 2.1.

Properties

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.
  • Note: A grapheme cluster is what a language user considers to be a character or a basic unit of the script. The term is described in detail in the Unicode Technical Report: Text Boundaries [UAX29].
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 | -o-ellipsis-lastline* | <string> This is the shorthand property for text-overflow-mode. 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.
* If text spans more than one line, the -o-ellipsis-lastline value can be specified. As the name suggests this will add an ellipsis to the last line of visible text. The ellipsis-lastline value is currently not in any specifications so must be used with the -o- prefix.
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

Documentation

Opera Help

Need help? Hit F1 anytime while using Opera to access our online help files, or go here.