[Webkit-unassigned] [Bug 20720] New: element b or strong, font-weight:bolder double processed with fonts with multiple weights

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 8 05:53:50 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20720

           Summary: element b or strong, font-weight:bolder double processed
                    with fonts with multiple weights
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phiw at l-c-n.com


STR:
1. in the stylesheet: span, b, strong {font-weight:bolder}; p
{font-family:Optima; }
2. put a paragraph with either a <b> or <strong> element

AR: the bold or strong element uses 'Optima ExtraBold'
ER: the bold or strong element uses 'Optima Bold'

It is as if the author stylesheet doesn't override the UA stylesheet, but/and
processes the font-weight:bolder twice. According to the WebKit inspector, the
font-weight computes to '800' instead of '700'.

Requirement: fonts that have more than one bold face, such as Optima on OS X.
Safari 3.1 processes this 'correctly' because it didn't handle multiple
font-weights (added in bug 6484).

Gecko 1.9.0+ handles this correctly


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list