Closed Bug 247815 Opened 20 years ago Closed 19 years ago

Thread Previews on vBulletin sites are being Truncated

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 45375

People

(Reporter: ocean, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9

Sites running vBulletin 3.0/3.01 allow Thread Previews, which come up as Toolbar
Tips, when you hover the mouse over a Thread Title.  Typically, these are
configured in vB for 300 characters.

However, where you will get the full Preview Text if you're using Internet
Explorer - if you're using FireFox 0.9, you get a single truncated line (around
86 characters).


You can see this for yourself on this site:  

http://www.vbulletin.com/forum/forumdisplay.php?f=55
 



Reproducible: Always
Steps to Reproduce:
1.  Go to http://www.vbulletin.com/forum/forumdisplay.php?f=55
2.  Hover your mouse over a few of the Thread Titles (one at a time) in Internet
Explorer.  Notice how much of the messages you see.
3.  Now do the same thing using FireFox

Actual Results:  
You get the Message Preview as a single truncated line.

Expected Results:  
You should see the entire Preview (typically set to 300 characters, which should
show you multiple lines of text).
Same issue in Mozilla 1.7.
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: firefox.general → general
Version: unspecified → Trunk
There are 2 linefeeds in the source of the following example. Mozilla shows them
as some black box, continues in the same line with "Any 3.0.2 plans?" and
replaces the rest "  ;)" with "..."
The title is shown on hovering, I tested this by editing it.

From the thread 3.0.2??:

<td class="alt1Active" id="t107762" title="Fixes in bug tracker starting to
mount up again (excludes impex stuff).

Any 3.0.2 plans?  ;)">
The HTML4 spec (if I'm reading it right) says that, since titles are CDATA, 
linefeeds should be ignored and carriage returns (and tabs) replaced by single 
spaces.

See:
<http://www.w3.org/TR/html4/sgml/dtd.html#coreattrs> - title is of type %Text
<http://www.w3.org/TR/html4/sgml/dtd.html#Text> - %Text is "CDATA"
<http://www.w3.org/TR/html4/types.html#type-cdata> - what UAs must do with CDATA.

So this seems to say that we shouldn't be taking heed of formatting within the
title attribute.
this is a duplicate of bug 45375
(In reply to comment #4)
> this is a duplicate of bug 45375

probably also duplicate of bug 67127

If newlines worked then it would probably not need trimmed.
Product: Browser → Seamonkey
Until Bugzilla lets us dupe a bug to two bugs :-) choosing one.  No reason for
this to sit UNCO when there's a valid dupe.

*** This bug has been marked as a duplicate of 45375 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.