[Webkit-unassigned] [Bug 6291] Drawing to a dynamically created canvas element before it is appended to document doesnt work
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Wed Mar 8 16:47:36 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6291
david.carson at nokia.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david.carson at nokia.com
------- Comment #4 from david.carson at nokia.com 2006-03-08 16:47 PDT -------
The problem seems to be that the Canvas render object (RenderCanvasImage) has
not been created yet, although there is a valid DOM element. By memory, render
objects are not created until they are attached to the DOM tree. I believe this
is because the engine does not know how to provide the style information needed
to create a render object until it knows it's location within the tree.
So, although the getContext function will return with a valid canvas context,
no methods on that object will succeed until it is attached to the DOM.
I am not sure what can be done about this.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list