Bug 1600170 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Confirmed locally. This occurs because for some reason, specifying cols="5" (which is supposed to limit each line to 5 characters) ends up limiting to 6 characters on these systems:

`data:text/html,<textarea id="ta_wrapped" cols="5">hi hello my longfriend t sq t</textarea>

Observe that there is a line "longfr", which is 6 characters long. It should be "longf".

MDN notes that cols is specified in "average character widths". Because we're dealing with average here, I guess that could result in some edge cases. However, this seems to fail all the time for me:

`data:text/html,<textarea cols="5">testing testing</textarea>`
Observe "testin" instead of "testi".

Emilio, you're probably not the right person to ping about this, but would you have any idea who is?
Confirmed locally. This occurs because for some reason, specifying cols="5" (which is supposed to limit each line to 5 characters) ends up limiting to 6 characters on these systems:

`data:text/html,<textarea id="ta_wrapped" cols="5">hi hello my longfriend t sq t</textarea>`

Observe that there is a line "longfr", which is 6 characters long. It should be "longf".

MDN notes that cols is specified in "average character widths". Because we're dealing with average here, I guess that could result in some edge cases. However, this seems to fail all the time for me:

`data:text/html,<textarea cols="5">testing testing</textarea>`

Observe "testin" instead of "testi".

Emilio, you're probably not the right person to ping about this, but would you have any idea who is?

Back to Bug 1600170 Comment 2