diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-18 12:59:14 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-18 13:07:53 (GMT) |
commit | e8ac2b958d92319da7c725f0c30f8ba5fe06497b (patch) | |
tree | bb3c2748ee8db5639c14dcbbdc6f9c269f5414e0 /doc/src | |
parent | 3c40b1af35319f1fd1b10c97b954adff3abbe9b0 (diff) | |
download | Qt-e8ac2b958d92319da7c725f0c30f8ba5fe06497b.zip Qt-e8ac2b958d92319da7c725f0c30f8ba5fe06497b.tar.gz Qt-e8ac2b958d92319da7c725f0c30f8ba5fe06497b.tar.bz2 |
QCss: font-family handle fallback font specs
if one specify more than one parameter in font-family,
e.g., font-family: Verdana, Arial
Qt should fallback on the second font if the first cannot be found.
QFont::setFamily handle the case when the family name contains a comas,
so we do not need to handle that specially in the css parser code.
Task-number: 252311
Reviewed-by: Thomas Zander
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/stylesheet.qdoc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/src/stylesheet.qdoc b/doc/src/stylesheet.qdoc index c0d13da..f895918 100644 --- a/doc/src/stylesheet.qdoc +++ b/doc/src/stylesheet.qdoc @@ -1872,10 +1872,6 @@ \snippet doc/src/snippets/code/doc_src_stylesheet.qdoc 54 - \note If you specify more than one parameter in \c font-family, - e.g., \c{font-family: Verdana, Arial}, Qt will only use the first - font. If it cannot be found, Qt uses the system fallbacks instead. - \row \o \c font-size \o \l{#Font Size}{Font Size} |