[webkit-dev] RenderObject hasLayer method
easco at mac.com
Fri Jun 12 07:08:46 PDT 2009
On Jun 12, 2009, at 12:17 AM, Meryl Silverburgh wrote:
> Can someone please tell me what does the 'layer' in a RenderObject
> in other words, what does hasLayer method returns or purpose of that
I'm going to speculate here, but on the MacOS, there is a technology
called "Core Animation". Core Animation allows a program to create
rectangular graphical areas and easily animate them on the screen.
These rectangular areas are called "Layers".
Safari supports CSS transitions and effects which (again I speculate)
make use of those layers to simplify their animations. I suspect,
then, that a RenderObject, while animating, is associated with at
least one CALayer and the "hasLayer" method would tell you whether or
not that was, in fact, occurring.
More information about the webkit-dev