Specified widths not respected for multiline tooltips

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
7 years ago
7 years ago

People

(Reporter: mozilla, Unassigned)

Tracking

6 Branch
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110811165603

Steps to reproduce:

Create a long tooltip containing newline characters
Specify a maximum width that should crop the tooltip, using CSS is a convenient way
Add styles such as overflow or a crop attribute if desired


Actual results:

The tooltip text is not cropped, clipped, or adjusted using an ellipsis.  It fills the screen width before clipping any text with no indication that it is cropped.


Expected results:

The tooltip should be no wider than the max-width specified in CSS or the maxwidth attribute.  It should respect the settings for the crop attribute, the overflow style, and (FF7 onwards) in the text-overflow style.

If the white-space style is set to nowrap then the tooltip is forced to a single line and all these settings work. If there are no newline characters then I think the settings are respected although it can be quite difficult to decipher the correct height, width , and cropping behaviour.

Comment 1

7 years ago
Please provide a public URL or reduced test case that exhibits this issue.

Comment 2

7 years ago
Ian -> Please address comment 1

Comment 3

7 years ago
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site -> https://support.mozilla.com/en-US/kb/ask
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.