[webkit-help] Function to know if an element is inline/Block/replaced/inlineblock/

Terry Anderson tdanderson at chromium.org
Fri Mar 2 09:02:49 PST 2012

I am not sure if there is such a function, but if you are looking for
something to help you in debugging, have a look at
RenderObject::showRenderTree, which can easily be called from gdb.  It
shows the object type of each node in the render tree.  I hope this is of
some help to you,


On Thu, Mar 1, 2012 at 11:35 PM, MIKITHA minkola <mikithamk at gmail.com>wrote:

> Hi Webkit,
> I am trying to learn webkit, and i am little lost in trying to figure out
> which element is inline/Block/replaced/inlineblock.
> Is there any function which will help to figure out what element it is?
> I found a few like childrenInline(), isInline(),
> but is there a single function or variable that helps to recognize what
> type of element it is?.
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120302/346dc995/attachment.html>

More information about the webkit-help mailing list