[Webkit-unassigned] [Bug 4884] Canvas element breaks when RenderObject creation is defered by external CSS

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 8 18:29:29 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=4884





------- Comment #5 from david.carson at nokia.com  2006-03-08 18:29 PDT -------
Details copied from 6291:
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