[Webkit-unassigned] [Bug 53407] New: [Qt] Can not resize a plugin created in QWebPage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 30 18:15:20 PST 2011


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

           Summary: [Qt] Can not resize a plugin created in QWebPage
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hzgmaxwell at hotmail.com


Created a QTextEdit object in webpage as below
------------------------------------------------------------
QObject * WebPage::createPlugin(const QString & classid, const QUrl & url, const QStringList & paramNames, const QStringList & paramValues)
{
    QObject *result = 0;
    if (classid == "editobject") {
        QTextEdit * edit = new QTextEdit(view());
        result = edit;
    }
    if (result)
        result->setObjectName(classid);
    return result; 
}
------------------------------------------------------------
then refer it in HTML as
------------------------------------------------------------
<object type='application/x-qt-plugin' classid='editobject' width='100%' height='30%'></object>
------------------------------------------------------------

The edit box shows in web page correctly, but there is no way to change height from 30% to some other value? 

For example --
alert(document.getElementById("editobject36").height); //got 72 here
document.getElementById("editobject36").height = 273;
alert(document.getElementById("editobject36").height); //still got 72 here, and the edit object haven't been resized in the webpage.

-- 
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