Closed Bug 74051 Opened 25 years ago Closed 24 years ago

Can't get out of alignment <div>s, e.g. in lists

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 102754
mozilla0.9.6

People

(Reporter: sfraser_bugs, Assigned: mozeditor)

References

Details

(Whiteboard: EDITORBASE; 1 day;)

While inside a list item, I hit one of the alignment buttons, which puts me inside a <div align="Justify"> (what's with the Leading Upper Case on the attribute, Charley?). The problem now is that I'm trapped inside the <div>, and so hitting return never gives me a new list item, or drops me out of the list. In this situation, I should be able to click on the align button again to turn it off.
I'm not positive who's doing the initial upper case mangling, probably when attribute is set by DOM code. This problem sounds familiar, but I see no similar bug in jfrancis' list. Definitely should be fixed with other list work. Nominating for 0.9.1
Target Milestone: --- → mozilla0.9.1
i guess i need to give list items higher 'precedence' then divs in the rules. or at least higher than divs which have align attributes.
Status: NEW → ASSIGNED
Priority: -- → P3
i guess i need to give list items higher 'precedence' then divs in the rules. or at least higher than divs which have align attributes.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
the DIV is getting wrapped outside of the UL/OL -- not within the LI, so I cannot reproduce this scenario. marking as fixed A bug I will open against this is that when I enter/enter to get out of the list still keeps me in the DIV, I hit left align and instead of terminating the existing DIV, it nests a DIV with align=left
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Simon and I just walked thru the steps together, its still not fixed. you're still trapped in the DIV and can't get another list item.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I think some steps to reproduce this bug would be helpful. You won't see this bug if you use a list with only one item in it or if you have all the items in a list selected.
Steps: 1) launch netscape 2) launch composer 3) insert 3 list items: o ABC o DEF o GHI 4) insert caret into middle list item "DEF" 5) hit left align 6) hit return you're trapped inside the DIV, you can't propagate another list item
Keywords: nsBranch
Target Milestone: mozilla0.9.2 → mozilla0.9.3
user gets locked into the div reviewed and approved
talked with Joe, this can wait, the user must perform the align left in the list before you see this
Keywords: nsBranch
Target Milestone: mozilla0.9.3 → mozilla1.0
I can reproduce this behaviour in win98 build 2001082203. Changing Platform and OS to All
OS: Mac System 8.5 → All
Hardware: Macintosh → All
*** Bug 96348 has been marked as a duplicate of this bug. ***
096
Status: REOPENED → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9.6
Whiteboard: EDITORBASE; 1 day;
102754 is same bug; div's headers, etc; the song remains the same. *** This bug has been marked as a duplicate of 102754 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.