WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
96571
[Qt] Text is displayed incorrectly if font-variant is small-caps and letter-spacing is nonzero
https://bugs.webkit.org/show_bug.cgi?id=96571
Summary
[Qt] Text is displayed incorrectly if font-variant is small-caps and letter-s...
Jānis Lībeks
Reported
2012-09-12 15:31:23 PDT
Created
attachment 163719
[details]
When viewed in qtWebKit The following html code, when viewed in qtWebKit (using fancybrowser example in Qt 4.7.4), produces a different output than when viewed in Chrome or other browsers. It seems that when small-caps is set, letter-spacing is ignored everywhere except in between a capital and smallercase letter. <html><head></head><body> <p style="font-variant:small-caps; letter-spacing: .3em;">This is a test of small-caps and letter-spacing.</p> </body></html>
Attachments
When viewed in qtWebKit
(5.13 KB, image/png)
2012-09-12 15:31 PDT
,
Jānis Lībeks
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jānis Lībeks
Comment 1
2012-09-12 15:41:35 PDT
This is how the text appears in Chrome: <a href="
http://imgur.com/jLYTk
"><img src="
http://i.imgur.com/jLYTk.png
" title="Hosted by imgur.com" alt="" /></a> This is the same html as it appears in qtWebKit: <a href="
http://imgur.com/RmHxM
"><img src="
http://i.imgur.com/RmHxM.png?1
" title="Hosted by imgur.com" alt="" /></a>
Pierre Rossi
Comment 2
2012-10-26 07:37:22 PDT
This works fine in Trunk these days. Closing this bug now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug