Closed
Bug 1934
Opened 26 years ago
Closed 26 years ago
first-letter and line-height
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: jeff, Assigned: buster)
References
()
Details
Setting :first-letter to a larger font size (specifically, 3em in this case)
causes the line-height of the first line of a paragraph to be set differently
from the rest of the paragraph. Since this pseudo-class was essentially
designed for drop caps, it makes the feature unusable from a design
perspective.
To achieve drop-caps you need to set the property "float: left;" as per the CSS2
spec. Note that gecko doesn't yet support this (I already have an open bug on
that problem).
However, I'm leaving the bug open because your test demonstrates another
problem with a scrogged line-height.
THis test page now layouts properly; the issue with the odd line-height has been
resolved and repaired.
Updated•26 years ago
|
QA Contact: 4144
Comment 4•26 years ago
|
||
petersen as QA contact
Comment 5•26 years ago
|
||
Fixed. Tested in Apprunner with Mac (March 9th Build) and Windows NT, Win 95
(March 8th Build).
Updated•26 years ago
|
QA Contact: 4144 → 4110
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•