[webkit-qt] QtWebKit QWebForm API extension

Dawit A adawit at kde.org
Thu Nov 29 04:04:28 PST 2012


Will this new API addition make it to the 2.3 branch at some point ? The
API looks good to me and is a much cleaner  and faster method of
interacting with forms than executing javascript code.

On Mon, Nov 12, 2012 at 2:07 PM, Allan Sandfeld Jensen <kde at carewolf.com>wrote:

> On Saturday 03 November 2012, Lindsay Mathieson wrote:
> > Dawit, please excuse me if I'm missing something obvious, but is there
> any
> > reason why we can't walk the DOM using QWebElement to find and fill in
> the
> > INPUT elements?
> >
> If the input HTML was mal-formed the result can be transformed in a way
> where
> it is no longer possible to establish which elements belongs to which form,
> because it was only possible in the invalid HTML, and with the HTML put on
> a
> valid tree-structure this information can be lost. This is why FormElements
> and FormControlElements have special relations to tell how they have been
> matched during parsing (form.elements and input.form).
> Still you can catch most cases with code such as yours.
> Regards
> `Allan
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-qt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20121129/ad3cee44/attachment.html>

More information about the webkit-qt mailing list