Created attachment 186007 [details] Test case for this bug Load the testcase.html using Qt-4.8.4 demos/browser, And double click on text "xy", you will see "small" is wrongly selected highlighted. Reason: FontPlatformDataCacheKey doesn't contain m_smallCaps field, resulting in 2 RenderText elements sharing the same QFontPrivate objects.
Also reported to Qt: https://bugreports.qt-project.org/browse/QTBUG-29413
Created attachment 186008 [details] Patch targeted upon Qt-4.8.0 (our internal project uses this edition), should be easily migrated to Qt-4.8.4
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.