[wk2] REGRESSION (r154673): PDF scrolling moves very slowly
https://bugs.webkit.org/show_bug.cgi?id=120542

Reviewed by Tim Horton.

Source/WebCore:

Handle 'wheel' events in addition to 'mousewheel'.

* html/shadow/MediaControlsApple.cpp:
Listen for the standard 'wheel' event instead of the legacy 'mousewheel' one.
While not strictly needed, we should use the legacy events as little as
possible.
* plugins/PluginView.cpp:
Handle 'wheel' events in addition to 'mousewheel'.

Source/WebKit2:

Handle 'wheel' events in addition to 'mousewheel'. This fixes
PDF scrolling.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::handleEvent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
GStreamer 0.10 build fix after r155251.

Patch by Tamas Czene <tczene@inf.u-szeged.hu> on 2013-09-08
Reviewed by Csaba Osztrogonác.

* platform/graphics/gstreamer/GStreamerVersioning.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Scrollbar width is not applied when element hidden
https://bugs.webkit.org/show_bug.cgi?id=90546

Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2013-09-08
Reviewed by Simon Fraser.

Source/WebCore:

Webkit has css properties through which custom scroll
bars can be added. Incase the element's visible property
is hidden and custom scrollbar properties are applied
the scrollbar width is not considered when quering the
element.clientWidth. Incase of non-custom scrollbars
whether the element's visible property is hidden or not
correct scrollbar width is considered.

Tests: fast/dom/Element/scroll-width-hidden.html
       fast/dom/Element/scroll-width-visible.html

* rendering/RenderScrollbar.cpp:
(WebCore::RenderScrollbar::updateScrollbarPart):
Incase custom scrollbar is created there is a check whether
the renderer to which scrollbar is added is visible or not.
This check is not required since for non-custom scrollbars same
check is not present. Also whether element's visible property is
hidden or not a placeholder is set for the element. Both behavoiur
i.e custom and non-custom scrollbars should be same.

LayoutTests:

* fast/dom/Element/scroll-width-hidden-expected.txt: Added.
* fast/dom/Element/scroll-width-hidden.html: Added.
* fast/dom/Element/scroll-width-visible-expected.txt: Added.
* fast/dom/Element/scroll-width-visible.html: Added.

Added new test for verifying that scroll width returns proper
values for element which is visible and hidden.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
defining line height affects height of text box
https://bugs.webkit.org/show_bug.cgi?id=17619

Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2013-09-08
Reviewed by Darin Adler.

Source/WebCore:

Giving line height to input elements increase the height
of the element. To make it work similiar as Mozilla and IE
line-height :normal should be applied for input elements.

Test: fast/dom/HTMLInputElement/input-line-height.html

* css/html.css:
(input):
Made the line-height: normal as !important so that it does not
consider any other line-height specified through internal or
external styles.

LayoutTests:

* fast/dom/HTMLInputElement/input-line-height-expected.txt: Added.
* fast/dom/HTMLInputElement/input-line-height.html: Added.

Added new test for verifying that giving line-height to input element
has no affect on its height.

* fast/forms/placeholder-position-expected.txt:
* platform/mac/fast/forms/placeholder-position-expected.png:

Rebaselining existing tests as per the new behavior. The position
of input elements have been modified since line-height is not being
considered.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HTMLDocument.h : Removing unnecessary forward declaration.
https://bugs.webkit.org/show_bug.cgi?id=121002

Patch by Santosh Mahto <santosh.ma@samsung.com> on 2013-09-08
Reviewed by Darin Adler.

Just code cleanup.
Removed the two forward declaration in HTMLDocument.h file.

* html/HTMLDocument.h:

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