Closed Bug 690026 Opened 13 years ago Closed 12 years ago

Specified widths not respected for multiline tooltips

Categories

(Firefox :: General, defect)

6 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: mozilla, Unassigned)

Details

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.
Please provide a public URL or reduced test case that exhibits this issue.
Ian -> Please address comment 1
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
Closed: 12 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.