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

Sravan sra1sandela at gmail.com
Fri Mar 2 23:31:53 PST 2012


I think style->display() might be the one you are looking for.

-Sravan.

On Fri, Mar 2, 2012 at 10:32 PM, Terry Anderson <tdanderson at chromium.org>wrote:

> 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,
>
> Terry
>
> 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
>>
>>
>
> _______________________________________________
> 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/20120303/5f7de4d1/attachment-0001.html>


More information about the webkit-help mailing list