When you create a new line in a list, formatting is preserved from the previous line even if it was disabled first.

NEW
Unassigned

Status

()

Core
Editor
12 years ago
11 years ago

People

(Reporter: scotty_web-form-use, Unassigned)

Tracking

({helpwanted})

Trunk
helpwanted
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When you create a new line in a bullet-point structure, formatting is peserved
from the previous line even if it was disabled first.

Reproducible: Always

Steps to Reproduce:
1. In the compose window, start a bullet list.
2. Type a line of text, leaving the end of the line with some formatting (e.g.
bold, underline, etc.)
3. Clear the toolbar icon for all formatting, and hit [ENTER] to make a new line.

Actual Results:  
The formatting reappeared when I started typing.

Expected Results:  
Thunderbird should have left the text on the new line unformatted

Using Windows® XP Tablet PC Edition 2005 (w/ SP2).

Comment 1

12 years ago
Reproducible with Mozilla 1.8b1 and SeaMonkey/20050909, with Composer and the
Mail Compose window.

Comment 2

12 years ago
This applies to numbered and bulleted lists.  Symptom is present in NVu 1.0, so 
this is a general editor bug.

A look at the source of the edited text hints at what's going on.  When you've 
got a list item active, say (** = bold   | = cursor)
  - *abc*|
the source appears as
  <ul><li><b>abc<br></b></li>
                ~~~~
That <br> means that the end of the bolded span is not where the cursor is; 
there is some extra reformatting that happens when you <enter> at the end of a 
line in a list.  I've tried removing the <br> but it doesn't disappear that 
easily.

Possibly related: bug 205350, bug 209144
Assignee: mscott → mozeditor
Status: UNCONFIRMED → NEW
Component: Message Compose Window → Editor
Ever confirmed: true
OS: Windows XP → All
Product: Thunderbird → Core
Hardware: PC → All
Summary: When you create a new line in a bullet-point structure, formatting is peserved from the previous line even if it was disabled first. → When you create a new line in a list, formatting is preserved from the previous line even if it was disabled first.
Version: unspecified → Trunk
Keywords: helpwanted
QA Contact: editor
Assignee: mozeditor → nobody
You need to log in before you can comment on or make changes to this bug.