Closed Bug 135767 Opened 22 years ago Closed 22 years ago

Invalidation/Renumbering problems when moving list items to sub-list

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: kinmoz, Assigned: kinmoz)

References

()

Details

(Keywords: testcase, topembed)

Load the following test case from bug 110940 (JS Test Case 2):

    http://bugzilla.mozilla.org/attachment.cgi?id=77291&action=view

If you continually press the toggle button, you should see all the list items 
containing "bbb" indent/outdent, and all the numbers on the list renumber 
properly.

What actually happens now is that on Indent, the numbers for all of the sub-list 
items are all zero, and the list item containing "ccc" has the wrong number:

   1. aaa
      0. bbb
      0. bbb
      ...
      0. bbb
      0. bbb
  14. ccc

It should look like this:


   1. aaa
      1. bbb
      2. bbb
      ...
     11. bbb
     12. bbb
   2. ccc

Even worst, if you outdent, you get:


   1. aaa





  14. ccc

Note that a look at the content in memory shows that the content tree is correct 
in both cases, we are just failing to reflow/invalidate things properly.
Changing Priority to P2.
Priority: -- → P2
Keywords: testcase
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2alpha
nsbeta1+
Keywords: nsbeta1+
WFM: Using current trunk build on Win2K and Linux.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Target Milestone: mozilla1.2alpha → Future
batch: adding topembed per Gecko2 document
http://rocknroll.mcom.com/users/marek/publish/Gecko/Gecko2Tasks.html
Keywords: topembed
Blocks: grouper
You need to log in before you can comment on or make changes to this bug.