Web Inspector: Zebra stripe the console
https://bugs.webkit.org/show_bug.cgi?id=98701

Patch by John J. Barton <johnjbarton@chromium.org> on 2012-10-11
Reviewed by Pavel Feldman.

Add .console-message:hover rule to lightly highlight the message line.

* inspector/front-end/inspector.css:
(.console-message:hover):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
F4 key should open the picker popup on Windows and Linux
https://bugs.webkit.org/show_bug.cgi?id=98754

Reviewed by Kent Tamura.

Source/WebCore:

On Windows, F4 key is used to open the combo box popup. We will introduce the same keybinding for picker popups.

Added test to calendar-picker-key-operations.html, date-suggestion-picker-key-operations.html, time-suggestion-picker-key-operations.html.

* html/BaseMultipleFieldsDateAndTimeInputType.cpp:
(WebCore::BaseMultipleFieldsDateAndTimeInputType::handleKeydownEvent): Open picker on F4 key if it is enabled.
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::shouldOpenPickerWithF4Key): Returns true if we want to enable the F4 key binding on this platform. Return false for default.
(WebCore):
* rendering/RenderTheme.h:
(RenderTheme):
* rendering/RenderThemeChromiumLinux.cpp:
(WebCore::RenderThemeChromiumLinux::shouldOpenPickerWithF4Key): Returns true.
(WebCore):
* rendering/RenderThemeChromiumLinux.h:
* rendering/RenderThemeChromiumWin.cpp:
(WebCore):
(WebCore::RenderThemeChromiumWin::shouldOpenPickerWithF4Key): Returns true.
* rendering/RenderThemeChromiumWin.h:
(RenderThemeChromiumWin):

LayoutTests:

* fast/forms/date/calendar-picker-key-operations.html:
* platform/chromium-win/fast/forms/date/calendar-picker-key-operations-expected.txt: Added.
* platform/chromium-win/platform/chromium/fast/forms/date/date-suggestion-picker-key-operations-expected.txt:
* platform/chromium-win/platform/chromium/fast/forms/time/time-suggestion-picker-key-operations-expected.txt:
* platform/chromium/fast/forms/date/date-suggestion-picker-key-operations-expected.txt:
* platform/chromium/fast/forms/date/date-suggestion-picker-key-operations.html:
* platform/chromium/fast/forms/time/time-suggestion-picker-key-operations-expected.txt:
* platform/chromium/fast/forms/time/time-suggestion-picker-key-operations.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Adding platform-specific baseline for svg/custom/clip-mask-negative-scale.html
that's required after r130090.

* platform/gtk/TestExpectations:
* platform/gtk/svg/custom/clip-mask-negative-scale-expected.png: Added.
* platform/gtk/svg/custom/clip-mask-negative-scale-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Blackberry] makes NavigatorContentUtils work
https://bugs.webkit.org/show_bug.cgi?id=99022

Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-10-11
Reviewed by Rob Buis.

Source/WebKit:

Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils, So we
need add Modules/navigatorcontentutils into WebKit_INCLUDE_DIRECTORIES.

* PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils and
r122810 added RegisterProtocolHandlerClient to the Modules/protocolhandler,
we need sync up code:
1. Add NavigatorContentUtilsClientBlackBerry class.
2. use new API provideNavigatorContentUtilsTo.

No new tests. Covered by existing tests.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
* WebCoreSupport/NavigatorContentUtilsClientBlackBerry.cpp: Added.
(WebCore):
(WebCore::NavigatorContentUtilsClientBlackBerry::NavigatorContentUtilsClientBlackBerry):
(WebCore::NavigatorContentUtilsClientBlackBerry::registerProtocolHandler):
(WebCore::NavigatorContentUtilsClientBlackBerry::isProtocolHandlerRegistered):
(WebCore::NavigatorContentUtilsClientBlackBerry::unregisterProtocolHandler):
* WebCoreSupport/NavigatorContentUtilsClientBlackBerry.h: Added.
(WebKit):
(NavigatorContentUtilsClientBlackBerry):
(WebCore::NavigatorContentUtilsClientBlackBerry::~NavigatorContentUtilsClientBlackBerry):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r129478-r129480): http/tests/loading/text-content-type-with-binary-extension.html failing on Apple MountainLion Debug WK2 (Tests)
https://bugs.webkit.org/show_bug.cgi?id=98527

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-11
Reviewed by Kenneth Rohde Christiansen.

Tools:

Added decidePolicyForResponse callback for WTR PagePolicyClient.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
(WTR::TestController::decidePolicyForResponse):
(WTR):
* WebKitTestRunner/TestController.h:
(TestController):

LayoutTests:

Rebased http/tests/loading/text-content-type-with-binary-extension.html for WK2 EFL, as dumping order is affected.
Other WK2 ports will have to do the same.

* platform/efl-wk2/http/tests/loading/text-content-type-with-binary-extension-expected.txt: Added.
* platform/gtk-wk2/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/qt-5.0-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131057 268f45cc-cd09-0410-ab3c-d52691b4dbfc