Content inside frames and scrollbars in overflow areas hit-tests incorrectly when 
the WKView has a header
https://bugs.webkit.org/show_bug.cgi?id=114769

Reviewed by Simon Fraser.

Source/WebCore: 

convertToRenderer() and convertFromRenderer() need to factor in the headerHeight, 
much like all of the conversion functions on ScrollView. 
* page/FrameView.cpp:
(WebCore::FrameView::convertFromRenderer):
(WebCore::FrameView::convertToRenderer):

The scrollPosition equivalent of the existing scrollOffsetRelativeToDocument() 
function. 
* platform/ScrollView.cpp:
(WebCore::ScrollView::scrollPositionRelativeToDocument):
* platform/ScrollView.h:
(ScrollView):

LayoutTests: 

* platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame-expected.txt: Added.
* platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html: Added.
* platform/mac-wk2/tiled-drawing/resources/iframe-to-hit-test.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][AC] m_pendingSurfaceResize needs to be guarded by USE(ACCELERATED_COMPOSITING)
https://bugs.webkit.org/show_bug.cgi?id=114770

AC related code is guarded by USE(ACCELERATED_COMPOSITING) in order to build
WebKitEfl with no-tiled-backing-store(r147792), but m_pendingSurfaceResize is
not included. This patch allows m_pendingSurfaceResize to be guarded by
USE(ACCELERATED_COMPOSITING).

Reviewed by Simon Fraser.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::EwkView):
(EwkView::displayTimerFired):
(EwkView::handleEvasObjectCalculate):
* UIProcess/API/efl/EwkView.h:
(EwkView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
BasicShapeFunctions should use RenderStyle instead of StyleResolver
https://bugs.webkit.org/show_bug.cgi?id=114743

Reviewed by Antti Koivisto.

BasicShapeFunctions does include RenderStyle instead of StyleResolver now.
This is a simple refactoring patch, no new tests.

* css/BasicShapeFunctions.cpp:
(WebCore::convertToLength): Use style and rootElementStyle directly.
(WebCore::basicShapeForValue): Ditto.
* css/BasicShapeFunctions.h:
(WebCore):
* css/DeprecatedStyleBuilder.cpp:
(WebCore::ApplyPropertyClipPath::applyValue):
(WebCore::ApplyPropertyExclusionShape::applyValue):


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