Closed
Bug 497344
Opened 15 years ago
Closed 7 years ago
The "Subject" is wrapping the last word to a new line on the Yahoo! Finance Message Board
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1242781
People
(Reporter: bkwrdsk, Unassigned)
References
()
Details
(Keywords: regression, Whiteboard: [platform-rel-Yahoo!])
Attachments
(4 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b99) Gecko/20090605 Firefox/3.5b99 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b99) Gecko/20090605 Firefox/3.5b99 (.NET CLR 3.5.30729) For some reason the last word of the "Subject" is wrapped to a new line. This occurs when viewing the Message Board for a stock in "List as Individual Messages" mode but not in "List in Topics" mode. This causes each message to take two lines instead of one. Reproducible: Always Steps to Reproduce: 1. Go to http://finance.yahoo.com/ 2. Under the "Home" tab, enter a ticker symbol (QQQQ) and press the "Get Quotes" button. 3. Once the quote page is displayed, click the "Message Board" link in the left-side navigation to display the Message Board. 4. When the Message Board is displayed it should be in "List in Topics" mode. 5. Click the "List as Individual Messages" link. 6. The message board is now displayed in "List as Individual Messages" mode. 7. Notice that the last word of every "Subject" line is wrapped to a new line even if it will fit on one line. Actual Results: The last word of every "Subject" line is wrapped to a new line even if it will fit on one line. Expected Results: The Subject should occupy a single line and the last word should not wrap. The display was correct in Firefox 2, however I noticed the problem started happening in Firefox 3.0 and is still happening in the 3.5beta.
Internet Explorer 6 and 7 display properly. I haven't tested in Safari, Opera, Chrome, or any other browsers.
Comment 2•14 years ago
|
||
Reporter, are you still seeing this issue with Firefox 3.6.11 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-11-15]
(In reply to comment #2) > Reporter, are you still seeing this issue with Firefox 3.6.11 or later in safe > mode? If not, please close. These links can help you in your testing. > http://support.mozilla.com/kb/Safe+Mode > http://support.mozilla.com/kb/Managing+profiles Yes. The problem is still happening in Firefox 3.6.11. I tested in safe mode. Here's a test link http://messages.finance.yahoo.com/ETFs_%28A_to_Z%29/ETFs_P/messagesview?bn=110798 I'm also attaching a screen capture (firefox-wrapping-in-yahoo.jpg) with Firefox on top and Chrome on the bottom. Notice the first "Subject" is "RE: YOU CAN beat the machine. How?" If Firefox, the word "How?" wraps to a second line while Chrome doesn't wrap it. Note that the content at the link will be different than the content in my screen capture. Thanks
Comment 5•14 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
(In reply to comment #5) > No reply, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new > profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to > see this issue with the newest firefox and a new profile, then please comment > on this bug. Yes. The problem still exists with Firefox 3.6.12 with a new profile.
Updated•14 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Whiteboard: [CLOSEME 2010-11-15]
Version: unspecified → 3.6 Branch
Comment 7•13 years ago
|
||
Reporter -> Are you still experiencing this issue with the latest version of Firefox 5? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
Yes. The problem still exists with Firefox 5.0. I'm attaching a new screenshot showing the difference between Firefox and Chrome. Chrome is not wrapping the last word. Thanks.
Firefox 5.0 still wrapping the last word in the Subject to a new line. Other browsers, including Chrome, IE, and Safari display properly and do not wrap the last word.
Comment 10•13 years ago
|
||
I am not able to reproduce the issue. It displays correctly for me in 3.6.18 and Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110625 Firefox/7.0a1 ID:20110625030743 Does the issue still occur with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic+Troubleshooting#Make_a_new_profile
Version: 3.6 Branch → 5 Branch
Reporter | ||
Comment 11•13 years ago
|
||
Yes. I confirmed on a different machine with a fresh install of Firefox 5.0. Wiped out all profiles. Make sure you are on the "List as Individual Messages" view, NOT the "List in Topics" view. Try this link. http://messages.finance.yahoo.com/Stocks_%28A_to_Z%29/Stocks_A/messagesview?bn=60 Then compare to Chrome.
Reporter | ||
Comment 12•13 years ago
|
||
Please add a screen capture attachment so I can see what you are getting. Then I can describe the problem to you. Thanks
Comment 13•13 years ago
|
||
I do see the issue now... Relevant HTML code: <span style="clear: none; float: left; margin: 0px; padding: 0px 2px;"> <a class="syslink" href="http://messages.finance.yahoo.com/Stocks_%28A_to_Z%29/Stocks_A/threadview?m=tm&bn=60&tid=3329992&mid=3330000&tof=1&frt=2" title="Re: )) SHORTED 298,000 SHARES LAST WEEK (("> <span class="user-href">Re: )) SHORTED 298,000 SHARES LAST WEEK ((</span></a> <span class="user-data"><br></span> <span class="system-user"></span> </span> If I remove the style from the span (Change <span style="clear: none; float: left; margin: 0px; padding: 0px 2px;"> to <span style="">) the issue is resolved. This looks like it might be a TE bug.
Version: 5 Branch → Trunk
Updated•13 years ago
|
Whiteboard: TE?
Comment 14•13 years ago
|
||
Tim: Can you compare with other browsers ? (I hope that they get the same code)
Comment 15•13 years ago
|
||
Still an issue with latest nightly - Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110818 Firefox/9.0a1 ID:20110818030747 No wrap in Chrome No wrap in Safari No wrap in IE9 No wrap in Opera 11 All on Win XP Also an issue on SeaMonkey - so kicking to Core
Product: Firefox → Core
QA Contact: general → general
Version: Trunk → 9 Branch
Comment 16•13 years ago
|
||
This bug could really use a minimalish testcase... at first glance, the table cell is just ending up not wide enough for the text, but it's hard to tell why given all the markup on the page...
Keywords: qawanted,
testcase-wanted
Comment 17•13 years ago
|
||
Cut it down a ton, including all style sheets
Comment 18•13 years ago
|
||
Tim, thank you! That was a _lot_ easier to work with than the original page.
Comment 19•13 years ago
|
||
The obvious issue here is that the div ends up just a tiny bit too narrow for its content. Furthermore, the problem goes away in quirks mode, so it has to do with the standards-mode weirdness with <br> reporting a 1-appunit width from Reflow(), unsurprisingly. Note that the intrinsic width stuff on <br> does NOT report that 1-appunit bit. The question is why the <span> around the <br> matters... This presumably regressed with the reflow branch, given the regression appeared first in Firefox 3.
Blocks: reflow-refactor
Status: UNCONFIRMED → NEW
Component: General → Layout: Block and Inline
Ever confirmed: true
QA Contact: general → layout.block-and-inline
Whiteboard: TE?
Comment 20•13 years ago
|
||
Also of interest is why the last word wraps. I can understand why the <span> with the br in it wraps: it's not fitting on the line, since the <span> has a 1-appunit width due to the <br>. But the block width is certainly sufficient for the text. And if I replace the text with a sequence of inline-blocks, the last inline-block does NOT wrap (and it doesn't matter whether I have spaces between them, etc, etc). In fact, even if I just wrap an inline-block around the last word of the text the wrapping doesn't happen, which suggests that somehow the <span><br></span> is being treated as part of the last word, even though there is a space before it. Or something. roc, David, Mats, any idea what nsLineLayout is doing here?
Reporter | ||
Comment 21•11 years ago
|
||
This bug can be closed. Yahoo has redesigned their finance message board so this bug is no longer relevant.
Comment 22•11 years ago
|
||
That may be, but (given comment 19 & comment 20) it sounds like there's still a bug, which we have a reduced testcase for. So, worth leaving open to track that issue (though it's still good to know that it's no longer breaking Yahoo's layout).
Comment 23•8 years ago
|
||
User Agent Mozilla/5.0 (Windows NT 5.1; rv:49.0) Gecko/20100101 Firefox/49.0 Build ID 20160519030232 This is still reproducible on latest Nightly (49.0a1). I've tested with the reduced testcase provided in comment 18.
Version: 9 Branch → Trunk
Updated•8 years ago
|
platform-rel: --- → ?
Updated•8 years ago
|
Whiteboard: [platform-rel-Yahoo!]
Updated•7 years ago
|
platform-rel: ? → ---
Comment 24•7 years ago
|
||
This is fixed in Nightly. "mozregression --find-fix" tells me it was fixed by bug 1242781 (which makes sense, since the reduced testcase here has a <br> and unexpected wrapping, which is what bug 1242781 is also about)
Status: NEW → RESOLVED
Closed: 14 years ago → 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•