Page MenuHomePhabricator

Able to insert new lines after the cursor (due to broken unicorn position correction)
Closed, ResolvedPublic8 Estimated Story Points

Description

To reproduce: go to the end of a heading1; press ctrl+i; press space; press enter.
Expected result: Cursor goes into the new empty <p>
Actual result: Cursor does not move: stays above the new empty <p>

Reproduced on Chrome, Safari and Firefox.

Event Timeline

Jdforrester-WMF raised the priority of this task from to Medium.
Jdforrester-WMF updated the task description. (Show Details)

Also happens if you open pages/h1.html and press End,Ctrl+i,Space,Enter

Bug first appeared in 64a932b0a017d8a12c86a008d7d847d9a8639d91 (bah, my code)

dchan set Security to None.
dchan renamed this task from Able to insert new lines after the cursor (? due to being on the wrong side of a nail) to Able to insert new lines after the cursor (due to broken unicorn position correction).Nov 20 2015, 4:33 PM
dchan claimed this task.
dchan updated the task description. (Show Details)

The "git bisect" result is misleading: it is correct code that merely unmasks an existing bug in position correction beside unicorns.

Change 254424 had a related patch set uploaded (by Divec):
Do not skip past adjacent unicorn in different branch node

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

Change 254424 merged by jenkins-bot:
Do not skip past adjacent unicorn in different branch node

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