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
Adjust Skia build flags to WebKit skia gyp

Unreviewed change to enable easy layout test rebaselining.

* skia_webkit.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139201 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Automatically generate Settings::unifiedTextCheckerEnabled
https://bugs.webkit.org/show_bug.cgi?id=106382

Reviewed by Adam Barth.

Source/WebCore:

No new tests, no change in behavior. This is covered by existing editing/spelling tests.

* page/Settings.cpp:
(WebCore): Move default value into a global so we can generate the initializer.
(WebCore::Settings::Settings): Remove initializer code that is now generated.
* page/Settings.h:
(Settings): Remove getters and setters.
* page/Settings.in: Add entry to be generated.
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup): Remove backup since the generated code does this.
(WebCore::InternalSettings::Backup::restoreTo): Remove restore code since the generated code does this.
* testing/InternalSettings.h:
(InternalSettings): Remove member variable.
* testing/InternalSettings.idl: The getter was unused so it's being removed. The setter is now generated.

LayoutTests:

The InternalSettings.idl method didn't match the Settings' getter/setter. Now
that we're using the generated version, make the tests use the same name.

* editing/spelling/grammar-edit-word.html:
* editing/spelling/spellcheck-async-mutation.html:
* editing/spelling/spellcheck-async-remove-frame.html:
* editing/spelling/spellcheck-async.html:
* editing/spelling/spelling-marker-description.html:
* editing/spelling/spelling-unified-emulation.html:
* platform/chromium/editing/spelling/delete-misspelled-word.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139202 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: marquee special-case in RenderBlock is not needed
https://bugs.webkit.org/show_bug.cgi?id=106396

Reviewed by Simon Fraser.

This was added in http://trac.webkit.org/changeset/105772. The layout test
in that patch (which is disabled) works and the original site that was broken
also still works.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computePreferredLogicalWidths):

LayoutTests: Implement CSS computed style value for transition shorthand
https://bugs.webkit.org/show_bug.cgi?id=105035

Patch by Alexis Menard <alexis@webkit.org> on 2013-01-09
Reviewed by Dean Jackson.

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@139203 268f45cc-cd09-0410-ab3c-d52691b4dbfc
New chromium-win pixel baseline for gradient-background-leakage-hidpi.html
https://bugs.webkit.org/show_bug.cgi?id=106373

Unreviewed.

* platform/chromium-win/fast/backgrounds/gradient-background-leakage-hidpi-expected.png: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove duplicate ChangeLog entry for https://bugs.webkit.org/show_bug.cgi?id=105035
that was inadvertently added in <http://trac.webkit.org/changeset/139203>.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add Settings.in and make_settings.pl to the project.

Reviewed by Anders Carlsson.

* WebCore.xcodeproj/project.pbxproj:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139206 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Raise version of gdk-pixbuf in jhbuild up to 2.26.5
https://bugs.webkit.org/show_bug.cgi?id=106464

Reviewed by Martin Robinson.

Current version in jhbuild.modules (2.26.0) is giving trouble to
when trying to build WebKitGTK from scratch, due to a segmentation
fault error in gdk-pixbuf-query-loader during the 'make'
phase. Raising the version to 2.26.5 fixes this issue.

* gtk/jhbuild.modules: Version raised, checksums updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139207 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r139143.
http://trac.webkit.org/changeset/139143
https://bugs.webkit.org/show_bug.cgi?id=106135

Broke Chromium content_browsertests.

* platform/leveldb/LevelDBDatabase.cpp:
(WebCore::LevelDBDatabase::open):
(WebCore::LevelDBDatabase::openInMemory):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
If ImageLoader's loadEventSender or errorEventSender fires after document is detached, the document will be leaked.

https://bugs.webkit.org/show_bug.cgi?id=106394

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-01-09
Reviewed by Alexey Proskuryakov.

ImageLoader's loadEventSender and errorEventSender schedule event dispatching in separate timers and refs
the Element in updatedHasPendingEvent.  If the Document is detached before either eventSender dispatches,
we would leak the Document since we bail out early in dispatchPendingLoadEvent or dispatchPendingErrorEvent,
without deref-ing the Element itself.

No new tests.  Verified manually by using heap tool to count the living HTMLDocuments.

* loader/ImageLoader.cpp:
(WebCore::ImageLoader::dispatchPendingLoadEvent): also call updatedHasPendingEvent to deref the Element if
            the document is detached.
(WebCore::ImageLoader::dispatchPendingErrorEvent): ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html is a flaky crash.
https://bugs.webkit.org/show_bug.cgi?id=106473

* platform/chromium/TestExpectations: Marked.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaseline a few tests after r139201.

* platform/chromium-mac-lion/fast/forms/menulist-clip-expected.png:
* platform/chromium-mac-lion/fast/forms/menulist-option-wrap-expected.png:
* platform/chromium-mac-lion/fast/repaint/control-clip-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/menulist-clip-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/menulist-option-wrap-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/control-clip-expected.png:
* platform/chromium-mac/fast/forms/menulist-clip-expected.png:
* platform/chromium-mac/fast/forms/menulist-option-wrap-expected.png:
* platform/chromium-mac/fast/forms/select-empty-option-height-expected.png:
* platform/chromium-mac/fast/repaint/control-clip-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebaseline a few tests after r139191.

* platform/chromium-mac-lion/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
* platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.
* platform/chromium-win/fast/borders/border-radius-huge-assert-expected.png:
* platform/chromium-win/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png:
* platform/chromium-win/platform/chromium/virtual/gpu/fast/hidpi/video-controls-in-hidpi-expected.png:
* platform/chromium-win/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added.

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