RESOLVED INVALID114359
[Qt] If the first font-family of the list is not known, the others are ignored
https://bugs.webkit.org/show_bug.cgi?id=114359
Summary [Qt] If the first font-family of the list is not known, the others are ignored
Christophe Kassabji
Reported 2013-04-10 08:14:47 PDT
Created attachment 197270 [details] Layout test case Consider the following examples: font-family: ThisFontIsInvalid, monospace and font-family: monospace, ThisFontIsInvalid They should both display the text using the monospace font. In QtWebKit 4.8.0 and 4.8.4, the first example displays the text incorrectly using the system default font and the second example displays the text using monospace font. The problem doesn't occur with the demo browser provided with QtWebKit 5.0.1. I attach a layout test case that highlights the issue. I used the offsetWidth property of inline <p> elements to determine whether the font used for the two paragraphs is the same, if there is a more elegant solution it is welcome.
Attachments
Layout test case (877 bytes, text/html)
2013-04-10 08:14 PDT, Christophe Kassabji
no flags
Jocelyn Turcotte
Comment 1 2014-02-03 03:25:39 PST
=== 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.
Note You need to log in before you can comment on or make changes to this bug.