Closed Bug 98762 Opened 23 years ago Closed 23 years ago

Can't remove a line that is listed

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: sjarrettsprague, Assigned: mozeditor)

Details

Attachments

(1 file)

Have tried to use composer to create lists eg.

1. line 1
2. line 2
3. line 3

I am having difficulty trying to remove a line I currently have an email saved
which has the structure


1. text
2. text
3. text

1.

I cant remove the second 1. If I click on the add/remove numbered list I get

1.
    1.

There seems to be no way of removing it.
reassign to editor backend
Assignee: ducarroz → brade
Component: Composition → Editor
Product: MailNews → Browser
QA Contact: sheelar → sujay
Having found the format menu and looking in list the line with a 1. in it has a
. against none, indicating it is not a list item, though it clearly has a one
against it. 
-->jfrancis
Assignee: brade → jfrancis
please attach the html source for your testcase.  Otherwise this is a WORKSFORME.
This is what I see in the e-mail message from S A Jarrett-Sprague:

<html>
<head>
</head>
<body>
<font face="Helvetica, foo, sans-serif">Hi<br>
<br>
<br>
<big><font face="Times New Roman, Times, serif">This is the email with the
strange list I can't delete. What I expect should happen is I should be on
line 1. or 2. and clicking on the apply or remove bullet item should delete
the item.<br>
<br>
<font face="Helvetica, foo, sans-serif">Th</font><font face="Helvetica, foo, 
sans-serif">
is is arial</font></font></big><big><br>
<br>
</big></font><big><font face="Times New Roman, Times, serif"><font face="Times 
New Roman, Times, serif">
This is times</font><br>
<br>
</font></big><font face="Courier New, Courier, monospace"><big>This is courier</
big></font><br>
<br>
<br>
   This is a list<br>
<ol>
  <li>no 1</li>
  <li>no 2</li>
  <li><br>
  </li>
</ol>
   This is another list<br>
<ol>
  <li>e</li>
  <li>3</li>
  <li><br>
  </li>
</ol>
<ol>
  <li><br>
  </li>
  <li><br>
    <br>
    <br>
    <br>
    <br>
    <br>
  </li>
</ol>
</body>
</html>


Bug Reporter--could you please describe how you got to this point?  Are you able 
to recreate in Composer with an empty page?
It works as designed.  He is only having trouble with the last list item, I bet.  
That's because it looks empty, but is not. It contains a bunch of breaks.

There may be a real bug here somewhere - for instance, there may be a bug that is 
leaving too many br's behind when deleting things in list items that caused him 
to get into this state.  But given this state, the list behavior is working as 
intended.  This is so you can make another list inside a list tiem if you have 
other block seperators (like a <p>, or a <br>, etc) in it.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Verified
Status: RESOLVED → VERIFIED
I can get the same problem in composer, am sending html example.
Attached file deleting list items
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: