Page MenuHomePhabricator

VisualEditor: Range around an annotated alien calculated incorrectly
Closed, ResolvedPublic

Description

  1. Create '<p>Foo<cite>Bar</cite>Baz</p>'
  2. Select Bar
  3. Range is now [4,6] (correct as <cite/> becomes [<alien>,</alien>])
  4. Bold the selection
  5. Range is now [6,6] :(

Version: unspecified
Severity: normal

Details

Reference
bz53766

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:50 AM
bzimport set Reference to bz53766.

Change 82771 had a related patch set uploaded by Esanders:
Fix getOffsetFrom(Element|Text)Node for annotated aliens

https://gerrit.wikimedia.org/r/82771

Change 82771 merged by jenkins-bot:
Fix getOffsetFrom(Element|Text)Node for annotated aliens

https://gerrit.wikimedia.org/r/82771