Closed Bug 606606 Opened 14 years ago Closed 14 years ago

Text inside <panel type="arrow"/> isn't wrapped

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mounir, Assigned: mounir)

References

Details

Attachments

(1 file)

With regular <panel/>, if a textNode is set (directly on the panel or inside a  <description/>) in addition of a max-width property, the text is wrapped.
If you change <panel/> to <panel type="arrow"/>, the text isn't wrapped anymore.

On Linux, given that the arrow isn't shown, max-width is working but not the wrapping. On MacOS and Windows, because of the arrow, max-width is even ignored.

You can test that with "invalid-form-popup" panel in browser.xul.
Component: General → XP Toolkit/Widgets: XUL
QA Contact: general → xptoolkit.xul
Attached patch WIP PatchSplinter Review
This is fixing the issue on GNU/Linux. I have to check on a platform supporting the arrow if there are no side effects.
Assignee: nobody → mounir.lamouri
So there are no side effects but this is not fixing the issue on Mac :(
It is but when converting from <panel/> to <panel type='arrow'/> we are loosing orient="vertical" and we need to set the max-width on the <description/> inside the panel instead of the panel itself.

It was confusing for a non-XUL dev like me :)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Moving to Core:XUL per https://bugzilla.mozilla.org/show_bug.cgi?id=1455336
Component: XP Toolkit/Widgets: XUL → XUL
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: