[EFL][DRT] Implement dumpFrameScrollPosition
https://bugs.webkit.org/show_bug.cgi?id=87638

Reviewed by Hajime Morita.

Tools:

* DumpRenderTree/efl/DumpRenderTree.cpp:
(dumpFrameScrollPosition): Implemented.
(shouldDumpFrameScrollPosition): Fixed wrong condition like other ports.

LayoutTests:

Updated expected results to dump scrolled position.

* platform/efl/compositing/geometry/fixed-in-composited-expected.txt:
* platform/efl/compositing/geometry/horizontal-scroll-composited-expected.txt:
* platform/efl/compositing/geometry/video-fixed-scrolling-expected.txt:
* platform/efl/compositing/overflow/fixed-position-ancestor-clip-expected.txt:
* platform/efl/css2.1/20110323/abspos-containing-block-initial-001-expected.txt:
* platform/efl/fast/block/positioning/rtl-fixed-positioning-expected.txt:
* platform/efl/fast/block/positioning/vertical-rl/fixed-positioning-expected.txt:
* platform/efl/fast/dom/focus-contenteditable-expected.txt:
* platform/efl/fast/dom/scroll-reveal-left-overflow-expected.txt:
* platform/efl/fast/dom/scroll-reveal-top-overflow-expected.txt:
* platform/efl/fast/dynamic/anchor-lock-expected.txt:
* platform/efl/fast/events/autoscroll-expected.txt:
* platform/efl/fast/events/reveal-link-when-focused-expected.txt:
* platform/efl/fast/layers/scroll-rect-to-visible-expected.txt:
* platform/efl/fast/multicol/scrolling-overflow-expected.txt: Added.
* platform/efl/fast/overflow/clip-rects-fixed-ancestor-expected.txt: Added.
* platform/efl/fast/overflow/overflow_hidden-expected.txt:
* platform/efl/fast/overflow/position-fixed-transform-clipping-expected.txt:
* platform/efl/fast/overflow/scrollRevealButton-expected.txt:
* platform/efl/fast/repaint/fixed-child-move-after-scroll-expected.txt:
* platform/efl/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.txt:
* platform/efl/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.txt:
* platform/efl/fast/repaint/fixed-expected.txt:
* platform/efl/fast/repaint/fixed-move-after-scroll-expected.txt:
* platform/efl/fast/repaint/fixed-tranformed-expected.txt:
* platform/efl/fast/repaint/repaint-during-scroll-expected.txt:
* platform/efl/http/tests/navigation/postredirect-goback1-expected.txt:
* platform/efl/transforms/2d/transform-fixed-container-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add APIs to support theme.
https://bugs.webkit.org/show_bug.cgi?id=90107

Reviewed by Hajime Morita.

Source/WebKit2:

RenderThemeEfl uses edj file to render native theme of form elements.
This patch provides default theme and a way to change edj theme file for
WebKit2/Efl.

* PlatformEfl.cmake:
* UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data):
(ewk_view_base_add):
(ewk_view_theme_set):
(ewk_view_theme_get):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/WebPageProxy.h:
(WebPageProxy):
* UIProcess/efl/WebPageProxyEfl.cpp:
(WebKit::WebPageProxy::setThemePath):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebPage/efl/WebPageEfl.cpp:
(WebKit::WebPage::setThemePath):

Tools:

Override default theme path for MiniBrowser and WebKitTestRunner.

* MiniBrowser/efl/CMakeLists.txt:
* MiniBrowser/efl/main.c:
(browserCreate):
* WebKitTestRunner/PlatformEfl.cmake:
* WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
(WTR::PlatformWebView::PlatformWebView):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Introduce TestInterfaces to hold all the JavaScript interfaces needed for LayoutTests
https://bugs.webkit.org/show_bug.cgi?id=91312

Reviewed by Ryosuke Niwa.

Looking forward to moving more objects into TestRunner.a, we're going
to need an object to own all the interfaces and to put them through
their lifecycle.

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
(TestShell::resetTestController):
(TestShell::bindJSObjectsToWindow):
* DumpRenderTree/chromium/TestShell.h:
(TestShell):
* DumpRenderTree/chromium/TestRunner/TestInterfaces.cpp: Added.
* DumpRenderTree/chromium/TestRunner/TestInterfaces.h: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Some events should be always stopped at shadow boundary.
https://bugs.webkit.org/show_bug.cgi?id=90436

Reviewed by Ryosuke Niwa.

Source/WebCore:

The spec is here:
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#events-that-are-always-stopped

Test: fast/dom/shadow/events-stopped-at-shadow-boundary.html

* dom/EventDispatcher.cpp:
(WebCore::EventDispatcher::determineDispatchBehavior):

LayoutTests:

* fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt: Added.
* fast/dom/shadow/events-stopped-at-shadow-boundary.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION: RenderInline::absoluteQuads produces incorrect results for fixed position.
https://bugs.webkit.org/show_bug.cgi?id=91451

Patch by Kiran Muppala <cmuppala@apple.com> on 2012-07-16
Reviewed by Simon Fraser.

Source/WebCore:

RenderInline::absoluteQuads relies on copies of RenderGeometryMap,
created indirectly by passing AbsoluteQuadsGeneratorContext object by
value.  These copies are unsafe because the individual transform steps
within the geometry map include a owned poitner to their respective
transform.

Modify the callee methods to take context by reference and disable
copy constructor for RenderGeometryMap.

Test: fast/inline/inline-fixed-position-boundingbox.html

* rendering/RenderGeometryMap.h:
(WebCore::RenderGeometryMapStep::RenderGeometryMapStep): Add missing
m_offset to copy constructor initialization list.
(RenderGeometryMap): Disable copy constructor.
* rendering/RenderInline.cpp: Pass context object by reference.
(WebCore::RenderInline::generateLineBoxRects):
(WebCore::RenderInline::generateCulledLineBoxRects):
(WebCore::RenderInline::absoluteRects):
(WebCore::RenderInline::absoluteQuads):
(WebCore::RenderInline::linesBoundingBox):
(WebCore::RenderInline::culledInlineVisualOverflowBoundingBox):
(WebCore::RenderInline::addFocusRingRects):
* rendering/RenderInline.h:
(RenderInline::generateLineBoxRects): Update method declarations to
show pass by reference context parameter.
(RenderInline::generateCulledLineBoxRects): Ditto.

LayoutTests:

Add a regression test for boundingBox of an inline element with fixed position.

* fast/inline/inline-fixed-position-boundingbox-expected.txt: Added.
* fast/inline/inline-fixed-position-boundingbox.html: Added.

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