Closed Bug 98428 Opened 23 years ago Closed 23 years ago

Clicking on the alignment buttons (center, left, right) adds in div tags each time

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 76752

People

(Reporter: TucsonTester2, Assigned: glazou)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.3+) Gecko/20010903 Netscape6/6.1b1 BuildID: 20010903 In composer if you press the alignment buttons multiple times a number of <div> tags are added to the html. This even happens in a brand new window without any text or images. Reproducible: Always Steps to Reproduce: 1.Open composer 2.Click on the right alignment button on the toolbar 3-5 times 3.Switch to the html source view Actual Results: Everytime that you click on the alignment button you will see that a div tag is added. This is uneccessary, only one tag should be added per object or line. Expected Results: I would expect that I could only use the alignment button one time and that would be enough to apply the changes.
This bug is invalid but I'm sending it over to glazman since he's redoing the alignment stuff (I think).
Assignee: brade → glazman
Status: UNCONFIRMED → NEW
Ever confirmed: true
Here is a different way to produce the same result: 1.Open Composer 2.Type: 1 3.Click on the center alignment button on the toolbar 4.Click the indent button on the toolbar 5.Click on the left alignment button on the toolbar 6.Click on the outdent button on the toolbar Actual Results: The div tags are added again. If you repeat steps 4-6 a few times you will see that the div tags will continue to be added. Expected Results: I would expect only one div tag.
*** This bug has been marked as a duplicate of 76752 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.