Opened 9 years ago

Last modified 8 years ago

#1250 new defect

IE7 DOMwalk empty styled paragraphs collapse

Reported by: guest Owned by:
Priority: normal Milestone: 0.97
Component: Browsers_InternetExplorer Version: trunk
Severity: normal Keywords:
Cc:

Description

On the restricted demo page using IE7 (XP SP2), clear the xinha, type "Foo", hit Enter twice, type "Bar", hit Enter once. Observe that the HTML for the blank line is <p>&nbsp;</p>, which is desireable and will be preserved when displayed.

Clear the xinha, turn on bold (or any style tag) and type as above. Observe that the HTML for the blank line is <p><strong></strong></p>, which will be collapsed into nothing when displayed.

I worked around this by setting getHtmlMethod to TransformInnerHtml? which produces <p><strong></strong>&nbsp;\n</p> for the blank line. This preserves the extra space, which is at least usable for now.

Change History (2)

comment:1 Changed 9 years ago by gogo

See also #1175

comment:2 Changed 8 years ago by gogo

  • Milestone changed from 0.96 to 0.97
Note: See TracTickets for help on using tickets.