Off by one error in linewrapping

VERIFIED INVALID

Status

()

Core
Serializers
P3
minor
VERIFIED INVALID
18 years ago
18 years ago

People

(Reporter: Daniel Bratell, Assigned: Akkana Peck)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
The line wrapper currently allows one character too much before line breaking. 
It can be seen in the tests where the following text are output when asking for 
a width of 70:

Here is a link to the mozilla.org <http://www.mozilla.org> page. Here
is some _underlined and *bold*ened_ified text plus some <angle bracket
entities>.

The first line is 70 characters. The second 71. Expected result is:

Here is a link to the mozilla.org <http://www.mozilla.org> page. Here
is some _underlined and *bold*ened_ified text plus some <angle
bracket entities>.

(Seen during testing on another bug when I wondered why my new code failed the 
test)
(Reporter)

Comment 1

18 years ago
There is someone here who can't count (and trust computer programs too much).

Closing as INVALID
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 2

18 years ago
verified in 6/9 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.