Open
Bug 367745
Opened 19 years ago
Updated 3 years ago
Text decorations don't work in multiline <xul:label>s
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: neil, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
|
240 bytes,
application/vnd.mozilla.xul+xml
|
Details |
<xul:label>s without a value attribute display their content as HTML.
However setting text-decoration on the label doesn't affect the rendering.
At roc's request I breakpointed on DisplayLine in nsBlockFrame.cpp and traced the excution through nsHTMLContainerFrame::DisplayTextDecorations into nsHTMLContainerFrame::GetTextDecorations which bails out early because the label doesn't have a block or table display style.
| Reporter | ||
Comment 1•19 years ago
|
||
Tip: Open this with -chrome to minimise frame construction.
Comment 2•19 years ago
|
||
Ah, a multiline label gets an nsAreaFrame, right?
Could wait till after inline-block lands and see whether that has the same issues? The fix should be about the same, I'd think.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•