Page MenuHomePhabricator

VisualEditor: Removing last char from paragraph removes entire paragraph and throws in IE
Closed, ResolvedPublic1 Estimated Story Points

Description

Screenshot of bug (incl. console error)

Encountered in IE9 using BrowserStack "Windows 7/IE9" using latest MediaWiki and VisualEditor master via a tunnel. Could either be a browser bug we have to work around, or something on our end applicable to other browsers as well.

  • Put the cursor at the end of the second paragraph in a simple document
  • Removing the last character (e.g. full stop)

It suddenly removes the entire paragraph and then throws an uncaught exception:

“Offset could not be translated to a DOM element and offset: 112”


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=64128

Attached:

St4MxOZ.jpg (1×2 px, 309 KB)

Details

Reference
bz62333

Event Timeline

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 15 2015, 12:47 AM
Jdforrester-WMF set Security to None.
Esanders claimed this task.
Esanders subscribed.

Can't reproduce in IE9. CE offset code has changed a lot in the last 18 months.