[Webkit-unassigned] [Bug 21327] New: @font-face: <length>'s specified in 'ex' units are ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 2 23:13:30 PDT 2008


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

           Summary: @font-face: <length>'s specified in 'ex' units are
                    ignored
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://dev.l-c-n.com/css3/font-face/ex-ahem_a.html
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phiw at l-c-n.com


... and defaults to the initial values.

For a block that uses a font loaded through @font-face, properties whose length
values are specified in 'ex' are reset to their initial values.

Properties affected (or tested so far…):
padding, margin, line-height, border, -webkit-border-radius, webkit-box-shadow,
text-shadow, width/height (does strange things, sometimes the width is '0'),
letter-spacing, word-spacing.

test case (requires Ahem installed):
http://dev.l-c-n.com/css3/font-face/ex-ahem_a.html

In the linked test case, within each grey block: the first red line uses
@font-face, the second line uses the installed copy of Ahem. Both red lines
should be identical.

Note, the most recent Minefield nightly builds (Gecko .9.1b1pre) with
@font-face enabled, appear to use the font-metrics of the fall back font.


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