Open
Bug 1496361
Opened 7 years ago
Updated 3 years ago
Dynamic title attribute doesn't fit box
Categories
(Toolkit :: UI Widgets, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: Medvedevmichel, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Steps to reproduce:
Create any element with title attribute. Access it with javascript and edit it's title attribute with long enought text.
Actual results:
title is filled with actual text, but when hovered and titlebox appears, it's text content doesn't fit box size.
Expected results:
title text should wrap and increase titlebox height
Comment 1•7 years ago
|
||
Could you please give a more concrete example? How long is "long enough"?
What do you mean by the text content doesn't fit the box size? Is the text cut off?
Flags: needinfo?(Medvedevmichel)
| Reporter | ||
Comment 2•7 years ago
|
||
https://codepen.io/M1kEk1M/pen/PdgdNe
You can try this one. Content doesn't fit the box size and box cuts text off.
Flags: needinfo?(Medvedevmichel)
Comment 3•7 years ago
|
||
I'm not seeing anything being cut on Linux.
Comment 4•7 years ago
|
||
But tooltips are really browser UI thingie so -> toolkit.
Component: DOM → General
Product: Core → Toolkit
| Reporter | ||
Comment 5•7 years ago
|
||
For me it appears on win10 x64.
I also known that it appears on Ubuntu 18.
Updated•7 years ago
|
Component: General → XUL Widgets
Comment 6•7 years ago
|
||
Tooltips have a maximum width, so this testcase is just expecting some form of intra-word line breaking to occur.
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•