Closed Bug 357527 Opened 20 years ago Closed 2 years ago

[reflow branch] Abs. pos. <select> is too narrow if <option> have ::first-letter

Categories

(Core :: Layout: Form Controls, defect)

Other Branch
x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

(Keywords: regression, testcase, Whiteboard: [first letter])

Attachments

(2 files)

[reflow branch] Abs. pos. <select> is too narrow if <option> have ::first-letter Loading the testcase gives the following warning: WARNING: Letter(0) frame didn't implement GetPrefWidth: file nsFrame.cpp, line 2846
Attached file Testcase #1 —
Attached file Testcase #2 —
This testcase also warns about GetMinWidth: WARNING: Letter(-1) frame didn't implement GetMinWidth: file nsFrame.cpp, line 2832
Yep, it needs to implement them. And probably the inline forms as well. (Probably needs both, for floating vs. non-floating.)
(But note that the inline forms need some major changes -- probably after merging with roc's inline reflow patch, which will make those changes easier -- and I'd rather make those first before adding new implementations.)
Blocks: 357531
Severity: normal → S3

The warning mentioned in comment 0 should no longer be an issue, since nsFirstLetterFrame intrinsic widths were implemented long ago; and remaining intrinsic-width issues with first-letter were just resolved in bug 385615. So I think this is WFM at this point.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: