[Webkit-unassigned] [Bug 47157] CSS 2.1 failure: background-position-001, background-position-002

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 8 13:08:33 PST 2011


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





--- Comment #4 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-01-08 13:08:33 PST ---
Ah, the culprit is:

        // Use the maximum of either width or height because "x" is nearly square
        // and web pages that foolishly use this metric for width will be laid out
        // poorly if we return an accurate height. Classic case is Times 13 point,
        // which has an "x" that is 7x6 pixels.
        m_xHeight = static_cast<float>(max(CGRectGetMaxX(xBox), -CGRectGetMinY(xBox)));

Maybe we should make an exception for the Ahem font?

-- 
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