Closed Bug 1934 Opened 26 years ago Closed 26 years ago

first-letter and line-height

Categories

(Core :: Layout, defect, P2)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

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.
Status: NEW → ASSIGNED
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.
Setting all current Open/Normal to M4.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
THis test page now layouts properly; the issue with the odd line-height has been resolved and repaired.
QA Contact: 4144
petersen as QA contact
Fixed. Tested in Apprunner with Mac (March 9th Build) and Windows NT, Win 95 (March 8th Build).
QA Contact: 4144 → 4110
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.