EFL port gardening after r139145, r139002.

Unreviewed gardening.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][Mac] GraphicsSurface does not need glEnable/glDisable for texture targets.
https://bugs.webkit.org/show_bug.cgi?id=106310

glEnable/glDisable for texture targets is only necessary
when using the fixed function pipeline.
Enabling or disabling the target might cause unexpected
behavior to texture bindings and is therefore considered harmful.

Reviewed by Noam Rosenthal.

* platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp:
(WebCore::createTexture):
(WebCore::GraphicsSurfacePrivate::copyFromTexture):
(WebCore::GraphicsSurface::platformCopyToGLTexture):

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

Skipping failing tests after r139111, r139140.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Fix make distcheck.

Source/JavaScriptCore:

* GNUmakefile.list.am: Add mips.rb to offlineasm_nosources.

Source/WebCore:

* GNUmakefile.list.am: Add missing headers.

Source/WebKit2:

* GNUmakefile.list.am: Add missing headers.

Source/WTF:

* GNUmakefile.list.am: Add missing header.

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

Rebaselining of media/video-controls-captions.html.

* platform/efl/media/video-controls-captions-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] WebGL content is incomplete when using multiple canvas
https://bugs.webkit.org/show_bug.cgi?id=106313

While we are using double buffering for WebGL,
we do not use a drawable that implements a mechanism
for swapping buffers.
Therefore we have to make sure that all GL commands
have been executed properly before copying the texture
onto the GraphicsSurface.

Reviewed by Simon Hausmann.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::blitMultisampleFramebufferAndRestoreContext):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed: A trivial fix for WebFrameTest.DivAutoZoomParamsTest after r139177.

* tests/WebFrameTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: cannot undock inspector when window size is too small
https://bugs.webkit.org/show_bug.cgi?id=106054

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-01-09
Reviewed by Pavel Feldman.

Consider dockingUnavailable flag only when dockSide is in undocked
state.

* inspector/front-end/DockController.js:
(WebInspector.DockController.prototype._updateUI.get document):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][EFL][WK2] Remove redundant device pixel ratio adjustment from PageViewportController
https://bugs.webkit.org/show_bug.cgi?id=106355

Reviewed by Kenneth Rohde Christiansen.

Since r137597 Qt uses the device pixel ratio of the underlying
platform window as the device pixel ratio in WebCore.
The tiles are rendered with the effective scale (scale adjusted with
the device scale factor) and the projection matrix is also adjusted
with the device pixel ratio when painting.
As a result we can follow the same approach as QtQuick and all the
coordinates in PageViewportController need to be in device independent
pixels (UI pixels) thus we do no longer need to adjust with the device
pixel ratio when calculating the viewport attributes.
This simplifies the logic significantly and increases robustness,
but does not allow to set a custom device pixel ratio different from
the factor of the underlying platform (eg. for testing purposes).
This patch is conceptually a follow-up of r137597 and fixes layout
and canvas size on retina display.

* UIProcess/PageViewportController.cpp:
(WebKit::PageViewportController::PageViewportController):
(WebKit::PageViewportController::innerBoundedViewportScale):
(WebKit::PageViewportController::outerBoundedViewportScale):
(WebKit::PageViewportController::pixelAlignedFloatPoint):
(WebKit::PageViewportController::boundContentsPosition):
(WebKit::PageViewportController::didRenderFrame):
(WebKit::PageViewportController::pageTransitionViewportReady):
(WebKit::PageViewportController::didChangeContentsVisibility):
(WebKit::PageViewportController::syncVisibleContents):
(WebKit::PageViewportController::visibleContentsSize):
(WebKit::PageViewportController::applyScaleAfterRenderingContents):
(WebKit::PageViewportController::updateMinimumScaleToFit):
* UIProcess/PageViewportController.h:
(WebKit::PageViewportController::currentContentsScale):
(PageViewportController):
* UIProcess/efl/PageViewportControllerClientEfl.cpp:
(WebKit::PageViewportControllerClientEfl::updateViewportSize):
Adjust the viewport size with the device pixel ratio to keep previous
behaviour.
* UIProcess/qt/PageViewportControllerClientQt.cpp:
(WebKit::PageViewportControllerClientQt::focusEditableArea):
(WebKit::PageViewportControllerClientQt::zoomToAreaGestureEnded):
* UIProcess/qt/QtWebPageSGNode.cpp:
(WebKit::ContentsSGNode::clipRect):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::sendViewportAttributesChanged):

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

Skipping failing tests after r139141, r139145.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Skia] Implement GraphicsContext::fillRoundedRect() using SkCanvas::drawRRect()
https://bugs.webkit.org/show_bug.cgi?id=106366

Reviewed by Stephen White.

Source/WebCore:

Skia provides rounded-rect primitives, so we can avoid degrading fillRoundedRect() to
drawPath().

Due to subtle pixel differences (not visually noticeable), switching from drawPath() to
drawRRect() requires rebaselining some of the existing results.

No new tests: coverage provided by existing tests.

* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::fillRoundedRect):
* platform/graphics/skia/PlatformContextSkia.h:
(WebCore::PlatformContextSkia::drawRRect):
(WebCore):

LayoutTests:

* platform/chromium-linux/compositing/video/video-controls-layer-creation-expected.png:
* platform/chromium-linux/fast/backgrounds/background-leakage-expected.png:
* platform/chromium-linux/fast/backgrounds/background-leakage-transforms-expected.png:
* platform/chromium-linux/fast/borders/border-radius-split-inline-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusDouble03-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusGroove02-expected.png:
* platform/chromium-linux/fast/borders/borderRadiusInset01-expected.png:
* platform/chromium-linux/fast/box-shadow/basic-shadows-expected.png:
* platform/chromium-linux/fast/box-shadow/box-shadow-clipped-slices-expected.png:
* platform/chromium-linux/fast/box-shadow/spread-expected.png:
* platform/chromium-linux/fast/css/box-shadow-and-border-radius-expected.png:
* platform/chromium-linux/fast/css/shadow-multiple-expected.png:
* platform/chromium-linux/fast/css/text-input-with-webkit-border-radius-expected.png:
* platform/chromium-linux/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-linux/fast/layers/video-layer-expected.png:
* platform/chromium-linux/fast/regions/full-screen-video-from-region-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/chromium-linux/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/chromium-linux/fast/transforms/shadows-expected.png:
* platform/chromium-linux/fullscreen/full-screen-stacking-context-expected.png:
* platform/chromium-linux/http/tests/media/video-buffered-range-contains-currentTime-expected.png:
* platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.png:
* platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.png:
* platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.png:
* platform/chromium-linux/media/audio-controls-rendering-expected.png:
* platform/chromium-linux/media/audio-repaint-expected.png:
* platform/chromium-linux/media/controls-after-reload-expected.png:
* platform/chromium-linux/media/controls-layout-direction-expected.png:
* platform/chromium-linux/media/controls-strict-expected.png:
* platform/chromium-linux/media/controls-styling-expected.png:
* platform/chromium-linux/media/controls-styling-strict-expected.png:
* platform/chromium-linux/media/controls-without-preload-expected.png:
* platform/chromium-linux/media/media-controls-clone-expected.png:
* platform/chromium-linux/media/media-document-audio-repaint-expected.png:
* platform/chromium-linux/media/video-controls-rendering-expected.png:
* platform/chromium-linux/media/video-display-toggle-expected.png:
* platform/chromium-linux/media/video-empty-source-expected.png:
* platform/chromium-linux/media/video-no-audio-expected.png:
* platform/chromium-linux/media/video-playing-and-pause-expected.png:
* platform/chromium-linux/media/video-zoom-controls-expected.png:
* platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
* platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-ru-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-linux/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Native Memory Instrumentation: fix instrumentation for already instrumented classes 1/N
https://bugs.webkit.org/show_bug.cgi?id=106445

Reviewed by Vsevolod Vlasov.

The patch has almost mechanical changes.

* bindings/v8/V8Binding.cpp:
* bindings/v8/V8ValueCache.cpp:
(WTF):
(WebCore::StringCache::reportMemoryUsage):
(WebCore):
* dom/Document.cpp:
(WebCore::Document::reportMemoryUsage):
* dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
* dom/ElementRareData.cpp:
(WebCore::ElementRareData::reportMemoryUsage):
* loader/cache/CachedResource.cpp:
(WebCore::CachedResource::reportMemoryUsage):
* page/Frame.cpp:
(WebCore::Frame::reportMemoryUsage):
* page/Page.cpp:
(WebCore::Page::reportMemoryUsage):
* platform/graphics/skia/NativeImageSkia.cpp:
(WebCore::NativeImageSkia::reportMemoryUsage):
* platform/network/FormData.cpp:
(WebCore::FormData::reportMemoryUsage):
(WebCore):
(WebCore::FormDataElement::reportMemoryUsage):
* platform/network/FormData.h:
(FormDataElement):
* rendering/RenderView.cpp:
(WebCore::RenderView::reportMemoryUsage):
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::reportMemoryUsage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Remove ASSERTs that can't assert but result in compiler warnings
https://bugs.webkit.org/show_bug.cgi?id=106442

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2013-01-09
Reviewed by Kentaro Hara.

IDBLevelDBCoding::m_metaDataType has been changed to unsigned
so ASSERT(m_metaDataType >= 0) is no longer useful: the compiler
warnings however create build difficulties at least with EFL.

* Modules/indexeddb/IDBLevelDBCoding.cpp:
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::metaDataType):
(WebCore::IDBLevelDBCoding::ObjectStoreMetaDataKey::compare):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][NRWT] Pass --timeout to DRT/WTR if a test is marked as SLOW.
https://bugs.webkit.org/show_bug.cgi?id=90968.

Reviewed by Csaba Osztrogonác.

Added functionality in DRT and WTR to use any timeout value while running
slow tests (eventually, any test). Now NRWT --time-out-ms determines the
timeout value for the test. Added a flag in NRWT (supports_per_test_timeout)
to indicate whether the current port supports setting timeout value
per test (it's False by default; I enabled it only on Qt).
Also corrected a typo in driver.py

* DumpRenderTree/DumpRenderTree.h:
(TestCommand::TestCommand):
(TestCommand):
* DumpRenderTree/DumpRenderTreeCommon.cpp:
(parseInputLine):
* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::processLine):
* Scripts/webkitpy/layout_tests/port/base.py:
(Port.supports_per_test_timeout):
* Scripts/webkitpy/layout_tests/port/driver.py:
(Driver.run_test):
(Driver._command_from_driver_input):
* Scripts/webkitpy/layout_tests/port/qt.py:
(QtPort.supports_per_test_timeout):
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::InjectedBundle):
(WTR::InjectedBundle::didReceiveMessage):
(WTR::InjectedBundle::beginTesting):
* WebKitTestRunner/InjectedBundle/InjectedBundle.h:
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setCustomTimeout):
(WTR):
* WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):
* WebKitTestRunner/InjectedBundle/qt/TestRunnerQt.cpp:
(WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::TestController):
(WTR::TestController::getCustomTimeout):
(WTR):
(WTR::TestCommand::TestCommand):
(TestCommand):
(WTR::parseInputLine):
(WTR::TestController::runTest):
(WTR::TestController::runUntil):
* WebKitTestRunner/TestController.h:
(TestController):
* WebKitTestRunner/TestInvocation.cpp:
(WTR::TestInvocation::TestInvocation):
(WTR::TestInvocation::setCustomTimeout):
(WTR):
(WTR::TestInvocation::invoke):
* WebKitTestRunner/TestInvocation.h:
(TestInvocation):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: native popup buttons should not use textUnderElement for their title
https://bugs.webkit.org/show_bug.cgi?id=106349

Reviewed by Ryosuke Niwa.

Chromium relies on the older title() method to return its title. As a result, we also
need to handle the case of <select> element pop up buttons returning the textUnderElement().

No new tests. Fix existing break.

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::title):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139195 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Regression(r138681) : Add HAVE(ACCESSIBILITY) guard to atk files, fix for a fix.
https://bugs.webkit.org/show_bug.cgi?id=106448

Reviewed by Gyuyoung Kim.

Some atk files don't use HAVE(ACCESSIBILITY). It might make build errors when
the macro isn't enabled.

* accessibility/atk/WebKitAccessibleHyperlink.h:
* accessibility/atk/WebKitAccessibleInterfaceAction.h:
* accessibility/atk/WebKitAccessibleInterfaceComponent.h:
* accessibility/atk/WebKitAccessibleInterfaceHypertext.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139196 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Selecting text through nested regions causes weird and unclearable selection  
https://bugs.webkit.org/show_bug.cgi?id=105641

Reviewed by David Hyatt.

If you have a region with a nested region inside what is rendered below the base region and you are trying select text
starting from the base region and ending it in the nested region, firstly you got a weird selection, secondly you can't
clear the selection. We could prevent this strange behavior by preventing the selection through different region flows.

Source/WebCore: 

Test: fast/regions/selecting-text-through-different-region-flows.html

* rendering/RenderView.cpp:
(WebCore::RenderView::setSelection): Don't allow selection when trying to select different region flows.

LayoutTests: 

* fast/regions/selecting-text-through-different-region-flows-expected.txt: Added.
* fast/regions/selecting-text-through-different-region-flows.html: Added.
* platform/chromium-mac/fast/regions/selecting-text-through-different-region-flows-expected.png: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [Shadow DOM]: ShadowRoot has wrong nodeName attribute
https://bugs.webkit.org/show_bug.cgi?id=104995

Reviewed by Dimitri Glazkov.

According to the Shadow DOM spec, ShadowRoot.nodeName should return '#document-fragment' instead of '#shadow-root'.
We remove ShadowRoot::nodeName.

No new tests, covered by existing tests.

* dom/ShadowRoot.cpp:
* dom/ShadowRoot.h:
(ShadowRoot):

LayoutTests: [Shadow DOM]: ShadowRoot wrong nodeName attribute
https://bugs.webkit.org/show_bug.cgi?id=104995

Reviewed by Dimitri Glazkov.

Converted #shadow-root to #document-fragment in LayoutTests files using sed.

* editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
* editing/deleting/delete-ligature-001-expected.txt:
* editing/pasteboard/copy-in-password-field-expected.txt:
* editing/selection/select-all-textarea-expected.txt:
* fast/dom/shadow/layout-tests-can-access-shadow-expected.txt:
* fast/dom/shadow/layout-tests-can-access-shadow.html:
* fast/dom/shadow/shadow-and-list-elements.html:
* fast/events/5056619-expected.txt:
* fast/forms/focus-selection-input-expected.txt:
* fast/forms/focus-selection-textarea-expected.txt:
* fast/forms/textfield-outline-expected.txt:
* fast/html/details-add-summary-1-and-click-expected.txt:
* fast/html/details-add-summary-10-and-click-expected.txt:
* fast/html/details-add-summary-2-and-click-expected.txt:
* fast/html/details-add-summary-3-and-click-expected.txt:
* fast/html/details-add-summary-4-and-click-expected.txt:
* fast/html/details-add-summary-5-and-click-expected.txt:
* fast/html/details-add-summary-6-and-click-expected.txt:
* fast/html/details-add-summary-7-and-click-expected.txt:
* fast/html/details-add-summary-8-and-click-expected.txt:
* fast/html/details-add-summary-9-and-click-expected.txt:
* fast/html/details-remove-summary-1-and-click-expected.txt:
* fast/html/details-remove-summary-2-and-click-expected.txt:
* fast/html/details-remove-summary-3-and-click-expected.txt:
* fast/html/details-remove-summary-4-and-click-expected.txt:
* fast/html/details-remove-summary-5-and-click-expected.txt:
* fast/html/details-remove-summary-6-and-click-expected.txt:
* inspector/elements/shadow-dom-modify-chardata-expected.txt:
* inspector/elements/shadow-root-expected.txt:
* inspector/elements/shadow-root.html:
* inspector/elements/update-shadowdom-expected.txt:
* platform/chromium-android/fast/events/autoscroll-expected.txt:
* platform/chromium-android/fast/forms/input-appearance-selection-expected.txt:
* platform/chromium-android/fast/frames/take-focus-from-iframe-expected.txt:
* platform/chromium-linux-x86/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium-linux/fast/forms/input-text-double-click-expected.txt:
* platform/chromium-linux/fast/forms/textfield-outline-expected.txt:
* platform/chromium-linux/fast/forms/validation-message-appearance-expected.txt:
* platform/chromium-mac-lion/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/chromium-mac-lion/fast/forms/search-rtl-expected.txt:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/chromium-mac-snowleopard/fast/forms/search-rtl-expected.txt:
* platform/chromium-mac/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/chromium-mac/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/chromium-mac/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/chromium-mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/chromium-mac/fast/forms/search-rtl-expected.txt:
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/chromium-mac/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/chromium-win-xp/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium-win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
* platform/chromium-win/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/chromium-win/editing/inserting/4960120-1-expected.txt:
* platform/chromium-win/editing/pasteboard/drop-text-without-selection-expected.txt:
* platform/chromium-win/editing/pasteboard/pasting-tabs-expected.txt:
* platform/chromium-win/editing/selection/4895428-3-expected.txt:
* platform/chromium-win/editing/selection/4975120-expected.txt:
* platform/chromium-win/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/chromium-win/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/chromium-win/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium-win/fast/events/autoscroll-expected.txt:
* platform/chromium-win/fast/events/context-no-deselect-expected.txt:
* platform/chromium-win/fast/forms/input-appearance-focus-expected.txt:
* platform/chromium-win/fast/forms/input-appearance-readonly-expected.txt:
* platform/chromium-win/fast/forms/input-appearance-selection-expected.txt:
* platform/chromium-win/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/chromium-win/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/chromium-win/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/chromium-win/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/chromium-win/fast/forms/input-text-click-inside-expected.txt:
* platform/chromium-win/fast/forms/input-text-double-click-expected.txt:
* platform/chromium-win/fast/forms/input-text-drag-down-expected.txt:
* platform/chromium-win/fast/forms/input-text-option-delete-expected.txt:
* platform/chromium-win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/chromium-win/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/chromium-win/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/chromium-win/fast/forms/plaintext-mode-2-expected.txt:
* platform/chromium-win/fast/forms/search-rtl-expected.txt:
* platform/chromium-win/fast/forms/tabbing-input-iframe-expected.txt:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/chromium-win/fast/forms/textarea-scrollbar-expected.txt:
* platform/chromium-win/fast/forms/textarea-scrolled-type-expected.txt:
* platform/chromium-win/fast/forms/textfield-focus-ring-expected.txt:
* platform/chromium-win/fast/forms/textfield-outline-expected.txt:
* platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
* platform/chromium-win/fast/forms/validation-message-appearance-expected.txt:
* platform/chromium-win/fast/frames/take-focus-from-iframe-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/chromium-win/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/chromium-win/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/chromium-win/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
* platform/chromium/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/chromium/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/chromium/editing/inserting/4960120-1-expected.txt:
* platform/chromium/editing/pasteboard/drop-text-without-selection-expected.txt:
* platform/chromium/editing/pasteboard/pasting-tabs-expected.txt:
* platform/chromium/editing/selection/4895428-3-expected.txt:
* platform/chromium/editing/selection/4975120-expected.txt:
* platform/chromium/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt:
* platform/chromium/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt:
* platform/chromium/fast/events/autoscroll-expected.txt:
* platform/chromium/fast/events/context-no-deselect-expected.txt:
* platform/chromium/fast/forms/input-appearance-focus-expected.txt:
* platform/chromium/fast/forms/input-appearance-readonly-expected.txt:
* platform/chromium/fast/forms/input-appearance-selection-expected.txt:
* platform/chromium/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/chromium/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/chromium/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/chromium/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/chromium/fast/forms/input-text-click-inside-expected.txt:
* platform/chromium/fast/forms/input-text-double-click-expected.txt:
* platform/chromium/fast/forms/input-text-drag-down-expected.txt:
* platform/chromium/fast/forms/input-text-option-delete-expected.txt:
* platform/chromium/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/chromium/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/chromium/fast/forms/plaintext-mode-2-expected.txt:
* platform/chromium/fast/forms/search-rtl-expected.txt:
* platform/chromium/fast/forms/tabbing-input-iframe-expected.txt:
* platform/chromium/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/chromium/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/chromium/fast/forms/textarea-scrollbar-expected.txt:
* platform/chromium/fast/forms/textarea-scrolled-type-expected.txt:
* platform/chromium/fast/forms/textfield-focus-ring-expected.txt:
* platform/chromium/fast/forms/textfield-outline-expected.txt:
* platform/chromium/fast/forms/textfield-overflow-expected.txt:
* platform/chromium/fast/frames/take-focus-from-iframe-expected.txt:
* platform/chromium/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/chromium/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/chromium/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
* platform/efl/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/efl/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/efl/editing/inserting/4960120-1-expected.txt:
* platform/efl/fast/events/autoscroll-expected.txt:
* platform/efl/fast/events/context-no-deselect-expected.txt:
* platform/efl/fast/forms/input-appearance-focus-expected.txt:
* platform/efl/fast/forms/input-appearance-readonly-expected.txt:
* platform/efl/fast/forms/input-appearance-selection-expected.txt:
* platform/efl/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/efl/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/efl/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/efl/fast/forms/input-text-click-inside-expected.txt:
* platform/efl/fast/forms/input-text-double-click-expected.txt:
* platform/efl/fast/forms/input-text-option-delete-expected.txt:
* platform/efl/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/efl/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/efl/fast/forms/tabbing-input-iframe-expected.txt:
* platform/efl/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/efl/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/efl/fast/forms/textarea-scrollbar-expected.txt:
* platform/efl/fast/forms/textarea-scrolled-type-expected.txt:
* platform/efl/fast/forms/textfield-focus-ring-expected.txt:
* platform/efl/fast/forms/textfield-outline-expected.txt:
* platform/efl/fast/forms/validation-message-appearance-expected.txt:
* platform/efl/fast/frames/take-focus-from-iframe-expected.txt:
* platform/efl/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/efl/fast/text/textIteratorNilRenderer-expected.txt:
* platform/efl/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/gtk/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/gtk/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/gtk/editing/inserting/4960120-1-expected.txt:
* platform/gtk/editing/pasteboard/drop-text-without-selection-expected.txt:
* platform/gtk/editing/pasteboard/pasting-tabs-expected.txt:
* platform/gtk/editing/selection/4895428-3-expected.txt:
* platform/gtk/editing/selection/4975120-expected.txt:
* platform/gtk/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/gtk/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/gtk/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/gtk/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/gtk/fast/events/autoscroll-expected.txt:
* platform/gtk/fast/events/context-no-deselect-expected.txt:
* platform/gtk/fast/forms/input-appearance-focus-expected.txt:
* platform/gtk/fast/forms/input-appearance-readonly-expected.txt:
* platform/gtk/fast/forms/input-appearance-selection-expected.txt:
* platform/gtk/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/gtk/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/gtk/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/gtk/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/gtk/fast/forms/input-text-click-inside-expected.txt:
* platform/gtk/fast/forms/input-text-click-outside-expected.txt:
* platform/gtk/fast/forms/input-text-double-click-expected.txt:
* platform/gtk/fast/forms/input-text-drag-down-expected.txt:
* platform/gtk/fast/forms/input-text-option-delete-expected.txt:
* platform/gtk/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/gtk/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/gtk/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/gtk/fast/forms/plaintext-mode-2-expected.txt:
* platform/gtk/fast/forms/search-rtl-expected.txt:
* platform/gtk/fast/forms/tabbing-input-iframe-expected.txt:
* platform/gtk/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/gtk/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/gtk/fast/forms/textarea-scrollbar-expected.txt:
* platform/gtk/fast/forms/textarea-scrolled-type-expected.txt:
* platform/gtk/fast/forms/textfield-focus-ring-expected.txt:
* platform/gtk/fast/forms/textfield-outline-expected.txt:
* platform/gtk/fast/forms/textfield-overflow-expected.txt:
* platform/gtk/fast/forms/validation-message-appearance-expected.txt:
* platform/gtk/fast/frames/take-focus-from-iframe-expected.txt:
* platform/gtk/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/gtk/fast/text/textIteratorNilRenderer-expected.txt:
* platform/gtk/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/mac-wk2/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/mac-wk2/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/mac-wk2/fast/forms/plaintext-mode-2-expected.txt:
* platform/mac/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/mac/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/mac/editing/inserting/4960120-1-expected.txt:
* platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt:
* platform/mac/editing/pasteboard/pasting-tabs-expected.txt:
* platform/mac/editing/selection/4895428-3-expected.txt:
* platform/mac/editing/selection/4975120-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/mac/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/mac/editing/spelling/autocorrection-at-beginning-of-word-1-expected.txt:
* platform/mac/editing/spelling/autocorrection-at-beginning-of-word-2-expected.txt:
* platform/mac/fast/events/autoscroll-expected.txt:
* platform/mac/fast/events/context-no-deselect-expected.txt:
* platform/mac/fast/forms/input-appearance-focus-expected.txt:
* platform/mac/fast/forms/input-appearance-readonly-expected.txt:
* platform/mac/fast/forms/input-appearance-selection-expected.txt:
* platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
* platform/mac/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/mac/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/mac/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/mac/fast/forms/input-text-click-inside-expected.txt:
* platform/mac/fast/forms/input-text-double-click-expected.txt:
* platform/mac/fast/forms/input-text-drag-down-expected.txt:
* platform/mac/fast/forms/input-text-option-delete-expected.txt:
* platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/mac/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/mac/fast/forms/plaintext-mode-2-expected.txt:
* platform/mac/fast/forms/search-rtl-expected.txt:
* platform/mac/fast/forms/tabbing-input-iframe-expected.txt:
* platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/mac/fast/forms/textarea-scrollbar-expected.txt:
* platform/mac/fast/forms/textarea-scrolled-type-expected.txt:
* platform/mac/fast/forms/textfield-focus-ring-expected.txt:
* platform/mac/fast/forms/textfield-outline-expected.txt:
* platform/mac/fast/forms/textfield-overflow-expected.txt:
* platform/mac/fast/forms/validation-message-appearance-expected.txt:
* platform/mac/fast/frames/take-focus-from-iframe-expected.txt:
* platform/mac/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/mac/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/mac/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/mac/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/mac/platform/mac/fast/forms/input-appearance-spinbutton-up-expected.txt:
* platform/qt/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/qt/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/qt/editing/inserting/4960120-1-expected.txt:
* platform/qt/editing/pasteboard/pasting-tabs-expected.txt:
* platform/qt/editing/selection/4895428-3-expected.txt:
* platform/qt/editing/selection/4975120-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/qt/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/qt/fast/events/context-no-deselect-expected.txt:
* platform/qt/fast/forms/input-appearance-focus-expected.txt:
* platform/qt/fast/forms/input-appearance-readonly-expected.txt:
* platform/qt/fast/forms/input-appearance-selection-expected.txt:
* platform/qt/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/qt/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/qt/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/qt/fast/forms/input-text-click-inside-expected.txt:
* platform/qt/fast/forms/input-text-click-outside-expected.txt:
* platform/qt/fast/forms/input-text-double-click-expected.txt:
* platform/qt/fast/forms/input-text-option-delete-expected.txt:
* platform/qt/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/qt/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/qt/fast/forms/number/number-appearance-rtl-expected.txt:
* platform/qt/fast/forms/plaintext-mode-2-expected.txt:
* platform/qt/fast/forms/search-rtl-expected.txt:
* platform/qt/fast/forms/tabbing-input-iframe-expected.txt:
* platform/qt/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/qt/fast/forms/textarea-placeholder-visibility-2-expected.txt:
* platform/qt/fast/forms/textarea-scrollbar-expected.txt:
* platform/qt/fast/forms/textarea-scrolled-type-expected.txt:
* platform/qt/fast/forms/textfield-focus-ring-expected.txt:
* platform/qt/fast/forms/textfield-outline-expected.txt:
* platform/qt/fast/forms/textfield-overflow-expected.txt:
* platform/qt/fast/frames/take-focus-from-iframe-expected.txt:
* platform/qt/fast/html/details-add-summary-1-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-10-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-2-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-3-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-4-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-5-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-6-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-7-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-8-and-click-expected.txt:
* platform/qt/fast/html/details-add-summary-9-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-1-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-2-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-3-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-4-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-5-and-click-expected.txt:
* platform/qt/fast/html/details-remove-summary-6-and-click-expected.txt:
* platform/qt/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/qt/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/win-wk2/fast/forms/textfield-overflow-expected.txt:
* platform/win/editing/deleting/delete-all-text-in-text-field-assertion-expected.txt:
* platform/win/editing/input/reveal-caret-of-multiline-input-expected.txt:
* platform/win/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/win/fast/forms/input-text-drag-down-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Document::setActiveNode() should be Document::setActiveElement()
https://bugs.webkit.org/show_bug.cgi?id=106437

Reviewed by Ojan Vafai.

No new tests. No functoinal change.

* dom/Document.cpp:
(WebCore::Document::setActiveElement):
(WebCore::Document::updateHoverActiveState):
* dom/Document.h:
(Document):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::innerElement):
(WebCore):
* rendering/HitTestResult.h:
(HitTestResult):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement CSS computed style value for transition shorthand
https://bugs.webkit.org/show_bug.cgi?id=105035

Reviewed by Dean Jackson.

Source/WebCore:

Implement support for query the transition and webkit-transition
shorthand from the computed style.

Test: transitions/transitions-parsing.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::createTransitionPropertyValue): Factor the code to create the
correct value into a function to reuse it for the shorthand.
(WebCore::getTransitionPropertyValue):
(WebCore::createTimingFunctionValue): Little refactor, the intermediate
local variables are not needed.
(WebCore::getTimingFunctionValue):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests:

Uncomment existing tests to cover the new feature.

* transitions/transitions-parsing-expected.txt:
* transitions/transitions-parsing.html:


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