[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 16:31:33 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 35c245a8afa67f164ed7a0e3cdfccc0e96e90cc3
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 25 02:11:06 2010 +0000
2010-11-24 Jan Erik Hanssen <jhanssen at sencha.com>
Reviewed by Antonio Gomes.
[Qt] Html autofocus not working with QGraphicsWebView
https://bugs.webkit.org/show_bug.cgi?id=43169
Tell the scene to set the webview item as the currently
focused item. This makes the input field with autofocus get
focus as it should.
* QtTestBrowser/webview.cpp:
(WebViewGraphicsBased::WebViewGraphicsBased):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 1ac24d0..a055d14 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,17 @@
+2010-11-24 Jan Erik Hanssen <jhanssen at sencha.com>
+
+ Reviewed by Antonio Gomes.
+
+ [Qt] Html autofocus not working with QGraphicsWebView
+ https://bugs.webkit.org/show_bug.cgi?id=43169
+
+ Tell the scene to set the webview item as the currently
+ focused item. This makes the input field with autofocus get
+ focus as it should.
+
+ * QtTestBrowser/webview.cpp:
+ (WebViewGraphicsBased::WebViewGraphicsBased):
+
2010-11-24 Dirk Pranke <dpranke at chromium.org>
Reviewed by Tony Chang.
diff --git a/WebKitTools/QtTestBrowser/webview.cpp b/WebKitTools/QtTestBrowser/webview.cpp
index fffaf9c..2a541fb 100644
--- a/WebKitTools/QtTestBrowser/webview.cpp
+++ b/WebKitTools/QtTestBrowser/webview.cpp
@@ -46,6 +46,7 @@ WebViewGraphicsBased::WebViewGraphicsBased(QWidget* parent)
{
setScene(new QGraphicsScene(this));
scene()->addItem(m_item);
+ scene()->setFocusItem(m_item);
setFrameShape(QFrame::NoFrame);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list