Closed Bug 228100 Opened 21 years ago Closed 21 years ago

Attributes should honour -moz-pre-wrap

Categories

(Core :: CSS Parsing and Computation, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: iannbugzilla, Assigned: dbaron)

References

Details

As far as I can see currently attributes such as title do not honour a style of -moz-pre-wrap which means ones with long text cannot be made to wrap.
Attributes shouldn't honor -moz-pre-wrap. I'm not sure what you meant to file, but this isn't it.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
This was filed based on comments in bug 67127. I think what you want is -moz-pre-wrap somewhere in the XBL, plus a specified max-width coming from some source that you need to figure out.
so doing <xul:label class="tooltip-label" xbl:inherits="value=label" style="whitespace: -moz-pre-wrap; max-width: 64em;" flex="1"/> should work?
That depends on the XBL binding for label and whether whatever it expands into (a text box?) supports -moz-pre-wrap.
You need to log in before you can comment on or make changes to this bug.