Note: There are a few cases of duplicates in user autocompletion which are being worked on.

stop treating floating first letter frames as floats

NEW
Unassigned

Status

()

Core
Layout: Block and Inline
11 years ago
11 years ago

People

(Reporter: dbaron, Unassigned)

Tracking

({css1, css3})

Trunk
css1, css3
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
We should stop treating floating ::first-letter frames as floats using our standard float code.  I think the designers of CSS (in this case, Håkon Lie) intended floating first-letter to be "like a float" but not "exactly a float".

We should:
 * make floating :first-letter participate in inline layout
 * use the bounding metrics of the glyph(s) to size the frame
 * give it a special hard-coded 'vertical-align' (probably roughly 'text-top')
 * make it not participate in line-height calculations
 * mark the space as occupied in the space manager
You need to log in before you can comment on or make changes to this bug.