Ticket #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> </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> \n</p> for the blank line. This preserves the extra space, which is at least usable for now.
