Closed Bug 1488188 Opened 6 years ago Closed 3 years ago

Copying of tables does not work if the first selectable element is an <input type="submit">

Categories

(Core :: DOM: Selection, defect, P3)

61 Branch
All
Windows
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox62 --- affected
firefox63 --- affected
firefox64 --- affected

People

(Reporter: asgatoril, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached file copy_bug.html (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180807170231 Steps to reproduce: Steps to reproduce: Requirement: A table with one or more <tr>, of which the first element is an<input type="submit"> Select one or more whole <tr> while starting the selection in front of the input-tag while going left->right or stop the selection after including the input-tag in the selection while going right->left. Now try to copy the selection to the clipboard. Either Ctrl-C or rightclick->copy works for reproducing the bug. I tested this most extensively on Firefox 61.0.2 but could also reproduce the bug on 60.0.2 and the current nightly (63). An example HTML-file is attached. Actual results: The clipboard stays unchanged. Expected results: The selected part of the table should have been copied to the clipboard.
Could you please create a video screen capture? To be sure that we understand the same steps to reproduce this issue. Thanks
Flags: needinfo?(asgatoril)
Attached file Screencapture of the bug (deleted) —
I've made a small video of the bug and attached it to the bugreport.
Flags: needinfo?(asgatoril)
User Agent:  Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 Build ID: 20180906232139 I manage to reproduce this on Windows 10 x64 with the latest Firefox Nightly 64.0a1 (2018-09-06) (64-bit).
Status: UNCONFIRMED → NEW
Component: Untriaged → Canvas: 2D
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Seems unlikely this is graphics related given it shows on screen as expected. Given copying the first few elements worked, copy/paste seems to be working in general, so it seems specific to the elements selected.
Component: Canvas: 2D → Selection
Priority: -- → P3

Couldn't reproduce this with current Firefox on Ubuntu 18.04.

Still not reproducible with Linux. I've asked QA to check if this still reproduces on Windows.

OS: All → Windows

This is not reproducible on any of the latest Firefox versions (Release 91, Beta 92.9b6, Nightly 93) on Windows 10 x64.

Please reopen the ticket, if the issue occurs again.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: