Open
Bug 404427
Opened 17 years ago
Updated 2 years ago
for description elements, crop only works if you use the value attribute
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
NEW
People
(Reporter: moco, Unassigned)
References
()
Details
Attachments
(2 files)
for description elements, crop only works if you use the value attribute <description style="max-width: 20px" crop="end" value="this one uses value"/> <description style="max-width: 20px" crop="end">this one does not use value</description> test case and screen shot coming
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Comment 2•17 years ago
|
||
Comment 3•17 years ago
|
||
Isn't that supposed to be a feature, not a bug? I thought that was the point of the third and fourth lines of the docs you linked to: if you want a single line, with cropped overflow, you use @value, if you want wrapping to multiple lines you use the element content.
Reporter | ||
Comment 4•17 years ago
|
||
hmm, good point phil. Perhaps I could indicate what I'm ultimately trying to do: <description style="max-width: 30px" crop="end">this <label style="font-weight: bold">is a</label> test</description> (this is for bug #399664)
Comment 5•17 years ago
|
||
Phil is correct; I don't think we have anything that can achieve the effect that Seth is looking for. I think the best you can do is to override the (min-)width of the description so that it overflows its container.
Comment 6•17 years ago
|
||
Sounds like you actually want bug 312156 to be implemented.
Reporter | ||
Comment 7•17 years ago
|
||
> Sounds like you actually want bug 312156 to be implemented.
Yes, that sounds like it would work. Any idea what that might involve?
Separate from having that, could description be made to do what I want?
Updated•16 years ago
|
Assignee: jag → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•