Open
Bug 497868
Opened 15 years ago
Updated 2 years ago
canvas elements aren't selectable
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
NEW
People
(Reporter: whimboo, Unassigned)
References
()
Details
(Keywords: regression)
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090611 Shiretoko/3.5pre ID:20090611030802
When you select the "Select all" entry inside the context menu of web pages all images and text get selected except the canvas element. Copying the selecting and pasting into an editor doesn't list the canvas element too.
I would expect too see the canvas element selected and when pasting the selection into an editor we should show something like "Canvas Image".
Steps:
1. Open a web page, e.g. https://developer.mozilla.org/samples/canvas-tutorial/3_2_canvas_drawimage.html
2. Open the context menu and click on "Select All"
3. Copy and paste the selection into an editor
Updated•15 years ago
|
Component: Menus → Layout: Canvas
Product: Firefox → Core
QA Contact: menus → layout.canvas
Summary: Clicking on "Select all" in context menus of web pages does not select canvas element → canvas elements aren't selectable
Version: 3.5 Branch → 1.9.1 Branch
Comment 1•15 years ago
|
||
I imagine this is caused by bug 294852.
Reporter | ||
Comment 2•15 years ago
|
||
With the patch on buhg 294852 backed-out locally the canvas element is selected but using c&p doesn't copy it to the clipboard.
Comment 3•15 years ago
|
||
Yes, ideally, you want canvas to behave similarly as the <img> element, but the patch for bug 294852 made canvas not as annoyingly simple to select.
Blocks: 294852
Reporter | ||
Updated•15 years ago
|
Keywords: regression
Retested on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090904 Shiretoko/3.5.4pre (.NET CLR 3.5.30729).
The canvas elements does not paste in the editor. However on using "Select all" on the web page, the first canvas image does not select at all.
Comment 5•8 years ago
|
||
Reproducible
Version 47.0.1
Build ID 20160623154057
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0
Comment 6•4 years ago
|
||
Since <canvas>
requires JS to draw on it, I doubt the practical value of shallowly copying such elements.
Updated•4 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•