Closed Bug 1345825 Opened 9 years ago Closed 5 years ago

Selection of text+table in contenteditable area is corrupted

Categories

(Core :: DOM: Selection, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tomas.stefan, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: 1) Open attached html (or any other page with contenteditable area containing text and tables) 2) Select some text and part of table 3) Click on table 4) Click back to text 5) Try to do same selection as in step 2 Actual results: Instead of selected text there is selected table cell(s) Expected results: Same text selection as before
Attached image step 2 selection
Attached image step 5 selection
Thanks to cool tool mozregression I found version where bug was introduced: 2017-03-09T12:13:25: INFO : application_buildid: 20160606102526 2017-03-09T12:13:25: INFO : application_changeset: a325b8ebc11559ec0c555615896985d0508c99cf 2017-03-09T12:13:25: INFO : application_display_name: Nightly 2017-03-09T12:13:25: INFO : application_id: {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 2017-03-09T12:13:25: INFO : application_name: Firefox 2017-03-09T12:13:25: INFO : application_remotingname: firefox 2017-03-09T12:13:25: INFO : application_repository: https://hg.mozilla.org/integration/fx-team 2017-03-09T12:13:25: INFO : application_vendor: Mozilla 2017-03-09T12:13:25: INFO : application_version: 49.0a1 2017-03-09T12:13:25: INFO : platform_buildid: 20160606102526 2017-03-09T12:13:25: INFO : platform_changeset: a325b8ebc11559ec0c555615896985d0508c99cf 2017-03-09T12:13:25: INFO : platform_repository: https://hg.mozilla.org/integration/fx-team 2017-03-09T12:13:25: INFO : platform_version: 49.0a1 2017-03-09T12:13:29: WARNING : Skipping build c4ad61758358: Unable to find build info using the taskcluster route 'gecko.v2.fx-team.revision.c4ad6175835899aac9ca58eaf40ff77853b20823.firefox.win64-opt' 2017-03-09T12:13:57: INFO : Narrowed inbound regression window from [2e85c7f0, 728c00d3] (3 revisions) to [2e85c7f0, a325b8eb] (2 revisions) (~1 steps left) 2017-03-09T12:13:57: DEBUG : Starting merge handling... 2017-03-09T12:13:57: DEBUG : Using url: https://hg.mozilla.org/integration/fx-team/json-pushes?changeset=a325b8ebc11559ec0c555615896985d0508c99cf&full=1 2017-03-09T12:13:58: DEBUG : Found commit message: Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel
Component: Untriaged → Selection
Product: Firefox → Core

The commit mentioned above refers to bug 1277985. However, that one contains only changes in devtools' code, so it doesn't seem related.

Tomas: thanks for reporting the issue. Couldn't reproduce it with current Nightly on Ubuntu 18.04. Can you still reproduce it?

Flags: needinfo?(tomas.stefan)
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(tomas.stefan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: