Open Bug 904582 Opened 11 years ago Updated 2 years ago

setDrawImage problem with box-shadow

Categories

(Core :: Graphics: Canvas2D, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: draganov, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file mozbug.htm
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130618035212

Steps to reproduce:

Place a 'draggable' element on page
Attach listener on 'dragstart' event for this element
Use setDrawImage method of dataTransfer object
Provide same element which has box-shadow applied to it via css
Use horizontal and vertical offset


Actual results:

Cursor offset is affected by usage of box-shadow. You can see in attached file how offset is set to (0,0) but cursor is not correctly positioned within drawn image.


Expected results:

Cursor placement should not be affected by usage of box-shadow. Correct result is seen when shadow is removed in css.
Attachment #789552 - Attachment mime type: text/plain → text/html
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Version: 22 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: