From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4+) Gecko/20010924
if you look down on the page i mentioned and find the text 'cvs update -D date',
and play with the width of the page so that that text is at the end of the line,
it doesn't flow to the next line as expected but goes out-of-view.
in the HTML it is <nobr>'d, which probably accounts for this behaviour.
Steps to Reproduce:
1. go to url
2. seek 'cvs update -D date' just below 'The tree is on fire...'
3. play with width of window so that 'cvd update' is @ end-of-line
4. see 'cvs update -D date' disappear
Actual Results: couldn't read 'cvs update -D date'
Expected Results: wrapped the text to the next line, so that the text would
actually be *readable*.
<nobr> is _supposed_ to make text not wrap...
Marking invalid. Reopen if there is a good reason we should be wrapping here in
spite of the <nobr> tag
i guess you either misunderstood, or my description may be a bit vague:
<nobr> should make text not wrap, agree, but the <nobr>'d text AS A WHOLE should
stay visible as long as possible, and therefore, wrap.
suppose you've got the following HTML-fragment:
a b c d e <nobr>f g h i j</nobr> k l m n o p
that should be rendered as such:
| a b c d e |
| f g h i j k l |
| m n o p |
| a b c d e f g h i j
| k l m n o p |
i hope this futile attempt at ascii-art makes my point a bit clearer. :)
Created attachment 50784 [details]
see the 'cvs update -D date' disappear from the page in this png
reopening per reporter's comments. My apologies for the misunderstanding.
Marking these all WORKSFORME sorry about lack of response but were very
overloaded here. Only reopen the bug if you can reproduce with the following steps:
1) Download the latest nightly (or 0.9.6 which should be out RSN)
2) Create a new profile
3) test the bug again
If it still occurs go ahead and reopen the bug. Again sorry about no response
were quite overloaded here and understaffed.
No, this is a valid bug.
Mrten, is it possible that you could create a *reduced* testcase here that
demonstrates the bug? It would be helpful so we can track down the buggy code.
Created attachment 62970 [details]
it is difficult to reproduce the problem. i tried replacing the text with
repeated occurences of 'text ', but then it would not reproduce. it seems that
the source-formatting is important to reproduce (weird?), but i have not
identified a pattern yet.
see bug 139429 for a simple testcase
*** Bug 139429 has been marked as a duplicate of this bug. ***
Created attachment 81159 [details]
Testcase from dupe
The last testcase (with a <nobr> written past the end of a <td>) makes me think
this is a table bug. Bernd, can you confirm?
Created attachment 82924 [details]
the reflow log for attachment 81159 [details] shows that this is a linelayout issue not
computing the maxElementSize (MES) correctly. So Hwaara please keep your layout
bugs away from html-table there are already enough bugs. But Waterson gets
really started when he reads the acronym MES :-)
Created attachment 83034 [details]
Another pic showing problem
This is screenshot is taken from
Showing the same problem as in attachment 81159 [details]. But the code in this site is
not using NOBR at all.
Maybe my last comment is bug 117365?
I'm also seeing this bug on:
Mozilla 1.0: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0)
I'm attaching some test HTML and a low-quality jpeg of the page redering in
Mozilla and MSIE
Created attachment 87079 [details]
Created attachment 87080 [details]
Yet another pic showing problem
This shows the rendering of the sample by msie (on the left) and mozilla (on
the right). Sorry if these pics are unnecessary.
->B&I, as bernd says this is a line layout problem.
As a real-life example see:
The languages in the yellow box at the top of the screen are each wrapped in
their own individual <nobr></nobr>... but they shouldn't be overwriting each
other. There is real space between each </nobr> and the next <nobr>.
Bug 278891 has one simple example without tables, and one with.
Seems to be a dup of this bug.
Created attachment 198761 [details]
Test cases with and without tables from Bug 278891
We’re having problem using NOBR with Firefox 1.0.6 (Mizolla 5.0), Netscape 7.1 (Mozilla/5.0 ) and Netscape 8.1. Somehow if the line is too long, it won’t automatically wrapped. As a result, the line is truncated. We’ve created a reduced test case that demonstrates the problem. For instance, with the snippet below (in red border), the last couple cells, “Categorization Spider” and “Autocategorization” were truncated.
<td style="border: 4px solid red">Browse Folders,Search Folders,Maintain Content,<nobr>My Content Status,</nobr><nobr>Unpublish Content,</nobr><nobr>Categorization Spider,</nobr>Autocategorization
Without NOBR, Firefox/Netscape have no problem inserting linebreaks to handle the long runs content. This is not a problem in IE.
Below is the complete test case, please see “$$$$ NOBR Problem!!!!” and “$$$$ No problem - since there is no nobr”.
Is it the a dup of 101565? Any info on this will be greatly appreciated
<!-- End Pagelet=PAPP_SITE_MANAGER_HOMEPAGE --></td>
<td width="33%" valign="top"><!-- Begin Pagelet=PAPP_CONTENT_MANAGER_HOMEPAGE --><!-- PageletState=MAX -->
<table id="PAPP_CONTENT_MANAGER_HOMEPAGE" class="PTPAGELET" width="100%" cellpadding="0" cellspacing="0" border="1">
<td valign="top" height="100%" width="100%" style="border: 2px solid green !Added by JWONG4">
<table cellspacing="0" cellpadding="3" height="100%" border="0" width="100%">
<td valign="top" height="100%" width="100%" class="EOPP_SCSECTIONFOLDER">
<table cellspacing="0" border="0" width="100%" cellpadding="0" style="border: 2px solid blue !Added by JWONG4">
<td valign="top"><a target="_parent" title="Edit and review the spider crawled content."></a></td>
<td valign="top" width="100%"><a target="_parent" title="Edit and review the spider crawled content.">Categorized Content</a></td>
<td valign="top"> </td>
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border: 2px solid green !Added by JWONG4">
<td width="100%" style="border: 2px solid purple !Added by JWONG4">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<!--- $$$$ NOBR Problem!!!! -->
<td style="border: 4px solid red !Added by JWONG4">Browse Folders,Search Folders,Maintain Content,<nobr>My Content Status,</nobr><nobr>Unpublish Content,</nobr><nobr>Categorization Spider,</nobr>Autocategorization
<!--- $$$$ No problem - since there is no nobr -->
<td style="border: 2px solid green !Added by JWONG4">Browse Folders,Search Folders,Maintain Content,My Content Status,Unpublish Content,Categorization Spider,Autocategorization
This bug has been for open longer than 5 years. I'm still seeing it in firefox 1.5.
(In reply to comment #17)
> attachment (id=87079)  testcase
despite the checkins to blocking Bug 191699, "unbroken text goes hereshould_be_on_next_line" doesn't go on next line.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061116 Minefield/3.0a1
I have been responsible for investigating a very closely related bug and creating a workaround for it over at the English Wikipedia. This is bug seems to be very closely related to [[Bug 225946]] and [[Bug 278891]] (those are two reports of the same nowrap bug) and many of the other bugs that turn up when I search for "nowrap" here.
Since it might be of help, here is our how-to guide about it at Wikipedia and a link to more info about it at the talk page:
Note, that guide is about handling line wrapping in general but those two links are directly to the sections about this Firefox bug.
The bug is still visible on my Firefox 18.104.22.168 on a WinME. ( Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:22.214.171.124) Gecko/20071025 Firefox/126.96.36.199 )
This bug as filed is worksforme on trunk.... I bet the textrun changes fixed it.
Note that some of the testcases are about slightly different issues. Probably the result of overly aggressive dup-marking.
Yeah, this is worksforme too, using:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008060207 Minefield/3.0pre
I'm marking this bug worksforme. If someone is still seeing issues with one of the testcases in this bug (I couldn't really see any), please file a new bug for that.
Remember, this is fixed on trunk (Firefox 3), not Firefox 2.