[EFL] Rebaseline pixel expectations after r131941 and r131991, part 2.

* platform/efl/fast/repaint/body-background-image-expected.png:
* platform/efl/fast/repaint/layout-state-only-positioned-expected.png:
* platform/efl/fast/repaint/layout-state-relative-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset2-expected.png:
* platform/efl/fast/repaint/layout-state-scrolloffset3-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-1-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-10-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-2-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-3-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-4-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-5-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-6-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-7-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-8-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-9-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/efl/fast/repaint/line-in-scrolled-clipped-block-expected.png:
* platform/efl/fast/repaint/line-overflow-expected.png:
* platform/efl/fast/repaint/lines-with-layout-delta-expected.png:
* platform/efl/fast/repaint/list-marker-2-expected.png:
* platform/efl/fast/repaint/make-children-non-inline-expected.png:
* platform/efl/fast/repaint/moving-shadow-on-path-expected.png:
* platform/efl/fast/repaint/multicol-repaint-expected.png:
* platform/efl/fast/repaint/nested-iframe-scroll-inner-expected.png:
* platform/efl/fast/repaint/nested-iframe-scroll-outer-expected.png:
* platform/efl/fast/repaint/no-caret-repaint-in-non-content-editable-element-expected.png:
* platform/efl/fast/repaint/opacity-change-on-overflow-float-expected.png:
* platform/efl/fast/repaint/outline-child-repaint-expected.png:
* platform/efl/fast/repaint/outline-inset-expected.png:
* platform/efl/fast/repaint/outline-repaint-glitch-expected.png:
* platform/efl/fast/repaint/outline-shrinking-expected.png:
* platform/efl/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-clip-subtree-layout-expected.png: Added.
* platform/efl/fast/repaint/overflow-delete-line-expected.png:
* platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.png:
* platform/efl/fast/repaint/overflow-hidden-in-overflow-hidden-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-hide-expected.png:
* platform/efl/fast/repaint/overflow-into-content-expected.png:
* platform/efl/fast/repaint/overflow-outline-repaint-expected.png:
* platform/efl/fast/repaint/overflow-scroll-delete-expected.png:
* platform/efl/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png:
* platform/efl/fast/repaint/overflow-show-expected.png:
* platform/efl/fast/repaint/reflection-redraw-expected.png:
* platform/efl/fast/repaint/reflection-repaint-test-expected.png:
* platform/efl/fast/repaint/region-painting-invalidation-expected.png:
* platform/efl/fast/repaint/region-painting-via-layout-expected.png:
* platform/efl/fast/repaint/rel-positioned-inline-with-overflow-expected.png:
* platform/efl/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
* platform/efl/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
* platform/efl/fast/repaint/repaint-during-scroll-expected.png:
* platform/efl/fast/repaint/repaint-during-scroll-with-zoom-expected.png:
* platform/efl/fast/repaint/repaint-resized-overflow-expected.png:
* platform/efl/fast/repaint/scroll-absolute-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTestRunner needs testRunner.queueLoadingScript and testRunner.queueNonLoadingScript
https://bugs.webkit.org/show_bug.cgi?id=42675

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

Tools:

Added implementation of testRunner.queueLoadingScript and testRunner.queueNonLoadingScript.

* WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::queueLoadingScript):
(WTR):
(WTR::InjectedBundle::queueNonLoadingScript):
* WebKitTestRunner/InjectedBundle/InjectedBundle.h:
(InjectedBundle):
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::queueLoadingScript):
(WTR):
(WTR::TestRunner::queueNonLoadingScript):
* WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
* WebKitTestRunner/WorkQueueManager.cpp:
(WTR):
(WTR::runJavaScriptFunction):
(ScriptItem):
(WTR::ScriptItem::ScriptItem):
(WTR::ScriptItem::invoke):
(WTR::WorkQueueManager::queueBackNavigation):
(WTR::WorkQueueManager::queueLoadingScript):
(WTR::WorkQueueManager::queueNonLoadingScript):
* WebKitTestRunner/WorkQueueManager.h:
(WorkQueueManager):

LayoutTests:

Unskipped corresponding test cases for WK2. Put those which still fail to appropriate
groups.

* platform/wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Move OBJECTS_DIR and friends to default_pre.prf

The introduction of load(qt_build_config) in .qmake.conf meant
that we started loading qtmodule.pri, which in turn set both
MOC_DIR, RCC_DIR, and OBJECTS_DIR.

We were setting OBJECTS_DIR in default_post under a isEmpty() guard
so that project files could override the objects dir. Instead of
using the isEmpty() check we move it to defaul_pre, which will
override the qtmodule.pri settings, but still allow project files
to override it.

Reviewed by Ossy.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move LayoutTests/fast/css3-text-decoration directory into LayoutTests/fast/css3-text directory.
https://bugs.webkit.org/show_bug.cgi?id=99948

Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-22
Reviewed by Hajime Morita.

css3-text-decoration is one of the feature under the ENABLE_CSS3_TEXT flag,
it should be maintained in the css3-text directory with other features under the same flag.

* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line.html.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt.
* fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style.html: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style.html.
* fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-line.js.
(testElementStyle):
(testComputedStyle):
* fast/css3-text/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-style.js: Renamed from LayoutTests/fast/css3-text-decoration/getComputedStyle/script-tests/getComputedStyle-text-decoration-style.js.
(testElementStyle):
(testComputedStyleValue):
(testValue):
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png.
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.txt.
* fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/repaint/repaint-text-decoration-line.html.
* fast/css3-text/css3-text-decoration/text-decoration-line-expected.html: Renamed from LayoutTests/fast/css3-text-decoration/text-decoration-line-expected.html.
* fast/css3-text/css3-text-decoration/text-decoration-line.html: Renamed from LayoutTests/fast/css3-text-decoration/text-decoration-line.html.
* platform/chromium/TestExpectations:
* platform/efl/fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png: Renamed from LayoutTests/platform/efl/fast/css3-text-decoration/repaint/repaint-text-decoration-line-expected.png.
* platform/mac/TestExpectations:
* platform/qt-4.8/TestExpectations:
* platform/qt-mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt: Renamed from LayoutTests/platform/win/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-line-expected.txt.
* platform/win/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt: Renamed from LayoutTests/platform/win/fast/css3-text-decoration/getComputedStyle/getComputedStyle-text-decoration-style-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline pixel expectations after r131941 and r131991, part 3.

* platform/efl/fast/repaint/scroll-fixed-layer-with-reflection-expected.png:
* platform/efl/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png:
* platform/efl/fast/repaint/scroll-fixed-reflected-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-clipped-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-fixed-layer-expected.png:
* platform/efl/fast/repaint/scroll-in-transformed-layer-expected.png:
* platform/efl/fast/repaint/scroll-inside-table-cell-expected.png:
* platform/efl/fast/repaint/scroll-relative-table-inside-table-cell-expected.png:
* platform/efl/fast/repaint/scroll-with-transformed-parent-layer-expected.png:
* platform/efl/fast/repaint/search-field-cancel-expected.png:
* platform/efl/fast/repaint/select-option-background-color-expected.png:
* platform/efl/fast/repaint/selected-replaced-expected.png:
* platform/efl/fast/repaint/selection-after-delete-expected.png:
* platform/efl/fast/repaint/selection-after-remove-expected.png:
* platform/efl/fast/repaint/selection-gap-overflow-scroll-2-expected.png:
* platform/efl/fast/repaint/selection-gap-overflow-scroll-expected.png:
* platform/efl/fast/repaint/selection-rl-expected.png:
* platform/efl/fast/repaint/stacked-diacritics-expected.png:
* platform/efl/fast/repaint/static-to-positioned-expected.png:
* platform/efl/fast/repaint/subtree-layoutstate-transform-expected.png:
* platform/efl/fast/repaint/subtree-root-clip-2-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-clip-3-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-clip-expected.png: Added.
* platform/efl/fast/repaint/subtree-root-skipped-expected.png:
* platform/efl/fast/repaint/table-cell-collapsed-border-expected.png:
* platform/efl/fast/repaint/table-cell-move-expected.png:
* platform/efl/fast/repaint/table-col-background-expected.png:
* platform/efl/fast/repaint/table-collapsed-border-expected.png:
* platform/efl/fast/repaint/table-extra-bottom-grow-expected.png:
* platform/efl/fast/repaint/table-outer-border-expected.png:
* platform/efl/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png:
* platform/efl/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png:
* platform/efl/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png:
* platform/efl/fast/repaint/table-row-expected.png:
* platform/efl/fast/repaint/table-section-overflow-expected.png:
* platform/efl/fast/repaint/table-section-repaint-expected.png:
* platform/efl/fast/repaint/table-two-pass-layout-overpaint-expected.png:
* platform/efl/fast/repaint/text-append-dirty-lines-expected.png:
* platform/efl/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
* platform/efl/fast/repaint/text-selection-rect-in-overflow-expected.png:
* platform/efl/fast/repaint/textarea-set-disabled-expected.png:
* platform/efl/fast/repaint/transform-absolute-child-expected.png:
* platform/efl/fast/repaint/transform-absolute-in-positioned-container-expected.png:
* platform/efl/fast/repaint/transform-disable-layoutstate-expected.png:
* platform/efl/fast/repaint/transform-layout-repaint-expected.png:
* platform/efl/fast/repaint/transform-relative-position-expected.png:
* platform/efl/fast/repaint/transform-repaint-descendants-expected.png:
* platform/efl/fast/repaint/transform-replaced-shadows-expected.png:
* platform/efl/fast/repaint/transform-rotate-and-remove-expected.png:
* platform/efl/fast/repaint/transform-translate-expected.png:
* platform/efl/fast/table/border-collapsing/cached-69296-expected.png:
* platform/efl/fast/table/border-collapsing/cached-change-cell-sl-border-color-expected.png: Added.
* platform/efl/fast/table/border-collapsing/cached-change-row-border-width-expected.png: Added.
* platform/efl/fast/table/border-collapsing/cached-change-tbody-border-width-expected.png: Added.
* platform/efl/fast/table/border-collapsing/collapsed-border-with-col-colgroup-span-expected.png: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: merge "docked" state into the "dock side" enum.
https://bugs.webkit.org/show_bug.cgi?id=99717

Reviewed by Vsevolod Vlasov.

.:

Otherwise, it is hard to manage these inter-dependent flags.

* Source/autotools/symbols.filter:

Source/WebCore:

Otherwise, it is hard to manage these inter-dependent flags.

* WebCore.exp.in:
* inspector/InspectorFrontendClient.h:
(InspectorFrontendClient):
* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::requestSetDockSide):
(WebCore::InspectorFrontendClientLocal::setAttachedWindow):
* inspector/InspectorFrontendClientLocal.h:
(InspectorFrontendClientLocal):
* inspector/InspectorFrontendHost.cpp:
(WebCore::InspectorFrontendHost::requestSetDockSide):
* inspector/InspectorFrontendHost.h:
(InspectorFrontendHost):
* inspector/InspectorFrontendHost.idl:
* inspector/front-end/DockController.js:
(WebInspector.DockController):
(WebInspector.DockController.prototype._updateUI.get sides):
(WebInspector.DockController.prototype._updateUI):
(WebInspector.DockController.prototype._toggleDockState):
* inspector/front-end/InspectorFrontendAPI.js:
(InspectorFrontendAPI.setAttachedWindow):
(InspectorFrontendAPI.setDockSide):
* inspector/front-end/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.requestSetDockSide):
* inspector/front-end/externs.js:

Source/WebKit/chromium:

Otherwise, it is hard to manage these inter-dependent flags.

* src/InspectorFrontendClientImpl.cpp:
(WebKit::InspectorFrontendClientImpl::requestSetDockSide):
* src/InspectorFrontendClientImpl.h:
(InspectorFrontendClientImpl):

Source/WebKit2:

* win/WebKit2.def:
* win/WebKit2CFLite.def:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Don't build any of the tools in production_build

Reviewed by Simon Hausmann.

* Tools.pro:
* qmake/mkspecs/features/configure.prf:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Shadow] ASSERT triggered when we try reprojecting fallback elements.
https://bugs.webkit.org/show_bug.cgi?id=99815

Reviewed by Hajime Morita.

Source/WebCore:

When fallback elements of InsertionPoint is reprojected, they were attached twice.
We have to skip attaching them if they are attached. We also add a few ASSERT not to
allow attaching twice if not necessary.

We have confirmed that this patch does not regress the performance. The summary of the
performance test is the following:

Dromaeo/dom-modify.html [runs/s]:
                       median stdev    min    max
   without this patch:   3928   184   3655   4361
   with this patch   :   3925   178   3652   4350

Parser/html5-full-render.html [s]:
                       median stdev    min    max
   without this patch:   3821    17   3811   3850
   with this patch   :   3838   4.4   3833   3844

Test: fast/dom/shadow/content-reprojection-fallback-crash.html

* dom/ContainerNode.cpp:
(WebCore):
(WebCore::childAttachedAllowedWhenAttachingChildren): If true, children of this node might
be attached in advance because of ShadowDOM attaching process.
* dom/ContainerNode.h:
(ContainerNode):
(WebCore):
(WebCore::ContainerNode::attachChildren):
* dom/Element.cpp:
(WebCore::Element::attach):
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::attach):

LayoutTests:

* fast/dom/shadow/content-reprojection-fallback-crash-expected.txt: Added.
* fast/dom/shadow/content-reprojection-fallback-crash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WTR] Properly initialize TestRunner::m_dumpSelectionRect.
https://bugs.webkit.org/show_bug.cgi?id=99970

Reviewed by Kenneth Rohde Christiansen.

Follow-up to r131476: actually initialize m_dumpSelectionRect to
some value to avoid some flakyness in the tests.

* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::TestRunner):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HarfBuzzShaper::shape() should return false when it adds no glyph to GlyphBuffer
https://bugs.webkit.org/show_bug.cgi?id=99966

Reviewed by Kent Tamura.

If no glyph is added to GlyphBuffer, HarfBuzzShaper::shape() returns false.

No new tests. Confirmed the fix by using Address Sanitizer.

* platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:
(WebCore::HarfBuzzShaper::shape):
(WebCore::HarfBuzzShaper::fillGlyphBuffer): Returns false when glyphBuffer.size() == 0
* platform/graphics/harfbuzz/ng/HarfBuzzShaper.h:
(HarfBuzzShaper):


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