Selection of text+table in contenteditable area is corrupted

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: tomas.stefan, Unassigned)

Tracking

49 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

2 years ago
Created attachment 8845376 [details]
text_table_contenteditable_selection_bug.html

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
(Reporter)

Comment 1

2 years ago
Created attachment 8845377 [details]
step 2 selection
(Reporter)

Comment 2

2 years ago
Created attachment 8845379 [details]
step 5 selection
(Reporter)

Comment 3

2 years ago
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

Updated

2 years ago
Component: Untriaged → Selection
Product: Firefox → Core
You need to log in before you can comment on or make changes to this bug.