Closed Bug 264862 Opened 20 years ago Closed 20 years ago

Tooltips truncated and newline chars not working with them.

Categories

(Firefox :: General, defect)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 218223

People

(Reporter: monzol, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

When we use the title='Some text here' in HTML tags, and the text is longer than
85 or something chars, then it gets truncated. Also, when trying to use newline
chars(\n) in the tooltip, it doesn't seem to work. It would be very useful to
have this feature working properly. Sometimes it's good to have longer texts
there, even though the user needs to mouseover it multiple times to be able to
read it. Wrappig text using the newline char, or automatic wrapping would also
be useful. Internet Explorer has all these things working properly! We have
applications relying on these features. (Try the link given above and click on
London in the MyWeather section, then mouseover the wind speed and direction
icon, if it's there already, if not, it'll be there in a few days:-). Or you can
test it with any code)

Reproducible: Always
Steps to Reproduce:
1. Use the TITLE attribute in any compatible HTML tag, like <a>, <img> or <td>
and put some text in it that at least 100 chars long or even longer.
2. Display the document in your Firefox browser.
3. Move your mouse over the element you used the TITLE for.

Actual Results:  
The tooltip text is not displayed in full but truncated after a certain length.
New line chars are also not working, text not wrapped.

Expected Results:  
Display the tooltip in full length and also, apply newline chars when included.
When no newline chars used and the text is too long, then automatic wrapping
should be applied. This feature is useful when we have lack of space on the page
but additional info need to be displayed. Otherwise we need to use JavaScript
layers which take more bytes when downloading.

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