Attributes should honour -moz-pre-wrap

RESOLVED INVALID

Status

()

Core
CSS Parsing and Computation
RESOLVED INVALID
15 years ago
15 years ago

People

(Reporter: Ian Neal, Assigned: dbaron)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
As far as I can see currently attributes such as title do not honour a style of
-moz-pre-wrap which means ones with long text cannot be made to wrap.
(Assignee)

Comment 1

15 years ago
Attributes shouldn't honor -moz-pre-wrap.  I'm not sure what you meant to file,
but this isn't it.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
(Assignee)

Comment 2

15 years ago
This was filed based on comments in bug 67127.  I think what you want is
-moz-pre-wrap somewhere in the XBL, plus a specified max-width coming from some
source that you need to figure out.
(Reporter)

Comment 3

15 years ago
so doing 
<xul:label class="tooltip-label" xbl:inherits="value=label" style="whitespace:
-moz-pre-wrap; max-width: 64em;" flex="1"/>
should work?
(Assignee)

Comment 4

15 years ago
That depends on the XBL binding for label and whether whatever it expands into
(a text box?) supports -moz-pre-wrap.
You need to log in before you can comment on or make changes to this bug.