Closed Bug 3918 Opened 26 years ago Closed 26 years ago

Width of small-caps text elements based on non-small-caps text

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: buster)

References

()

Details

The width of (possibly anonymous) blocks of text that has been set to small-caps is calculated using the non small caps size. For example, the following text: <SPAN style="font-variant: small-caps; border: solid;"> Some Funky Text </SPAN> ...would render a box with some apparent padding befpre the right hand side border edge. This is because the width of the box is calculated using the font-size of the non small-caps text, and then the text is drawn small-caps. On the test page, the problem shows up as: a. Funky spacing in the links under the header. b. A big space between the first header and the "--" text. c. Strange looking wrapping on the second header (if the window is narrow enough).
Assignee: troy → kipp
Reassigning to Kipp as I believe he has been working on the inline model.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed. The code was somehow (always!) wrong. A simple fix. Thanks for the good catch!
Status: RESOLVED → VERIFIED
Works fine. Verified using 1999-03-23 Win32 build.
You need to log in before you can comment on or make changes to this bug.