[Webkit-unassigned] [Bug 47164] QWebPage::javascriptprompt does not wrap long text
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 8 02:37:29 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47164
Mahesh Kulkarni <mahesh.kulkarni at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
CC| |mahesh.kulkarni at nokia.com
--- Comment #1 from Mahesh Kulkarni <mahesh.kulkarni at nokia.com> 2010-10-08 02:37:29 PST ---
Below example on chrome/safari/mozilla browser wraps label text of input box.
But in QtWebkit it does not.
<html><body><script>
prompt("some really long text example! some really long text example! some really long text example! some really long text example! some really long text example! some really long text example! some really long text example! some really long text example! some really long text example!");
</script></body></html>
Problem is with QInputDialog of Qt class which is used by QWebPage::javascriptPrompt() function.
QInputDialog owns QLabel which by default has "no word wrap" enabled. No straight way to access QLabel from this dialog to set this property (QLabel::setWordWrap).
This should be fixed by qt4.7 either by setting wordwrap for qinputdialog or providing API to set it.
--
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