Closed Bug 163839 Opened 22 years ago Closed 18 years ago

Cannot place caret into list item if list's structure is invalid

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: glazou, Assigned: mjudge)

References

()

Details

win2k build 20020820

1. launch composer
2. open URL attached above ; the list is invalid since the LI has no enclosing
   UL/OL
3. try placing the caret in the list item

   Expected result 1 : the caret is in the list item
   Actual result 1   : caret is invisible

4. type a char

   Expected result 2 : one char in the list item
   Actual result 2   : one char below the list item

Since this kind of standalone is alas quite common on the web, I think this bug
is valid and should be fixed.
-->jfrancis for triage
Assignee: kin → jfrancis
Keywords: nsbeta1
If it's a question of initial placement when clicking, that would make this a
selection bug. --> mjudge
Assignee: jfrancis → mjudge
i'll look at it first.  I'll pass it off to mike if I can't fix it from editor.
Assignee: mjudge → jfrancis
Target Milestone: --- → M1
hmm.  There *is* a <br> in the <li>, and yet clicking there doesn't put the
caret in the <li>.  This is indeed a selection issue.  Handing off to mjudge.
Assignee: jfrancis → mjudge
Target Milestone: M1 → mozilla1.2alpha
adt: nsbeta1-
Keywords: nsbeta1nsbeta1-
Blocks: caretnav
This was fixed by the patch for bug 316281.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.