2011-03-27 Andreas Kling <kling@webkit.org>
Reviewed by Kenneth Rohde Christiansen. [Qt] Support for CSS color and background-color properties on select element's dropdown list https://bugs.webkit.org/show_bug.cgi?id=51627 Extend the QWebSelectData interface with background and foreground colors for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle getters in RenderMenuList. * Api/qwebkitplatformplugin.h: * WebCoreSupport/PopupMenuQt.cpp: (SelectData::backgroundColor): (SelectData::foregroundColor): (SelectData::itemBackgroundColor): (SelectData::itemForegroundColor): * WebCoreSupport/QtFallbackWebPopup.cpp: (WebCore::QtFallbackWebPopup::show): (WebCore::QtFallbackWebPopup::populate): git-svn-id: svn://svn.chromium.org/blink/trunk@82075 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment