Remove an invalid assertion introduced in r123536. Unreviewed.

* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix attempt.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WinCairo build fix attempt.

* win/WebKit2CFLite.def:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add unit tests for custom text encoding setting
https://bugs.webkit.org/show_bug.cgi?id=91983

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-24
Reviewed by Dirk Pranke.

Add unit tests for get and set custom text encoding methods. Also, fix
a style nit for r123177.

* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_setting_encoding_custom_set): Fix a style nit - add newline
before return.
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[JSBinding] Merging jsUnsignedLongArrayToVector() to toNativeArray() using traits.
https://bugs.webkit.org/show_bug.cgi?id=90381

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-07-24
Reviewed by Kentaro Hara.

We can remove jsUnsignedLongArrayToVector() implementaion
merging it to current and toNativeArray() traits.

Tests: TestObj.idl
There should be no behavoiral changes as just refactoring.

* Modules/vibration/NavigatorVibration.idl: Use sequence<T> as method param than T[]
* bindings/js/JSDOMBinding.cpp: Moved toJSSequence() to header file.
* bindings/js/JSDOMBinding.h:
(WebCore::toJSSequence): Moved toJSSequence() to header file.
(WebCore::jsArray): Renamed Traits to JSValueTraits
(WebCore::toNativeArray): Using traits.
* bindings/js/JSDictionary.cpp:
(WebCore::JSDictionary::convertValue):
* bindings/js/JSMessagePortCustom.cpp:
(WebCore::fillMessagePortArray):
* bindings/scripts/CodeGeneratorJS.pm: Removed unsigned long[] specific binding code.
(AddIncludesForType):
(GenerateParametersCheckExpression):
(JSValueToNative):
(NativeToJSValue):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateParametersCheckExpression): Added check sequence<T> check for overloaded methods.
* bindings/scripts/test/JS/JSTestObj.cpp: Rebased binding test.
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod10):
(WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
(WebCore::jsTestObjPrototypeFunctionMethodWithUnsignedLongSequence):
* bindings/scripts/test/JS/JSTestObj.h: Rebased binding test.
* bindings/scripts/test/TestObj.idl: Added test for sequence<T> as method parameter.
* bindings/scripts/test/V8/V8TestObj.cpp: Rebased binding test.
(WebCore::TestObjV8Internal::overloadedMethod10Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::overloadedMethodCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123191.
http://trac.webkit.org/changeset/123191
https://bugs.webkit.org/show_bug.cgi?id=91804

It might cause another performance regression.
http://code.google.com/p/chromium/issues/detail?id=138410

* html/FormController.cpp:
(FormKeyGenerator):
(WebCore::createKey):
(WebCore::FormKeyGenerator::formKey):
(WebCore::FormKeyGenerator::willDeleteForm):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Correct WebIDL type should be used in the testing IDL file
https://bugs.webkit.org/show_bug.cgi?id=92168

Reviewed by Kentaro Hara.

Updated bindings test.

* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_strict_function):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjPrototypeFunctionStrictFunction):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod1Callback):
(WebCore::TestObjV8Internal::enabledAtRuntimeMethod2Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod1Callback):
(WebCore::TestObjV8Internal::enabledPerContextMethod2Callback):
(WebCore::TestObjV8Internal::strictFunctionCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/float needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92150

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/float/001-expected.txt:
* platform/qt/fast/block/float/002-expected.png:
* platform/qt/fast/block/float/002-expected.txt:
* platform/qt/fast/block/float/003-expected.png:
* platform/qt/fast/block/float/003-expected.txt:
* platform/qt/fast/block/float/004-expected.png:
* platform/qt/fast/block/float/004-expected.txt:
* platform/qt/fast/block/float/005-expected.png:
* platform/qt/fast/block/float/005-expected.txt:
* platform/qt/fast/block/float/006-expected.png:
* platform/qt/fast/block/float/006-expected.txt:
* platform/qt/fast/block/float/007-expected.png:
* platform/qt/fast/block/float/007-expected.txt:
* platform/qt/fast/block/float/010-expected.png:
* platform/qt/fast/block/float/010-expected.txt:
* platform/qt/fast/block/float/011-expected.png:
* platform/qt/fast/block/float/011-expected.txt:
* platform/qt/fast/block/float/012-expected.png:
* platform/qt/fast/block/float/012-expected.txt:
* platform/qt/fast/block/float/013-expected.png:
* platform/qt/fast/block/float/013-expected.txt:
* platform/qt/fast/block/float/014-expected.png:
* platform/qt/fast/block/float/014-expected.txt:
* platform/qt/fast/block/float/015-expected.png:
* platform/qt/fast/block/float/015-expected.txt:
* platform/qt/fast/block/float/016-expected.png:
* platform/qt/fast/block/float/016-expected.txt:
* platform/qt/fast/block/float/017-expected.png:
* platform/qt/fast/block/float/017-expected.txt:
* platform/qt/fast/block/float/018-expected.png:
* platform/qt/fast/block/float/018-expected.txt:
* platform/qt/fast/block/float/020-expected.png:
* platform/qt/fast/block/float/020-expected.txt:
* platform/qt/fast/block/float/021-expected.png:
* platform/qt/fast/block/float/021-expected.txt:
* platform/qt/fast/block/float/022-expected.png:
* platform/qt/fast/block/float/022-expected.txt:
* platform/qt/fast/block/float/023-expected.png:
* platform/qt/fast/block/float/023-expected.txt:
* platform/qt/fast/block/float/024-expected.png:
* platform/qt/fast/block/float/024-expected.txt:
* platform/qt/fast/block/float/025-expected.png:
* platform/qt/fast/block/float/025-expected.txt:
* platform/qt/fast/block/float/027-expected.png:
* platform/qt/fast/block/float/027-expected.txt:
* platform/qt/fast/block/float/029-expected.png:
* platform/qt/fast/block/float/029-expected.txt:
* platform/qt/fast/block/float/030-expected.png:
* platform/qt/fast/block/float/030-expected.txt:
* platform/qt/fast/block/float/031-expected.png:
* platform/qt/fast/block/float/031-expected.txt:
* platform/qt/fast/block/float/032-expected.png:
* platform/qt/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.png: Added.
* platform/qt/fast/block/float/avoidance-percent-width-compat-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
* platform/qt/fast/block/float/avoiding-float-centered-expected.png:
* platform/qt/fast/block/float/avoiding-float-centered-expected.txt:
* platform/qt/fast/block/float/br-with-clear-expected.txt:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.png:
* platform/qt/fast/block/float/centered-float-avoidance-complexity-expected.txt:
* platform/qt/fast/block/float/clamped-right-float-expected.png:
* platform/qt/fast/block/float/clamped-right-float-expected.txt:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.png:
* platform/qt/fast/block/float/clear-element-too-wide-for-containing-block-expected.txt:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.png:
* platform/qt/fast/block/float/dynamic-unfloat-pref-width-expected.txt:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.png:
* platform/qt/fast/block/float/editable-text-overlapping-float-expected.txt:
* platform/qt/fast/block/float/fit_line_below_floats-expected.png:
* platform/qt/fast/block/float/fit_line_below_floats-expected.txt:
* platform/qt/fast/block/float/float-avoidance-expected.png:
* platform/qt/fast/block/float/float-avoidance-expected.txt:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.png:
* platform/qt/fast/block/float/float-in-float-hit-testing-expected.txt:
* platform/qt/fast/block/float/float-in-float-painting-expected.png:
* platform/qt/fast/block/float/float-in-float-painting-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-expected.txt:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.png:
* platform/qt/fast/block/float/floats-and-text-indent-rl-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-add-in-sibling-block-on-static-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-absolute-position2-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position-expected.txt:
* platform/qt/fast/block/float/intruding-float-remove-from-sibling-block-on-fixed-position2-expected.txt:
* platform/qt/fast/block/float/intruding-painted-twice-expected.png:
* platform/qt/fast/block/float/intruding-painted-twice-expected.txt:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.png:
* platform/qt/fast/block/float/marquee-shrink-to-avoid-floats-expected.txt:
* platform/qt/fast/block/float/multiple-float-positioning-expected.png:
* platform/qt/fast/block/float/multiple-float-positioning-expected.txt:
* platform/qt/fast/block/float/nested-clearance-expected.png:
* platform/qt/fast/block/float/nested-clearance-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks-expected.txt:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.png:
* platform/qt/fast/block/float/nestedAnonymousBlocks2-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction-expected.txt:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.png:
* platform/qt/fast/block/float/nopaint-after-layer-destruction2-expected.txt:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.png:
* platform/qt/fast/block/float/overhanging-after-height-decrease-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-add-in-static-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-absolute-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block-expected.txt:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.png:
* platform/qt/fast/block/float/overhanging-float-remove-from-fixed-position-block2-expected.txt:
* platform/qt/fast/block/float/overhanging-tall-block-expected.txt:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.png:
* platform/qt/fast/block/float/overlapping-floats-with-overflow-hidden-expected.txt:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.png:
* platform/qt/fast/block/float/shrink-to-avoid-float-complexity-expected.txt:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.png:
* platform/qt/fast/block/float/shrink-to-fit-width-expected.txt:
* platform/qt/fast/block/float/table-relayout-expected.png:
* platform/qt/fast/block/float/table-relayout-expected.txt:
* platform/qt/fast/block/float/vertical-move-relayout-expected.png:
* platform/qt/fast/block/float/vertical-move-relayout-expected.txt:
* platform/qt/fast/block/float/width-update-after-clear-expected.png:
* platform/qt/fast/block/float/width-update-after-clear-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/positioning rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92174

Unreviewed.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/positioning/003-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/004-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/005-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/006-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/007-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/008-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/009-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/010-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/011-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/012-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/013-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/014-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/015-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/016-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/017-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/018-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/019-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/020-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/021-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/022-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/023-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/024-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/025-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/026-expected.png: Added.
* platform/qt/fast/block/positioning/027-expected.png: Added.
* platform/qt/fast/block/positioning/028-expected.png: Added.
* platform/qt/fast/block/positioning/029-expected.png: Added.
* platform/qt/fast/block/positioning/030-expected.png: Added.
* platform/qt/fast/block/positioning/031-expected.png: Added.
* platform/qt/fast/block/positioning/032-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/033-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/034-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/035-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/036-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/037-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/038-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/039-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/040-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/041-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/042-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/043-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/044-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/045-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/046-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/047-expected.png:
* platform/qt/fast/block/positioning/047-expected.txt:
* platform/qt/fast/block/positioning/048-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/050-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-rl/001-expected.png.
* platform/qt/fast/block/positioning/052-expected.txt:
* platform/qt/fast/block/positioning/053-expected.png:
* platform/qt/fast/block/positioning/053-expected.txt:
* platform/qt/fast/block/positioning/054-expected.txt:
* platform/qt/fast/block/positioning/055-expected.png:
* platform/qt/fast/block/positioning/055-expected.txt:
* platform/qt/fast/block/positioning/057-expected.png:
* platform/qt/fast/block/positioning/057-expected.txt:
* platform/qt/fast/block/positioning/058-expected.png:
* platform/qt/fast/block/positioning/058-expected.txt:
* platform/qt/fast/block/positioning/059-expected.png:
* platform/qt/fast/block/positioning/059-expected.txt:
* platform/qt/fast/block/positioning/060-expected.png:
* platform/qt/fast/block/positioning/060-expected.txt:
* platform/qt/fast/block/positioning/061-expected.txt:
* platform/qt/fast/block/positioning/062-expected.png: Added.
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.png:
* platform/qt/fast/block/positioning/abs-inside-inline-rel-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-ltr-3-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-ltr-expected.txt:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.png:
* platform/qt/fast/block/positioning/absolute-in-inline-short-rtl-expected.txt:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.png:
* platform/qt/fast/block/positioning/absolute-length-of-neg-666666-expected.txt:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.png:
* platform/qt/fast/block/positioning/absolute-position-direction-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.png:
* platform/qt/fast/block/positioning/absolute-positioned-overconstrained-expected.txt:
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.png: Added.
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-quirks-expected.txt:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.png:
* platform/qt/fast/block/positioning/absolute-with-html-border-strict-expected.txt:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.png:
* platform/qt/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
* platform/qt/fast/block/positioning/auto/001-expected.png:
* platform/qt/fast/block/positioning/auto/001-expected.txt:
* platform/qt/fast/block/positioning/auto/002-expected.png:
* platform/qt/fast/block/positioning/auto/002-expected.txt:
* platform/qt/fast/block/positioning/auto/003-expected.png:
* platform/qt/fast/block/positioning/auto/003-expected.txt:
* platform/qt/fast/block/positioning/auto/004-expected.png:
* platform/qt/fast/block/positioning/auto/004-expected.txt:
* platform/qt/fast/block/positioning/auto/005-expected.png:
* platform/qt/fast/block/positioning/auto/005-expected.txt:
* platform/qt/fast/block/positioning/auto/006-expected.png:
* platform/qt/fast/block/positioning/auto/006-expected.txt:
* platform/qt/fast/block/positioning/auto/007-expected.png:
* platform/qt/fast/block/positioning/auto/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-lr/007-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/002-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/003-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/004-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/005-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/006-expected.txt:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/qt/fast/block/positioning/auto/vertical-rl/007-expected.txt:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.png:
* platform/qt/fast/block/positioning/child-of-absolute-with-auto-height-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-expected.txt:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.png:
* platform/qt/fast/block/positioning/differing-writing-modes-replaced-expected.txt:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
* platform/qt/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:
* platform/qt/fast/block/positioning/height-change-expected.png:
* platform/qt/fast/block/positioning/height-change-expected.txt:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png:
* platform/qt/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.png:
* platform/qt/fast/block/positioning/inline-block-relposition-expected.txt:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.png:
* platform/qt/fast/block/positioning/leftmargin-topmargin-expected.txt:
* platform/qt/fast/block/positioning/negative-right-pos-expected.png:
* platform/qt/fast/block/positioning/negative-right-pos-expected.txt:
* platform/qt/fast/block/positioning/padding-percent-expected.png:
* platform/qt/fast/block/positioning/padding-percent-expected.txt:
* platform/qt/fast/block/positioning/pref-width-change-expected.txt:
* platform/qt/fast/block/positioning/relative-overconstrained-expected.png: Copied from LayoutTests/platform/qt/fast/block/positioning/vertical-lr/001-expected.png.
* platform/qt/fast/block/positioning/relative-overflow-block-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-block-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-expected.txt:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.png:
* platform/qt/fast/block/positioning/relative-overflow-replaced-float-expected.txt:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.png:
* platform/qt/fast/block/positioning/relayout-on-position-change-expected.txt:
* platform/qt/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.png:
* platform/qt/fast/block/positioning/rtl-fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-expected.txt:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.png:
* platform/qt/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.png:
* platform/qt/fast/block/positioning/static-distance-with-positioned-ancestor-expected.txt:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.png:
* platform/qt/fast/block/positioning/table-cell-static-position-expected.txt:
* platform/qt/fast/block/positioning/trailing-space-test-expected.png:
* platform/qt/fast/block/positioning/trailing-space-test-expected.txt:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.png:
* platform/qt/fast/block/positioning/vertical-lr/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.png:
* platform/qt/fast/block/positioning/vertical-rl/001-expected.txt:
* platform/qt/fast/block/positioning/vertical-rl/fixed-positioning-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.png:
* platform/qt/fast/block/positioning/window-height-change-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add time spent painting to GPU benchmarking renderingStats() API.
https://bugs.webkit.org/show_bug.cgi?id=90019

Patch by Dave Tu <dtu@chromium.org> on 2012-07-24
Reviewed by Adrienne Walker.

Source/Platform:

* chromium/public/WebRenderingStats.h:
(WebRenderingStats):
(WebKit::WebRenderingStats::WebRenderingStats):

Source/WebCore:

* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/BitmapCanvasLayerTextureUpdater.h:
(BitmapCanvasLayerTextureUpdater):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::Texture::prepareRect):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::prepareToUpdate):
(WebCore::BitmapSkPictureCanvasLayerTextureUpdater::paintContentsRect):
* platform/graphics/chromium/BitmapSkPictureCanvasLayerTextureUpdater.h:
(Texture):
(BitmapSkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/CanvasLayerTextureUpdater.cpp:
(WebCore::CanvasLayerTextureUpdater::paintContents):
* platform/graphics/chromium/CanvasLayerTextureUpdater.h:
(CanvasLayerTextureUpdater):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::update):
* platform/graphics/chromium/ContentLayerChromium.h:
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::update):
* platform/graphics/chromium/ImageLayerChromium.h:
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore):
(WebCore::LayerChromium::update):
* platform/graphics/chromium/LayerTextureUpdater.h:
(WebCore):
(WebCore::LayerTextureUpdater::Texture::prepareRect):
(WebCore::LayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/ScrollbarLayerChromium.cpp:
(WebCore::ScrollbarLayerChromium::updatePart):
(WebCore::ScrollbarLayerChromium::update):
* platform/graphics/chromium/ScrollbarLayerChromium.h:
(ScrollbarLayerChromium):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.cpp:
(WebCore::SkPictureCanvasLayerTextureUpdater::prepareToUpdate):
* platform/graphics/chromium/SkPictureCanvasLayerTextureUpdater.h:
(SkPictureCanvasLayerTextureUpdater):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::updateTiles):
(WebCore::TiledLayerChromium::updateContentRect):
* platform/graphics/chromium/TiledLayerChromium.h:
(TiledLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::updateAnimations):
(WebCore::CCLayerTreeHost::renderingStats):
(WebCore::CCLayerTreeHost::paintMasksForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:
(WebCore):
(CCLayerTreeHost):
* platform/graphics/chromium/cc/CCRenderingStats.h:
(CCRenderingStats):
(WebCore::CCRenderingStats::CCRenderingStats):

Source/WebKit/chromium:

* src/WebLayerTreeView.cpp:
(WebKit::WebLayerTreeView::renderingStats):
* tests/CCLayerTreeHostTest.cpp:
* tests/CCTiledLayerTestCommon.cpp:
(WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
(WebKitTests::FakeTiledLayerChromium::update):
* tests/CCTiledLayerTestCommon.h:
(Texture):
(FakeTiledLayerChromium):
* tests/Canvas2DLayerBridgeTest.cpp:
* tests/ContentLayerChromiumTest.cpp:
(WebKit::TEST):
* tests/TiledLayerChromiumTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Support scrolling and zooming to focused input elements
https://bugs.webkit.org/show_bug.cgi?id=91661

Reviewed by Darin Fisher.

This patch introduces saveScrollAndScaleState and
restoreScrollAndScaleState, which can be used to save and restore the
scroll and scale state of the WebView, respectively.  These functions
will be used by Chromium on Android to save the scale and scrolls state
before zoom into a text field so that we can "undo" the zoom if the
user didn't mean to zoom into the text field.

I wanted to write unit tests for these functions, but it wasn't clear
to me how to write the test because startPageScaleAnimation appears to
complete asynchronously.

* public/WebView.h:
(WebView):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::saveScrollAndScaleState):
(WebKit):
(WebKit::WebViewImpl::restoreScrollAndScaleState):
(WebKit::WebViewImpl::resetSavedScrollAndScaleState):
(WebKit::WebViewImpl::didCommitLoad):
* src/WebViewImpl.h:
(WebViewImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/as-background-image rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92180

Unreviewed gardening.

These tests have been skipped because monospace fonts weren't properly used by
layout tests. After r121971, the test results are normal again.

* platform/qt-5.0/Skipped:
* platform/qt/svg/as-background-image/animated-svg-as-background-expected.png: Added.
* platform/qt/svg/as-background-image/animated-svg-as-background-expected.txt:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.png:
* platform/qt/svg/as-background-image/background-image-preserveaspectRatio-support-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-1-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-2-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-3-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-4-expected.png: Added.
* platform/qt/svg/as-background-image/svg-as-background-4-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-5-expected.png: Added.
* platform/qt/svg/as-background-image/svg-as-background-5-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-6-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-with-relative-size-expected.txt:
* platform/qt/svg/as-background-image/svg-as-background-with-viewBox-expected.txt:
* platform/qt/svg/as-background-image/svg-as-tiled-background-expected.txt:
* platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.png:
* platform/qt/svg/as-background-image/svg-background-partial-redraw-expected.txt:
* platform/qt/svg/as-background-image/svg-width-100p-as-background-expected.txt:

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