Page MenuHomePhabricator

Text replacement broken in IE9
Closed, DeclinedPublic

Description

In the current IE9 beta, when using the IE9 standards document mode (set with the F12 developer tools), text replacement/insertion does not work correctly. In the wikitext at http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man.sock/test&oldid=408465859 attempting to link the last word with the link dialog produces:

"... deserunt mollit anim id es[[laborum]]um."

The correct result is:

"... deserunt mollit anim id est [[laborum]]."

The problem seems to be related to the number of line breaks that occur before the text selection. On http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man.sock/test&oldid=408466339 (with more line breaks), the same attempt produces:

"... deserunt mollit anim[[laborum]] laborum."

A similar result is seen when trying to insert text. When inserting a link to [[Foo]] after the last word, before the period, the result is:

"... deserunt mollit anim id est [[Foo]]laborum ."


Version: unspecified
Severity: normal

Details

Reference
bz26785

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:13 PM
bzimport added a project: WikiEditor.
bzimport set Reference to bz26785.

Could be related to \r\n\ vs. \n.
Haven't investigated deeply yet.

Krinkle, do not spend too much time on this : browsers beta always have such bugs.

Alex> please make sure you report this bug to Microsoft.

I got the impression it wasn't a beta but yeah IE9 is in beta (Alex even stated so in the opening line).

/me removes CC.