开发者

webkit - width and height of html elements

开发者 https://www.devze.com 2023-03-01 02:40 出处:网络
How do i get the height and width of html elements (ListBox) in webkit ? I am working on Android browser. Any pointers on wher开发者_如何学编程e to look will be of great help.Answer to my own question

How do i get the height and width of html elements (ListBox) in webkit ? I am working on Android browser. Any pointers on wher开发者_如何学编程e to look will be of great help.


Answer to my own question :

drawCursorPostamble() of webview.cpp has m_ring.m_bounds variable which holds the height and width of html elements

0

精彩评论

暂无评论...
验证码 换一张
取 消