Allan,

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 <[email protected]>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
> [email protected]
> http://lists.webkit.org/mailman/listinfo/webkit-qt
>
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to