[Webkit-unassigned] [Bug 114359] New: [Qt] If the first font-family of the list is not known, the others are ignored
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 10 08:16:32 PDT 2013
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
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: misterk72 at free.fr
Created an attachment (id=197270)
--> (https://bugs.webkit.org/attachment.cgi?id=197270&action=review)
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list