#11376 closed defect (fixed)
Ticket description textarea doesn't wrap on whitespace in IE11
Reported by: | Ryan J Ollos | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.6 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | iexplorer11 |
Cc: | Branch: | ||
Release Notes: |
Fix not wrapping the text inside ticket description textarea in IE 11 |
||
API Changes: | |||
Internal Changes: |
Description (last modified by )
In IE11, the text inside the ticket description textarea doesn't wrap on whitespace.
The issue was raised on the mailing list.
Attachments (1)
Change History (11)
by , 11 years ago
Attachment: | TicketDescriptionTextAreaInIE11.png added |
---|
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
follow-ups: 3 4 comment:2 by , 11 years ago
Keywords: | iexplorer11 added |
---|
comment:3 by , 11 years ago
Replying to jomae:
Workaround is here.
Confirmed workaround by adding:
textarea { white-space: pre-wrap; }
to local site css.
comment:4 by , 11 years ago
Milestone: | next-stable-1.0.x → 1.0.2 |
---|
Replying to jomae:
Or removing
white-space: nowrap
in#properties
, but I don't understand need of thenowrap
.
I don't understand why it is needed either. The rule can be traced all the back to [280#file1], so it seems rather likely that it has no purpose and still exists because it failed to cause any issues until now.
comment:6 by , 11 years ago
Milestone: | 1.0.2 → 0.12.6 |
---|
… or maybe we should fix it for 0.12.6 as well?
Yeah, we should fix for 0.12.6.
comment:7 by , 11 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
I've verified the patch in comment:3 with Firefox 26, Google Chrome 32 beta and IE 8-11. It would be fixed the same issue even if a plugin use white-space: nowrap
in other places.
-
trac/htdocs/css/trac.css
68 68 69 69 /* Forms */ 70 70 input, textarea, select { margin: 2px } 71 /* Avoid to inherit white-space of its parent element for IE 11, #11376 */ 72 textarea { white-space: pre-wrap } 71 73 input, select { vertical-align: middle } 72 74 input[type=button], input[type=submit], input[type=reset] { 73 75 background: #eee;
comment:8 by , 11 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Applied into 0.12-stable and merged into 1.0-stable and trunk in [12334-12336].
comment:9 by , 10 years ago
Component: | general → ticket system |
---|
In IE11, the textarea in
<fieldset id="properties">
refers#properties { white-space: nowrap; ... }
in ticket.css. It's not known why….Workaround is here.
trac/htdocs/css/ticket.css
Or removing
white-space: nowrap
in#properties
, but I don't understand need of thenowrap
.