Last modified: 2012-11-28 01:31:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44401, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42401 - VisualEditor: Backwards selection fails over inline alien nodes
VisualEditor: Backwards selection fails over inline alien nodes
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Highest normal
: VE-deploy-2012-12-10
Assigned To: Inez Korczyński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-24 00:54 UTC by James Forrester
Modified: 2012-11-28 01:31 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description James Forrester 2012-11-24 00:54:57 UTC
Start with an article with an inline alien - e.g. "ABC<tt>:-)</tt>DEF". Place cursor "up page" (in LTR, left) of inline alien; selection with keyboard down-page works as expected. Now place the cursor "down page" (in LTR, right) of the inline alien; selection with keyboard up-page fails when reaching the alien, clearing the selection and placing the cursor immediately up-page of the alien.

Note that in RTL this appears to work fine(!).

Confirmed in both Chrome and Firefox.
Comment 1 Trevor Parscal 2012-11-28 01:31:49 UTC
This was resolved in Iba55cfc3d531e7d1333b78c94912ff22179aace8

The issue was that the cursor "fix-up" code was not preserving non-zero-length selections.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links