Ticket #79 (assigned defect)

Opened 2 years ago

Last modified 11 months ago

line breaks don't work properly

Reported by: marcvangend Owned by: jf.hovinne
Priority: major Milestone: 0.5
Component: Editor Version: trunk
Keywords: br line break Cc:

Description

When I try to enter a line break <br /> by pressing shift-enter, the cursor moves a little to the right. There is no new line created.

When I enter a space after that, the new line is created, containing the space. Pressing backspace remove the space and the new line.

Next, when I press shift-enter again, the new line comes back immediately. However the padding between the current paragraph and the next paragraph disappears.

(tested in IE 6.0.2800)

Change History

  Changed 2 years ago by jf.hovinne

  • status changed from new to assigned
  • milestone set to 0.5

Confirmed - tricky IE designMode issue. Needs more review.

follow-up: ↓ 3   Changed 12 months ago by dor

It seems that the bug occurs in every element that has a CSS background declaration, of any kind. Which means that even the following background declaration:

elem { background:none; }

triggers the bug in IE6.

If the background declaration is removed from an element, the bug wouldn't be triggered.

If you make IE6 to treat the element is if it "hasLayout" (via CSS), then the bug wouldn't be triggered despite any background declaration.

I tried to find a solution but couldn't find.

in reply to: ↑ 2   Changed 12 months ago by dor

Replying to dor:

If you make IE6 to treat the element is if it "hasLayout"

instead: "element is if it" it should be: "element as if it"

sorry I can't edit...

  Changed 11 months ago by donrl

Dor's comment about CSS backgrounds is true in IE7 and IE8 as well.

Note: See TracTickets for help on using tickets.