Req #55725 [Opn]: Allow wider textareas.
| From: | rquadling@php.net | Date: | Mon, 19 Sep 2011 12:45:38 +0000 |
| Subject: | Req #55725 [Opn]: Allow wider textareas. | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-12223@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55725&edit=1
ID: 55725
Updated by: rquadling@php.net
Reported by: rquadling@php.net
Summary: Allow wider textareas.
Status: Open
Type: Feature/Change Request
Package: Website problem
Operating System: N/A
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Ah, I see.
Allowing for wider textareas, only partially fixes the problem.
I don't know the solution here but I'd say that wrapping should be done soft/virtual in
the browser and that's it. No wrapping at any other stage. At least not in code. Hopefully the
browser will wrap the text under it's normal rules.
When displayed, don't use <pre>, except for the "Test script", "Expected
Result" and "Actual Result". And no wrapping.
The next issue comes from emails. I still think that the wrapping here should be handled by the
reader.
When it comes to emailing, I'm not sure. Do any of the modern readers automatically wrap long
lines?
OOI. Using the JS Console for Google Chrome, I set this textarea's wrap property to virtual -
it was physical. Virtual SHOULD mean that only the line breaks I manually put in will be
transmitted. The others, for example, the one that exists BEFORE the word "that"
won't be present.
We'll see when I press submit.
Previous Comments:
------------------------------------------------------------------------
[2011-09-19 12:23:14] bjori@php.net
Are you sure the patch will work?
We do wordwrap() in some cases too.. (which actually has a different bug, the
preview page and the final text do not wrap in the same way.
------------------------------------------------------------------------
[2011-09-19 11:42:19] rquadling@php.net
The following patch has been added/updated:
Patch Name: wider_textareas.patch
Revision: 1316432539
URL: https://bugs.php.net/patch-display.php?bug=55725&patch=wider_textareas.patch&revision=1316432539
------------------------------------------------------------------------
[2011-09-19 11:42:04] rquadling@php.net
Description:
------------
The line below is autogenerated from the "Report a bug" link in the documentation.
---
From manual page: http://www.php.net/function.filepro-rowcount#refsect1-
function.filepro-rowcount-seealso
---
Depending upon the browser, the line wrapping goes a little wonky sometimes
(Google Chrome).
The attached patch allows for wider textareas.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55725&edit=1