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)

defect

Tracking

()

VERIFIED DUPLICATE of bug 22331

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.
Assignee: buster → jfrancis
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.
Target Milestone: M14
setting to M14
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed
Status: RESOLVED → REOPENED
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...
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].
Resolution: FIXED → ---
Clearing FIXED resolution due to reopen.
Keywords: beta1
Rick G. can you please comment as to why you want this PDT+?  Thanks.
Putting on PDT- radar for beta1.
Whiteboard: [PDT-]


*** This bug has been marked as a duplicate of 22331 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → DUPLICATE
verified in 2/14 build
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.