Created attachment 48211 [details]
Fix for the problem
When QWebView has a different style set on it then the scrollbars are not rendered correctly on the Mac, only the buttons are rendered but not the actual slider.
This can reproduced with the demo Qt browser and running it with a style such as plastique.
Please follow the QtWebKit bug reporting guidelines when reporting bugs.
- The 'QtWebKit' component should only be used for bugs/features in the
public QtWebKit API layer, not to signify that the bug is specific to
the Qt port of WebKit
- Add the keyword 'Qt' to signal that it's a Qt-related bug
Created attachment 94467 [details]
*** Bug 35681 has been marked as a duplicate of this bug. ***
Comment on attachment 94467 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=94467&action=review
> + if (qobject_cast<QMacStyle *>(QApplication::style()))
Application::style()? What if the widget has a different style than the default style?
Created attachment 94628 [details]
Created attachment 94641 [details]
Comment on attachment 94641 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=94641&action=review
> + two paths one for Mac and one for any other styles. The problem is that on Mac you can still run the
needs a comma after "two paths"
> + if (qobject_cast<QMacStyle *>(style()))
> + // The QStyle expects the background to be already filled
missing dot in the end.
Committed r87290: <http://trac.webkit.org/changeset/87290>
Revision r87290 cherry-picked into qtwebkit-2.2 with commit 5087eaa <http://gitorious.org/webkit/qtwebkit/commit/5087eaa>