[webkit-dev] get web content by clicking with editing feature?
Shi Yan
billconan at gmail.com
Thu Mar 19 11:33:12 PDT 2009
Hi guys,
did you notice the Web Slices feature of IE8? I want to implement a
similar thing with the QT webkit. but to do that, I want the webkit be
able to return the piece of HTML under my mouse click. for example if
I click on an image, I'll have <img src=""> returned. and if I click
on some paragraph, I'll have the corresponding <p>...</p> tag
returned. this is pretty much like the editor of the microsoft
frontpage, if you select an image in the page view, the corresponding
HTML will be selected in the HTML view.
another thing is that can webkit tell me where a piece of HTML is
rendered? for example, if I specify a line of HTML of a web page, I
want to know the position and size of the rendered content.
I know that webkit provides a editing feature,
http://labs.trolltech.com/blogs/2009/03/12/wysiwyg-html-editor/
can i implement all these by this editing feature?
Thank you.
More information about the webkit-dev
mailing list