Closed Bug 97195 Opened 23 years ago Closed 23 years ago

changing paragraph formatting in a table, <br> tag added

Categories

(Core :: DOM: Editor, defect)

PowerPC
Mac System 8.6
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 85505

People

(Reporter: TucsonTester1, Assigned: Brade)

Details

Netscape 6.1 Preview Release 1 Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3+) Gecko/20010822 Netscape6/6.1b1 1. Open a blank Composer page for editing. 2. Click the Table button at the top of the Composer window. 3. In the Insert Table box, type 1 for Rows: and 1 for Columns, and click Ok. 4. Place your mouse pointer inside the cell that appears and click your mouse button one time only to get your cursor inside the cell. 5. Type "Paragraph Formatting Test" inside the cell. 6. Click the Save button at the top of the Composer window. 7. In the Page Title box that opens, type "Paragraph Formatting Test", and hit Enter or Return. 8. In the box that opens, choose Desktop from the location menu at the top, and hit Enter or Return. Your page will be saved to your desktop. 9. In the Composer window, Click the <HTML> Source tab at the bottom of the Composer window. 10. Look for the line "<td valign="Top">Paragraph Formatting Test<br>". 11. Observe the unnecessary <br> tag at the end of the line. This tag was inserted when the empty table was originally created. 12. Click the Normal tab at the bottom of the Composer window. 13. In the Composer window, click your mouse pointer at one end of the text you just entered, and holding your mouse button down, drag it across the text until all the text is highlighted. 14. With your mouse, click on the Dropdown Paragraph list and click on Heading 1. 15. Observe how the table changes visually. 16. Click the Save button at the top of the Composer page. 16. Click the <HTML> Source tab at the bottom of the Composer window. Look for the line "<h1>Paragraph Formatting Test</h1>" 17. Observe the <h1> tags are properly entered, and note the absence of the <br> tag. 18. Click the Preview tab at the bottom of the Composer window. 19. Click on the Normal tab at the bottom of the Composer window. 20. Observe the table now displayed properly. 21. Repeat steps 13 through 21 for each item in the Paragraph Formatting Menu. Result: The text within the table displays as if there is a <br> tag present. Reproducible on: This has been tested on Macintosh OS 8.6 only. Date: 8/24/01 Notes: Clicking on Preview and then back causes the table and text to be displayed properly. The table and text are both displayed properly in a browser regardless of whether or not the page is refreshed in Composer. Removing the text completely will cause Composer to insert another <br> tag to cause the table to keep it's form. This <br> tag will remain until it is removed manually or until the paragraph format is changed again.
Reporter, it appears you're using Netscape 6.1. Is that accurate? If so, you must report this problem via Netscape's own Bug Reporting Form ([http://help.netscape.com/forms/ bug-client.html]). I'm marking this INVALID for the time being. If you wish to retest using Mozilla 0.9.3 or a recent nightly and can reproduce the problem using one of them, then by all means reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Summary: When changing text style in a table using the Paragraph Formatting menu, The text within the table displays as if there is a <br> tag present. → When changing text style in a table using the Paragraph Formatting menu, The text within the table displays as if there is a <br> tag present.
verified. REOPEN if this happens in a more recent build. also provide a reduced test case.
Status: RESOLVED → VERIFIED
Re-checked on 8-28 build. Still Valid. Greg: This was tested on a QA build.
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
See bug 98421 for more.
This issue is because of the need to have <br> tags to make caret positioning possible. Dup #85505 *** This bug has been marked as a duplicate of 85505 ***
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → DUPLICATE
Summary: When changing text style in a table using the Paragraph Formatting menu, The text within the table displays as if there is a <br> tag present. → changing paragraph formatting in a table, <br> tag added
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.