Open
Bug 520617
Opened 15 years ago
Updated 2 years ago
Word-wrap: break-word does not break long strings in XUL
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: nate, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Firefox 3.5 has implemented the word-wrap:break-word CSS property. As described here:
https://developer.mozilla.org/en/CSS/Word-wrap
However, this does not seem to work within XUL.
Reproducible: Always
Steps to Reproduce:
<vbox style="max-width:150px; background:gold; word-wrap:break-word;">
http://thisIsAVeryLongUrlThatShouldBreakWithWordWrapBreakWordButDoesNot.com/
</vbox>
Actual Results:
The url remains on one line, running outside of the desired 150px max-width.
Expected Results:
It should break the url so that the vbox stays at a max of 150px
Comment 1•15 years ago
|
||
I've repro'd the above in 3.6.3. break-word also does not work on a <td> element.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•