Last modified: 2014-06-25 11:42:27 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 T54339, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52339 - VisualEditor: Selection highlighting breaks if an inline alien wraps
VisualEditor: Selection highlighting breaks if an inline alien wraps
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2014-06-19
Assigned To: Ed Sanders
:
: 67062 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-31 19:33 UTC by D Chan
Modified: 2014-06-25 11:42 UTC (History)
5 users (show)

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


Attachments
wrapped inline alien: incorrect highlighting in chromium (54.57 KB, image/png)
2013-07-31 19:33 UTC, D Chan
Details
wrapped inline alien: incorrect highlighting in firefox (59.39 KB, image/png)
2013-07-31 19:35 UTC, D Chan
Details
wrapped inline alien: incorrect highlighting in firefox (58.03 KB, image/png)
2013-07-31 19:46 UTC, D Chan
Details

Description D Chan 2013-07-31 19:33:52 UTC
Created attachment 13034 [details]
wrapped inline alien: incorrect highlighting in chromium

If an inline alien gets word wrapped, then selecting it leads to incorrect highlighting.

Reproducing: make a <tt> ... </tt> with enough content to word wrap. Select with the mouse (or use CTRL+A).

In chromium, the highlighter erroneously draws a box enclosing the first character and the last (see first attachment).

In firefox, the highlighter erroneously highlights to the end of the first line only (see second attachment).
Comment 1 D Chan 2013-07-31 19:35:22 UTC
Created attachment 13035 [details]
wrapped inline alien: incorrect highlighting in firefox
Comment 2 D Chan 2013-07-31 19:46:40 UTC
Created attachment 13036 [details]
wrapped inline alien: incorrect highlighting in firefox
Comment 3 Gerrit Notification Bot 2014-06-16 10:49:01 UTC
Change 139805 had a related patch set uploaded by Esanders:
Shields are dead, long live getClientRects

https://gerrit.wikimedia.org/r/139805
Comment 4 Gerrit Notification Bot 2014-06-16 23:52:29 UTC
Change 139805 merged by jenkins-bot:
Shields are dead, long live getClientRects

https://gerrit.wikimedia.org/r/139805
Comment 5 Ed Sanders 2014-06-25 11:42:27 UTC
*** Bug 67062 has been marked as a duplicate of this bug. ***

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


Navigation
Links