WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 11004
Bug 15086
Proper rendering of CSS em units breaks at em < 1 for all but fonts.
https://bugs.webkit.org/show_bug.cgi?id=15086
Summary
Proper rendering of CSS em units breaks at em < 1 for all but fonts.
Darryl McAdams
Reported
2007-08-26 21:26:16 PDT
Given a style: #foo { width: 10em; height: 10em; } The corresponding element will render its width as 10em for all font-sizes that compute out to >=1px, but as 10px for all font-sizes that compute out to <1px. If the font-size is set to 10px, the element foo renders to be 100px wide/high, etc. but if font size is set to 0.5px, the element remains at 10px wide/high. However fonts themselves are rendered appropriately.
Attachments
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2007-08-27 02:44:22 PDT
Currently WebKit enforces a minimum font size of 1.
Robert Blaut
Comment 2
2008-02-09 16:09:23 PST
The bug is related to
bug 11004
Frances Cornwall
Comment 3
2024-05-22 14:22:56 PDT
*** This bug has been marked as a duplicate of
bug 11004
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug