Closed Bug 488695 Opened 15 years ago Closed 15 years ago

regression text no longer getting wrapped in <pre> block with -moz-pre-wrap -o-pre-wrap white-space properties

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: oldmanuk, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090401 Ubuntu/9.04 (jaunty) Shiretoko/3.5b4pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090330 Ubuntu/9.04 (jaunty) Minefield/3.6a1pre

originally reported downstream to ubuntu at https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/326129

The long paragraph comment on the merge text on launchpad doesn't get word-wrapped into the div when using firefox-3.5 or firefox-3.6. This is a regression from firefox-3.0 on which this worked correctly.

Have linked to the reduced test case at http://launchpadlibrarian.net/25017026/3432.html which highlights the issue.

Reproducible: Always

Steps to Reproduce:
1.Load http://launchpadlibrarian.net/25017026/3432.html on firefox-3.0
2.Load http://launchpadlibrarian.net/25017026/3432.html on firefox-3.6

Actual Results:  
Compare output (wrapped on 3.0, unwrapped on 3.6)

Expected Results:  
Output should match with text wrapped on both firefoxes.
Thanks for reporting.

This is no bug. Since Firefox 3.0 the CSS 2.1 standardized pre-wrap value is available. Support for -moz-pre-wrap was thus dropped from Firefox 3.1 in bug 433065.

If it's necessary to keep compatible to Firefox versions prior to 3.0, please use both values, e.g.:

white-space: -moz-pre-wrap;
white-space: pre-wrap;
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.