[Webkit-unassigned] [Bug 53319] New: [Qt] QWebElement set and get attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 11:58:53 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53319

           Summary: [Qt] QWebElement set and get attribute
           Product: WebKit
           Version: 312.x
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P1
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: douaberi at gmail.com


Created an attachment (id=80474)
 --> (https://bugs.webkit.org/attachment.cgi?id=80474&action=review)
small project to see what happens

QWebElement.setAttribute is not working once you modified the html element from the webkit widget or you changed the value using javascript.

on the HTML side I have something like this:

<input tye="text" id="firstname" value="" />


on Qt side I have something like this:

QWebFrame *frame = ui->webView->page()->mainFrame();
QWebElement firstName = frame->findFirstElement("#firstname");
firstName.setAttribute("value","some text");

it works only if I don't manually change the value ,else it doesn't do anything


http://www.mediafire.com/?erroif6ubllbubd here is a small project to see how it happens.
here is a youtube video to see when the error appears: http://www.youtube.com/watch?v=2R63Me6CuI4


you can read more on this conversation: http://developer.qt.nokia.com/forums/viewthread/3389/

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list