Open Bug 1496361 Opened 7 years ago Updated 3 years ago

Dynamic title attribute doesn't fit box

Categories

(Toolkit :: UI Widgets, defect, P3)

62 Branch
defect

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
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)
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)
I'm not seeing anything being cut on Linux.
But tooltips are really browser UI thingie so -> toolkit.
Component: DOM → General
Product: Core → Toolkit
For me it appears on win10 x64. I also known that it appears on Ubuntu 18.
Component: General → XUL Widgets
Tooltips have a maximum width, so this testcase is just expecting some form of intra-word line breaking to occur.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.