Page MenuHomePhabricator

IFrame: IE8 ignores the first <br> inserted inside a paragraph tag.
Closed, DeclinedPublic

Description

Author: amiller1

Description:
Steps to Reproduce ::

  1. Edit the page
  2. Clear all text
  3. Click on Numbered list button three times in a row.
  4. Check out the html contents of the iframe. It will be "<P># Numbered list item<BR># Numbered list item<BR># Numbered list item</P>" even though the first two numbered list items are on the same line.

Additional Notes ::

This bug was discovered as a result of fixing bug 22347. I'm creating this bug and closing the other as this is an isolated and more specific issue.


Version: unspecified
Severity: minor
OS: Windows XP
Platform: PC

Details

Reference
bz22775

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:02 PM
bzimport set Reference to bz22775.
bzimport added a subscriber: Unknown Object (MLST).

Well, this sounds like it's to do with the IE only CSS hack that ignores the first BR within a P. This is needed so that we don't end up with a <p><br></p> occupying 2 lines (IE imagines content after the <br>) but in this case it's causing another issue so we need to look at that.

The unmaintained beta iframe mode was removed from WikiEditor recently in WikiEditor: https://gerrit.wikimedia.org/r/#/c/123649/

Hence closing as WONTFIX.