Closed
Bug 17059
Opened 25 years ago
Closed 25 years ago
spacing between lines doesn't revert back after style change
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
M14
People
(Reporter: sujay, Assigned: mozeditor)
Details
(Whiteboard: [PDT-])
using 10/22 build of apprunner. 1) launch apprunner 2) launch editor 3) enter some text on more than one line for example: sadfasdfasdf sadfasdfasd asdfasdfasfa 4) now in the middle line above, change "asdf" to Heading 1. after doing this notice there it adds a line before and after this line which is fine because the HEading needs room around the text. 5) now revert back to Normal by changing paragraph style to Normal. There is still spacing around that line...it shouldn't have any space and be back to normal. works fine in 4.x... all platforms.
This is a problem with the rules code. When you first type, each line, except the first one is in a <div>. When you change a line to an H1 and then change it to Normal, it puts a <p> around the line, that's why the extra lines stay around it. Re-assigning to jfrancis@netscape.com.
Updated•25 years ago
|
Target Milestone: M14
Comment 2•25 years ago
|
||
setting to M14
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
fixed
not fixed...half the problem is fixed...I still see a space below the text that got reverted to Normal after makign it HEading 1...I can show you...
Assignee | ||
Comment 5•25 years ago
|
||
ok. I know about that prob. It's a different problem but I plan to work on it this week anyway, so I'll just leave this bug open as a reminder. [note to self: the problem is that moving from normal to some other block type then back to normal can leave the wrong number of <br>s around].
Assignee | ||
Comment 9•25 years ago
|
||
*** This bug has been marked as a duplicate of 22331 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•