Last modified: 2013-11-25 17:00:43 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 T54410, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52410 - VisualEditor: Undoing a larger cut restores selection incorrectly
VisualEditor: Undoing a larger cut restores selection incorrectly
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: VE-deploy-2013-09-12
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-01 18:26 UTC by Krinkle
Modified: 2013-11-25 17:00 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2013-08-01 18:26:47 UTC
- Chrome 30 (canary)
- https://en.wikipedia.org/w/index.php?title=Narayana_Gosain_Temple&oldid=565414421&veaction=edit


When selecting the following:

> <selected>
> h2.Transport
> p.It is situated within 20km from NH5 running between Chennai and Howrah. Nearest railhead is Jajpur Keonjhar Road or Byasanagar.
> h2.References
> references.
> \n
> </selected>
> \n
> h2.External links

.. and cutting it, and then ctrl-Z. It restores both content and selection properly 



When selecting the following:

> 
> h2.Transport
> p.It is situated within 20km from <selected>NH5 running between Chennai and Howrah. Nearest railhead is Jajpur Keonjhar Road or Byasanagar.
> h2.References
> references.
> \n
> \n
> h2.External</selected> links

.. and cutting it and then ctrl-Z. It restores the content properly, but the selection is restored only within the first paragraph:

> 
> h2.Transport
> p.It is situated within 20km from <selected>NH5 running between Chennai and Howrah. Nearest railhead is Jajpur Keonjhar Road or Byasanagar.</selected>
> h2.References
> references.
> \n
> \n
> h2.External links
Comment 1 James Forrester 2013-11-25 17:00:43 UTC
This was fixed in the selection re-writes.

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


Navigation
Links