[Webkit-unassigned] [Bug 26045] The Qt Style Sheets are not applied on webkit scrollbars

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 10 15:40:11 PST 2010


Vincent Ordy <vincent.ordy at gmail.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #3 from Vincent Ordy <vincent.ordy at gmail.com>  2010-03-10 15:40:11 PST ---
This testcase creates 2 windows.  Both have a QScrollArea which contains a
QWebView. I do setStyleSheet("QScrollBar { background: blue; }") on both

The style of the first is QWindowsStyle, and the second's is QMotifStyle. The
QWebView scrollbar does use the style set by setStyle.

However, it does not use the one set by setStyleSheet("QScrollBar {...}"). Like
I said before, it happens because the Qt Style Sheets system uses metadata to
find out the type of an object. Since a ScrollbarThemeQt is not a QScrollbar,
the style sheet for QScrollbar is not used.

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