Back to the index.
Here are the tests for the Text and Text Decoration modules.
This is the desktop table. See also the mobile table.
Last major update on 23 February 2013.
Here are a few common font declarations. Eventually I’m going to do full font tests, at which time they’ll be moved to the Fonts compatibility table.
| Declaration | IE7 | IE8 | IE9 | IE10 | FF 19 Win | FF 19 Mac | Safari 6.0.2 Mac | Chrome 25 Win | Chrome 25 Mac | Yandex 1.5 Mac | Opera 12.14 Win | Opera 12.14 Mac | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Italic | Yes | Yes | Yes | Yes | Yes | ||||||||||||||
| Small-caps | Yes | Yes | Yes | Yes | Yes | ||||||||||||||
| Bold, in several flavours | Basic | Yes | Basic | Yes | Yes | Basic | Yes | Basic | |||||||||||
normal and bold, even though it has a font with more than two weights installed. |
|||||||||||||||||||
| Declaration | IE7 | IE8 | IE9 | IE10 | FF 19 Win | FF 19 Mac | Safari 6.0.2 Mac | Chrome 25 Win | Chrome 25 Mac | Yandex 1.5 Mac | Opera 12.14 Win | Opera 12.14 Mac | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Yes | Almost | Yes | Yes | Almost | |||||||||||||||
blink. Yes, this is a value judgement. Also, there are some differences between the supporting browsers. Have fun. |
|||||||||||||||||||
| Prefixed | No | Yes | No | No | No | ||||||||||||||
| Create a text-shadow. | No | Yes | Yes | Yes | Yes | Yes | |||||||||||||
| almost | Yes | almost | almost | almost | |||||||||||||||
full-width. |
|||||||||||||||||||
| Declaration | IE7 | IE8 | IE9 | IE10 | FF 19 Win | FF 19 Mac | Safari 6.0.2 Mac | Chrome 25 Win | Chrome 25 Mac | Yandex 1.5 Mac | Opera 12.14 Win | Opera 12.14 Mac | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| To align the text left, center, or right | Incom |
Yes | Yes | Yes | Incom |
||||||||||||||
start and end.No browser supports |
|||||||||||||||||||
| To align the last line of text. Prefixed | No | Yes | No | No | No | ||||||||||||||
| Incom |
No | No | No | No | |||||||||||||||
|
IE7 and up support |
|||||||||||||||||||
| Declaration | IE7 | IE8 | IE9 | IE10 | FF 19 Win | FF 19 Mac | Safari 6.0.2 Mac | Chrome 25 Win | Chrome 25 Mac | Yandex 1.5 Mac | Opera 12.14 Win | Opera 12.14 Mac | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Yes | Yes | Yes | Yes | Yes | |||||||||||||||
|
I read, but did not test, that there are sub-pixel bugs in at least IE9 and lower. |
|||||||||||||||||||
| To set the size of the tabs | No | -moz- | No | Yes | -o- | ||||||||||||||
| Incom |
Yes | Yes | Yes | Yes | Yes | ||||||||||||||
The |
|||||||||||||||||||
| To remove text wrapping or to make an element behave like a pre | Incom |
Yes | Yes | Yes | Yes | Yes | |||||||||||||
|
|||||||||||||||||||
| Yes | Yes | Yes | Yes | Yes | |||||||||||||||
|
No browser supports percentages. |
|||||||||||||||||||
| Declaration | IE7 | IE8 | IE9 | IE10 | FF 19 Win | FF 19 Mac | Safari 6.0.2 Mac | Chrome 25 Win | Chrome 25 Mac | Yandex 1.5 Mac | Opera 12.14 Win | Opera 12.14 Mac | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| To hyphenate a text Prefixed | No | Yes | Yes | Yes | Incom |
No | |||||||||||||
none but not auto. |
|||||||||||||||||||
| No | No | No | Yes | No | Yes | ||||||||||||||
| Yes | Yes | Yes | Yes | Yes | |||||||||||||||
The following properties are not supported by any browser.
There are no tests for line-break, word-break, text-underline-position, and text-emphasis because they only apply to East Asian languages, which I can’t read.
The most common example text is this one:
The quick brown fox jumped over the lazy dog. Oh, how that fox jumped, quick and brown, while the dog never reacted because he was so very lazy.
In some tests I use a Dutch example text, because Dutch, like German, allows for unlimited word concatenation (even though it gets a bit silly after 25 or so characters).
Though a bit contrived, the example is valid Dutch, and it contains “Rijksluchtvaartdienstweerschepenpersoneel ” — the word I was taught as a child is the longest in Dutch.
Het onderafdelingshoofd Rijksluchtvaartdienstweerschepenpersoneel verontschuldigde zich voor de commissievergadering over de gereviseerde gelijkheidsbeginselencirculaire.
Dit geschiedde uit hoofde van zijn medeverantwoordelijkheid voor de functieomschrijvingswijzigingsproblematiek.