WebKit-https.git
9 years agoVersioning.
lforschler@apple.com [Fri, 13 Jan 2012 22:52:08 +0000 (22:52 +0000)]
Versioning.

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

9 years agoWebAudio: Use float instead of double values for gain operations.
jer.noble@apple.com [Fri, 13 Jan 2012 22:42:46 +0000 (22:42 +0000)]
WebAudio: Use float instead of double values for gain operations.
https://bugs.webkit.org/show_bug.cgi?id=74345

Reviewed by Sam Weinig.

No new tests; optimization of existing code, so covered by existing test cases.

The following functions now take or operate on floats instead of doubles:
(WebCore::AudioBus::scale):
(WebCore::AudioBus::processWithGainFrom):
(WebCore::AudioBus::copyWithGainFrom):
(WebCore::AudioBus::sumWithGainFrom):
* platform/audio/AudioBus.h:
(WebCore::AudioBus::setGain):
(WebCore::AudioBus::gain):
* platform/audio/AudioChannel.cpp:
(WebCore::AudioChannel::scale):
* platform/audio/AudioChannel.h:
* webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::process):
* webaudio/AudioBufferSourceNode.h:
* webaudio/AudioGainNode.h:
* webaudio/AudioPannerNode.h:

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

9 years agoDon't use pending activity notification in IntentRequest
commit-queue@webkit.org [Fri, 13 Jan 2012 22:38:19 +0000 (22:38 +0000)]
Don't use pending activity notification in IntentRequest
https://bugs.webkit.org/show_bug.cgi?id=76302

Patch by Greg Billock <gbillock@google.com> on 2012-01-13
Reviewed by Adam Barth.

* Modules/intents/IntentRequest.cpp:
(WebCore::IntentRequest::IntentRequest):
(WebCore::IntentRequest::postResult):
(WebCore::IntentRequest::postFailure):

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

9 years agoEQUALPOWER panner incorrectly computes gain
commit-queue@webkit.org [Fri, 13 Jan 2012 22:18:41 +0000 (22:18 +0000)]
EQUALPOWER panner incorrectly computes gain
https://bugs.webkit.org/show_bug.cgi?id=75767

Source/WebCore:

Patch by Raymond Toy <rtoy@google.com> on 2012-01-13
Reviewed by Kenneth Russell.

Layout test added.

* platform/audio/EqualPowerPanner.cpp:
(WebCore::EqualPowerPanner::pan):  Correct the formula.

LayoutTests:

Patch by Raymond Toy <rtoy@chromium.org> on 2012-01-13
Reviewed by Kenneth Russell.

* webaudio/panner-equalpower.html: Added.
* webaudio/panner-equalpower-expected.txt: Added.
* webaudio/resources/panner-model-testing.js: Added.
* webaudio/resources/audio-testing.js:
(createImpulseBuffer): New common utility function.

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

9 years agoImplement TiledCoreAnimationDrawingArea::setLayerTreeStateIsFrozen
andersca@apple.com [Fri, 13 Jan 2012 22:15:25 +0000 (22:15 +0000)]
Implement TiledCoreAnimationDrawingArea::setLayerTreeStateIsFrozen
https://bugs.webkit.org/show_bug.cgi?id=76308

Reviewed by Sam Weinig.

Keep track of whether the layer tree state is frozen and suspend/resume the layer flush scheduler accordingly.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
(WebKit::TiledCoreAnimationDrawingArea::setLayerTreeStateIsFrozen):
(WebKit::TiledCoreAnimationDrawingArea::layerTreeStateIsFrozen):
(WebKit::TiledCoreAnimationDrawingArea::scheduleCompositingLayerSync):
(WebKit::TiledCoreAnimationDrawingArea::flushLayers):

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

9 years agoUnreviewed, rolling out r104972.
ojan@chromium.org [Fri, 13 Jan 2012 22:00:29 +0000 (22:00 +0000)]
Unreviewed, rolling out r104972.
http://trac.webkit.org/changeset/104972
https://bugs.webkit.org/show_bug.cgi?id=75782

Broke some tests

Source/WebCore:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::alignChildren):
* rendering/style/RenderStyle.h:
(WebCore::RenderStyleBitfields::initialFlexItemAlign):
* rendering/style/StyleFlexibleBoxData.cpp:
(WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
(WebCore::StyleFlexibleBoxData::operator==):
* rendering/style/StyleFlexibleBoxData.h:

LayoutTests:

* css3/flexbox/css-properties-expected.txt:
* css3/flexbox/flex-align-expected.txt:
* css3/flexbox/flex-align.html:
* css3/flexbox/script-tests/css-properties.js:
* fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-mac-snowleopard/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
* platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

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

9 years agoDisable implicit animations when setting the root compositing layer
andersca@apple.com [Fri, 13 Jan 2012 21:38:32 +0000 (21:38 +0000)]
Disable implicit animations when setting the root compositing layer
https://bugs.webkit.org/show_bug.cgi?id=76304

Reviewed by Sam Weinig.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):

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

9 years agofix changelog
dpranke@chromium.org [Fri, 13 Jan 2012 21:31:04 +0000 (21:31 +0000)]
fix changelog

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

9 years agoUnreviewed build fix for Qt SnowLeopard build bot.
alexis.menard@openbossa.org [Fri, 13 Jan 2012 21:24:27 +0000 (21:24 +0000)]
Unreviewed build fix for Qt SnowLeopard build bot.

This is a workaround for the moment.

* wtf/Platform.h:

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

9 years agotest-webkitpy: should support classes and individual test names as well as modules
dpranke@chromium.org [Fri, 13 Jan 2012 21:23:59 +0000 (21:23 +0000)]
test-webkitpy: should support classes and individual test names as well as modules
https://bugs.webkit.org/show_bug.cgi?id=76233

Reviewed by Adam Barth.

The default unittest.main() supports a list of individual
TestCase classes or individual tests as well as modules. This
change adds support for the same to test-webkitpy, so now you
can say

  % test-wekbitpy webkitpy.test.cat_unittest.CatTest

and

  % test-wekbitpy webkitpy.test.cat_unittest.CatTest.test_basic

in addition to

  % test-wekbitpy webkitpy.test.cat_unittest

* Scripts/test-webkitpy:
* Scripts/webkitpy/test/cat_unittest.py:
* Scripts/webkitpy/test/main.py:
(Tester.parse_args):
(Tester.run):
(Tester):
(Tester._find_modules):
(Tester._exclude):
(Tester._run_tests):
(Tester._is_module):
(Tester._log_exception):

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

9 years ago-[WebTileCacheLayer setNeedsDisplay] doesn't trigger invalidation
andersca@apple.com [Fri, 13 Jan 2012 21:20:53 +0000 (21:20 +0000)]
-[WebTileCacheLayer setNeedsDisplay] doesn't trigger invalidation
https://bugs.webkit.org/show_bug.cgi?id=76299

Reviewed by Simon Fraser.

Override -[WebTileCacheLayer setNeedsDisplay] and call TileCache::setNeedsDisplay from there,
instead of ending up with a huge rectangle in TileCache::setNeedsDisplayInRect which causes our
tile computation logic to fail due to integer overflow when converting from CGFloats to ints.

* platform/graphics/ca/mac/TileCache.h:
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setNeedsDisplay):
* platform/graphics/ca/mac/WebTileCacheLayer.mm:
(-[WebTileCacheLayer setNeedsDisplay]):

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

9 years agotest-webkitpy: should support classes and individual test names as well as modules
dpranke@chromium.org [Fri, 13 Jan 2012 21:16:36 +0000 (21:16 +0000)]
test-webkitpy: should support classes and individual test names as well as modules
https://bugs.webkit.org/show_bug.cgi?id=76233

Reviewed by Adam Barth.

The default unittest.main() supports a list of individual
TestCase classes or individual tests as well as modules. This
change adds support for the same to test-webkitpy, so now you
can say

  % test-wekbitpy webkitpy.test.cat_unittest.CatTest

and

  % test-wekbitpy webkitpy.test.cat_unittest.CatTest.test_basic

in addition to

  % test-wekbitpy webkitpy.test.cat_unittest

* Scripts/test-webkitpy:
* Scripts/webkitpy/test/cat_unittest.py:
* Scripts/webkitpy/test/main.py:
(Tester.parse_args):
(Tester.run):
(Tester):
(Tester._find_modules):
(Tester._exclude):
(Tester._run_tests):
(Tester._is_module):
(Tester._log_exception):

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

9 years agoHeader file is missing header guard.
levin@chromium.org [Fri, 13 Jan 2012 21:16:33 +0000 (21:16 +0000)]
Header file is missing header guard.

Reviewed by Dirk Pranke.

* wtf/win/HWndDCWin.h: Added the guards.

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

9 years agotest-webkitpy: add basic code coverage support
dpranke@chromium.org [Fri, 13 Jan 2012 20:59:33 +0000 (20:59 +0000)]
test-webkitpy: add basic code coverage support
https://bugs.webkit.org/show_bug.cgi?id=76201

Reviewed by Adam Barth.

This test adds basic code coverage support to test-webkitpy; if
you pass the -c flag, we will generate a new coverage file. We
can start simply with this and add more features as necessary.

This patch requires coverage to be already installed on the
machine. I am not auto-installing this for now.

* Scripts/webkitpy/test/main.py:
(Tester.parse_args):
(Tester.run_tests):

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

9 years agoStatusBubbleTest.test_build_bubble is failing
dpranke@chromium.org [Fri, 13 Jan 2012 20:54:37 +0000 (20:54 +0000)]
StatusBubbleTest.test_build_bubble is failing
https://bugs.webkit.org/show_bug.cgi?id=76222

Reviewed by Adam Barth.

* QueueStatusServer/handlers/statusbubble_unittest.py:
(StatusBubbleTest.test_build_bubble):

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

9 years agoAdd new baselines for various compositing tests which didn't have Mac results.
simon.fraser@apple.com [Fri, 13 Jan 2012 20:53:53 +0000 (20:53 +0000)]
Add new baselines for various compositing tests which didn't have Mac results.

* platform/mac/compositing/animation/busy-indicator-expected.png: Added.
* platform/mac/compositing/animation/busy-indicator-expected.txt: Added.
* platform/mac/compositing/flat-with-transformed-child-expected.png: Added.
* platform/mac/compositing/flat-with-transformed-child-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-composited-page-scale-down-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-composited-page-scale-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.txt: Added.
* platform/mac/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
* platform/mac/compositing/geometry/fixed-position-transform-composited-page-scale-expected.txt: Added.
* platform/mac/compositing/repaint/same-size-invalidation-expected.png: Added.
* platform/mac/compositing/repaint/same-size-invalidation-expected.txt: Added.
* platform/mac/compositing/scaling/tiled-layer-recursion-expected.png: Added.
* platform/mac/compositing/scaling/tiled-layer-recursion-expected.txt: Added.

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

9 years agoImplement flex-align
ojan@chromium.org [Fri, 13 Jan 2012 20:43:32 +0000 (20:43 +0000)]
Implement flex-align
https://bugs.webkit.org/show_bug.cgi?id=75782

Reviewed by Tony Chang.

Source/WebCore:

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
Not 100% sure about this, but I think the computed value of
flex-item-align needs to take the parent's flex-align into
account for computed auto values.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in:
* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
* rendering/RenderFlexibleBox.cpp:
(WebCore::flexAlign):
(WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
(WebCore::RenderFlexibleBox::alignChildren):
* rendering/style/RenderStyle.h:
(WebCore::RenderStyleBitfields::flexAlign):
(WebCore::RenderStyleBitfields::setFlexAlign):
(WebCore::RenderStyleBitfields::initialFlexAlign):
(WebCore::RenderStyleBitfields::initialFlexItemAlign):
* rendering/style/StyleFlexibleBoxData.cpp:
(WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
(WebCore::StyleFlexibleBoxData::operator==):
* rendering/style/StyleFlexibleBoxData.h:

LayoutTests:

* css3/flexbox/css-properties-expected.txt:
* css3/flexbox/flex-align-expected.txt:
* css3/flexbox/flex-align.html:
* css3/flexbox/script-tests/css-properties.js:
* fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/getComputedStyle-basic-expected.txt:

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

9 years ago[chromium] Update chromium image baselines for cross-fade-invalidation
jamesr@google.com [Fri, 13 Jan 2012 20:34:31 +0000 (20:34 +0000)]
[chromium] Update chromium image baselines for cross-fade-invalidation

* platform/chromium-linux/css3/images/cross-fade-invalidation-expected.png: Added.
* platform/chromium-mac-snowleopard/css3/images/cross-fade-invalidation-expected.png: Added.
* platform/chromium-win/css3/images/cross-fade-invalidation-expected.png: Added.

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

9 years agoEval in strict mode does not need dynamic checks
commit-queue@webkit.org [Fri, 13 Jan 2012 20:31:41 +0000 (20:31 +0000)]
Eval in strict mode does not need dynamic checks
https://bugs.webkit.org/show_bug.cgi?id=76286

Patch by Andy Wingo <wingo@igalia.com> on 2012-01-13
Reviewed by Oliver Hunt.

* runtime/JSActivation.cpp (JSC::JSActivation::JSActivation):
Eval in strict mode cannot introduce variables, so it not impose
the need for dynamic checks.

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

9 years agoFix an obviously incorrect expected result image.
jamesr@google.com [Fri, 13 Jan 2012 20:13:01 +0000 (20:13 +0000)]
Fix an obviously incorrect expected result image.

Patch by Simon Fraser <simon.fraser@apple.com> on 2012-01-13

* platform/mac/css3/images/cross-fade-invalidation-expected.png:

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

9 years agoFix an obviously incorrect expected result image.
simon.fraser@apple.com [Fri, 13 Jan 2012 19:59:04 +0000 (19:59 +0000)]
Fix an obviously incorrect expected result image.

* platform/mac/css3/images/cross-fade-invalidation-expected.png:

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

9 years agonrwt should use multiple http shards
kkristof@inf.u-szeged.hu [Fri, 13 Jan 2012 19:55:10 +0000 (19:55 +0000)]
nrwt should use multiple http shards
https://bugs.webkit.org/show_bug.cgi?id=75958

Add --max-locked-shards option to the nrwt for manual set
the maximum number of the locked shards

Reviewed by Dirk Pranke.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._max_locked_shards):
* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ShardingTests.get_shards):
(ShardingTests.test_multiple_locked_shards):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):

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

9 years agoRename GraphicsContext* argument in various RenderLayer methods
simon.fraser@apple.com [Fri, 13 Jan 2012 19:45:15 +0000 (19:45 +0000)]
Rename GraphicsContext* argument in various RenderLayer methods
https://bugs.webkit.org/show_bug.cgi?id=76283

Reviewed by James Robinson/Anders Carlsson.

Rename the GraphicsContext* parameter "p" in various RenderLayer
methods to "context". "p" was a historical name from when it was
called Painter.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::beginTransparencyLayers):
(WebCore::RenderLayer::paint):
(WebCore::RenderLayer::paintOverlayScrollbars):
(WebCore::RenderLayer::restoreClip):
(WebCore::RenderLayer::paintLayer):
(WebCore::RenderLayer::paintLayerContentsAndReflection):
(WebCore::RenderLayer::paintLayerContents):
(WebCore::RenderLayer::paintList):

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

9 years ago[CSSRegions]Add back region style code removed in r104036
mihnea@adobe.com [Fri, 13 Jan 2012 19:42:53 +0000 (19:42 +0000)]
[CSSRegions]Add back region style code removed in r104036
https://bugs.webkit.org/show_bug.cgi?id=76064

Reviewed by David Hyatt.

No new tests. The region style tests are still skipped. A follow up patch will enable
both region style for background-color and region style tests.

* WebCore.exp.in:
* css/CSSStyleSelector.cpp:
(WebCore::RuleData::useInRegionStyle):
(WebCore::CSSStyleSelector::CSSStyleSelector):
(WebCore::CSSStyleSelector::addMatchedDeclaration):
(WebCore::CSSStyleSelector::matchRules):
(WebCore::CSSStyleSelector::matchAllRules):
(WebCore::CSSStyleSelector::initForRegionStyling):
(WebCore::CSSStyleSelector::initRegionRules):
(WebCore::CSSStyleSelector::styleForElement):
(WebCore::CSSStyleSelector::pseudoStyleForElement):
(WebCore::RuleData::RuleData):
(WebCore::RuleSet::RuleSet):
(WebCore::RuleSet::addToRuleSet):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::isValidRegionStyleProperty):
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSStyleSelector.h:
(WebCore::CSSStyleSelector::setRegionForStyling):
(WebCore::CSSStyleSelector::regionForStyling):
(WebCore::CSSStyleSelector::applyPropertyToRegionStyle):
* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::clearRenderObjectCustomStyle):
(WebCore::RenderFlowThread::setRegionRangeForBox):
* rendering/RenderFlowThread.h:
* rendering/RenderLayer.cpp:
(WebCore::CurrentRenderRegionMaintainer::CurrentRenderRegionMaintainer):
(WebCore::CurrentRenderRegionMaintainer::~CurrentRenderRegionMaintainer):
(WebCore::RenderLayer::paint):
(WebCore::RenderLayer::hitTest):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleInRegion):
* rendering/RenderObject.h:
(WebCore::RenderObject::canHaveRegionStyle):
* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode):
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::renderObjectRegionStyle):
(WebCore::RenderRegion::computeStyleInRegion):
(WebCore::RenderRegion::clearObjectStyleInRegion):
* rendering/RenderRegion.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::RenderView):
* rendering/RenderView.h:
(WebCore::RenderView::currentRenderRegion):
(WebCore::RenderView::setCurrentRenderRegion):

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

9 years agoUnreviewed build fix; added project.pbxproj changes lost in r104954.
kbr@google.com [Fri, 13 Jan 2012 19:41:24 +0000 (19:41 +0000)]
Unreviewed build fix; added project.pbxproj changes lost in r104954.
https://bugs.webkit.org/show_bug.cgi?id=75906

* WebCore.xcodeproj/project.pbxproj:

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

9 years agoTextureMapper: Extract layer transform logic to a LayerTransform class.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 19:26:25 +0000 (19:26 +0000)]
TextureMapper: Extract layer transform logic to a LayerTransform class.
https://bugs.webkit.org/show_bug.cgi?id=76291

Reviewed by Noam Rosenthal.

Source/WebCore:

* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* platform/graphics/texmap/LayerTransform.cpp: Added.
(WebCore::LayerTransform::LayerTransform):
(WebCore::LayerTransform::setPosition):
(WebCore::LayerTransform::setSize):
(WebCore::LayerTransform::setAnchorPoint):
(WebCore::LayerTransform::setFlattening):
(WebCore::LayerTransform::setLocalTransform):
(WebCore::LayerTransform::setChildrenTransform):
(WebCore::LayerTransform::combined):
(WebCore::LayerTransform::combinedForChildren):
(WebCore::LayerTransform::combineTransforms):
(WebCore::LayerTransform::combineTransformsForChildren):
* platform/graphics/texmap/LayerTransform.h: Added.
* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::setTransform):
(WebCore::TextureMapperNode::computeTransformsRecursive):
(WebCore::TextureMapperNode::collectVisibleContentsRects):
(WebCore::TextureMapperNode::paintSelf):
(WebCore::TextureMapperNode::compareGraphicsLayersZValue):
(WebCore::TextureMapperNode::paintSelfAndChildren):
(WebCore::TextureMapperNode::paintReflection):
(WebCore::TextureMapperNode::syncCompositingStateSelf):
* platform/graphics/texmap/TextureMapperNode.h:
(WebCore::TextureMapperNode::TextureMapperNode):

Source/WebKit2:

Move the paint call before the visible rect collection to make sure that
transforms are computed. This will increase the delay for the visible rects
to get to the WebProcess until we move this calculation out of the UI Process.
This fixes an assert triggering in LayerTransform::combineTransforms.

* UIProcess/qt/LayerTreeHostProxyQt.cpp:
(WebKit::LayerTreeHostProxy::paintToCurrentGLContext):

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

9 years ago[EFL] SecurityPolicy whitelist interface should be exposed to EWebKit
commit-queue@webkit.org [Fri, 13 Jan 2012 19:24:05 +0000 (19:24 +0000)]
[EFL] SecurityPolicy whitelist interface should be exposed to EWebKit
https://bugs.webkit.org/show_bug.cgi?id=76082

Patch by Leandro Pereira <leandro@profusion.mobi> on 2012-01-13
Reviewed by Andreas Kling.

* CMakeListsEfl.txt: Added reference to ewk_security_policy.{cpp,h}.
* ewk/EWebKit.h: Include ewk_security_policy.h.
* ewk/ewk_security_policy.cpp: Added.
(ewk_security_policy_whitelist_origin_add): Implemented thin layer around SecurityPolicy::addOriginAccessWhitelistEntry().
(ewk_security_policy_whitelist_origin_del): Implemented thin layer around SecurityPolicy::removeOriginAccessWhitelistEntry().
(ewk_security_policy_whitelist_origin_reset): Implemented thin layer around SecurityPolicy::resetOriginAccessWhitelists().
* ewk/ewk_security_policy.h: Added.

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

9 years agoUnreviewed, build fix for unused argument warning after r104954.
kbr@google.com [Fri, 13 Jan 2012 19:19:24 +0000 (19:19 +0000)]
Unreviewed, build fix for unused argument warning after r104954.
https://bugs.webkit.org/show_bug.cgi?id=75906

Also fixed up somebody's bad merge in Source/WebCore/ChangeLog.

* html/canvas/WebGLObject.cpp:
(WebCore::WebGLObject::WebGLObject):

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

9 years ago[WinCairo] Build correction.
bfulgham@webkit.org [Fri, 13 Jan 2012 19:19:17 +0000 (19:19 +0000)]
[WinCairo] Build correction.

* Shared/WebGraphicsContext.h: Use proper include path for RefPtrCairo.h.

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

9 years ago[chromium] Update expectations
jamesr@google.com [Fri, 13 Jan 2012 19:15:24 +0000 (19:15 +0000)]
[chromium] Update expectations

* platform/chromium-linux/compositing/visibility/visibility-simple-video-layer-expected.png: Added.
* platform/chromium-win/compositing/visibility/visibility-simple-video-layer-expected.png: Added.
* platform/chromium/test_expectations.txt:

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

9 years ago[chromium] Update a few expectations
jamesr@google.com [Fri, 13 Jan 2012 19:06:06 +0000 (19:06 +0000)]
[chromium] Update a few expectations

* platform/chromium/test_expectations.txt:

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

9 years agoprepare-ChangeLog: Look for a text editor in a few more variables.
kubo@profusion.mobi [Fri, 13 Jan 2012 19:05:57 +0000 (19:05 +0000)]
prepare-ChangeLog: Look for a text editor in a few more variables.
https://bugs.webkit.org/show_bug.cgi?id=76289

Reviewed by Ryosuke Niwa.

A text editor was looked for only in the CHANGE_LOG_EDITOR and
CHANGE_LOG_EDIT_APPLICATION environment variables before falling back
to the OS X-specific open(1) command.

As there does not seem to be a common way of looking for a text editor
among the scripts in Tools/Scripts right now, just look at $VISUAL and
$EDITOR (set much more often than the other variables in Unix systems)
before falling back to open(1).

* Scripts/prepare-ChangeLog:
(openChangeLogs):

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

9 years agoAdd WebGLContextGroup as step toward sharing WebGL resources
commit-queue@webkit.org [Fri, 13 Jan 2012 19:02:16 +0000 (19:02 +0000)]
Add WebGLContextGroup as step toward sharing WebGL resources
https://bugs.webkit.org/show_bug.cgi?id=75906

The WebGL Working Group will soon add the ability to share
WebGL resources among WebGL contexts. This is the necessary
prep work. NO API changes.

Added WebGLSharedObject for objects that are shared vs
WebGLContextObject for objects that are not.

Patch by Gregg Tavares <gman@google.com> on 2012-01-13
Reviewed by Kenneth Russell.

No new tests. No change in behavior.

* GNUmakefile.list.am:
* WebCore.gypi:
* html/canvas/OESVertexArrayObject.cpp:
(WebCore::OESVertexArrayObject::createVertexArrayOES):
(WebCore::OESVertexArrayObject::deleteVertexArrayOES):
(WebCore::OESVertexArrayObject::isVertexArrayOES):
(WebCore::OESVertexArrayObject::bindVertexArrayOES):
* html/canvas/WebGLBuffer.cpp:
(WebCore::WebGLBuffer::WebGLBuffer):
(WebCore::WebGLBuffer::~WebGLBuffer):
(WebCore::WebGLBuffer::deleteObjectImpl):
* html/canvas/WebGLBuffer.h:
* html/canvas/WebGLContextGroup.cpp: Added.
(WebCore::WebGLContextGroup::create):
(WebCore::WebGLContextGroup::WebGLContextGroup):
(WebCore::WebGLContextGroup::~WebGLContextGroup):
(WebCore::WebGLContextGroup::getAGraphicsContext3D):
(WebCore::WebGLContextGroup::addContext):
(WebCore::WebGLContextGroup::removeContext):
(WebCore::WebGLContextGroup::removeObject):
(WebCore::WebGLContextGroup::addObject):
(WebCore::WebGLContextGroup::detachAndRemoveAllObjects):
(WebCore::WebGLContextGroup::loseContextGroup):
* html/canvas/WebGLContextGroup.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
* html/canvas/WebGLContextObject.cpp: Copied from Source/WebCore/html/canvas/WebGLShader.cpp.
(WebCore::WebGLContextObject::WebGLContextObject):
(WebCore::WebGLContextObject::~WebGLContextObject):
(WebCore::WebGLContextObject::detachContext):
(WebCore::WebGLContextObject::getAGraphicsContext3D):
* html/canvas/WebGLContextObject.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
(WebCore::WebGLContextObject::context):
(WebCore::WebGLContextObject::validate):
(WebCore::WebGLContextObject::hasGroupOrContext):
* html/canvas/WebGLFramebuffer.cpp:
(WebCore::WebGLFramebuffer::WebGLFramebuffer):
(WebCore::WebGLFramebuffer::~WebGLFramebuffer):
(WebCore::WebGLFramebuffer::setAttachmentForBoundFramebuffer):
(WebCore::WebGLFramebuffer::getAttachment):
(WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
(WebCore::WebGLFramebuffer::checkStatus):
(WebCore::WebGLFramebuffer::onAccess):
(WebCore::WebGLFramebuffer::deleteObjectImpl):
(WebCore::WebGLFramebuffer::initializeRenderbuffers):
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLObject.cpp:
(WebCore::WebGLObject::WebGLObject):
(WebCore::WebGLObject::~WebGLObject):
(WebCore::WebGLObject::deleteObject):
(WebCore::WebGLObject::detach):
(WebCore::WebGLObject::onDetached):
* html/canvas/WebGLObject.h:
* html/canvas/WebGLProgram.cpp:
(WebCore::WebGLProgram::WebGLProgram):
(WebCore::WebGLProgram::~WebGLProgram):
(WebCore::WebGLProgram::deleteObjectImpl):
(WebCore::WebGLProgram::cacheActiveAttribLocations):
* html/canvas/WebGLProgram.h:
* html/canvas/WebGLRenderbuffer.cpp:
(WebCore::WebGLRenderbuffer::~WebGLRenderbuffer):
(WebCore::WebGLRenderbuffer::WebGLRenderbuffer):
(WebCore::WebGLRenderbuffer::deleteObjectImpl):
* html/canvas/WebGLRenderbuffer.h:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::WebGLRenderingContext):
(WebCore::WebGLRenderingContext::initializeNewContext):
(WebCore::WebGLRenderingContext::~WebGLRenderingContext):
(WebCore::WebGLRenderingContext::clearIfComposited):
(WebCore::WebGLRenderingContext::checkObjectToBeBound):
(WebCore::WebGLRenderingContext::clear):
(WebCore::WebGLRenderingContext::copyTexImage2D):
(WebCore::WebGLRenderingContext::copyTexSubImage2D):
(WebCore::WebGLRenderingContext::createBuffer):
(WebCore::WebGLRenderingContext::createFramebuffer):
(WebCore::WebGLRenderingContext::createTexture):
(WebCore::WebGLRenderingContext::createProgram):
(WebCore::WebGLRenderingContext::createRenderbuffer):
(WebCore::WebGLRenderingContext::createShader):
(WebCore::WebGLRenderingContext::deleteObject):
(WebCore::WebGLRenderingContext::deleteRenderbuffer):
(WebCore::WebGLRenderingContext::deleteTexture):
(WebCore::WebGLRenderingContext::detachShader):
(WebCore::WebGLRenderingContext::validateElementArraySize):
(WebCore::WebGLRenderingContext::validateIndexArrayConservative):
(WebCore::WebGLRenderingContext::validateIndexArrayPrecise):
(WebCore::WebGLRenderingContext::validateWebGLObject):
(WebCore::WebGLRenderingContext::drawArrays):
(WebCore::WebGLRenderingContext::drawElements):
(WebCore::WebGLRenderingContext::framebufferRenderbuffer):
(WebCore::WebGLRenderingContext::framebufferTexture2D):
(WebCore::WebGLRenderingContext::getFramebufferAttachmentParameter):
(WebCore::WebGLRenderingContext::linkProgram):
(WebCore::WebGLRenderingContext::readPixels):
(WebCore::WebGLRenderingContext::useProgram):
(WebCore::WebGLRenderingContext::removeSharedObject):
(WebCore::WebGLRenderingContext::addSharedObject):
(WebCore::WebGLRenderingContext::removeContextObject):
(WebCore::WebGLRenderingContext::addContextObject):
(WebCore::WebGLRenderingContext::detachAndRemoveAllObjects):
(WebCore::WebGLRenderingContext::initVertexAttrib0):
(WebCore::WebGLRenderingContext::loseContext):
(WebCore::WebGLRenderingContext::loseContextImpl):
* html/canvas/WebGLRenderingContext.h:
(WebCore::WebGLRenderingContext::contextGroup):
* html/canvas/WebGLShader.cpp:
(WebCore::WebGLShader::WebGLShader):
(WebCore::WebGLShader::~WebGLShader):
(WebCore::WebGLShader::deleteObjectImpl):
* html/canvas/WebGLShader.h:
* html/canvas/WebGLSharedObject.cpp: Copied from Source/WebCore/html/canvas/WebGLRenderbuffer.cpp.
(WebCore::WebGLSharedObject::WebGLSharedObject):
(WebCore::WebGLSharedObject::~WebGLSharedObject):
(WebCore::WebGLSharedObject::detachContextGroup):
(WebCore::WebGLSharedObject::getAGraphicsContext3D):
* html/canvas/WebGLSharedObject.h: Copied from Source/WebCore/html/canvas/WebGLShader.h.
(WebCore::WebGLSharedObject::contextGroup):
(WebCore::WebGLSharedObject::isBuffer):
(WebCore::WebGLSharedObject::isFramebuffer):
(WebCore::WebGLSharedObject::isProgram):
(WebCore::WebGLSharedObject::isRenderbuffer):
(WebCore::WebGLSharedObject::isShader):
(WebCore::WebGLSharedObject::isTexture):
(WebCore::WebGLSharedObject::validate):
(WebCore::WebGLSharedObject::hasGroupOrContext):
* html/canvas/WebGLTexture.cpp:
(WebCore::WebGLTexture::WebGLTexture):
(WebCore::WebGLTexture::~WebGLTexture):
(WebCore::WebGLTexture::deleteObjectImpl):
* html/canvas/WebGLTexture.h:
* html/canvas/WebGLVertexArrayObjectOES.cpp:
(WebCore::WebGLVertexArrayObjectOES::WebGLVertexArrayObjectOES):
(WebCore::WebGLVertexArrayObjectOES::~WebGLVertexArrayObjectOES):
(WebCore::WebGLVertexArrayObjectOES::deleteObjectImpl):
* html/canvas/WebGLVertexArrayObjectOES.h:

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

9 years ago[soup] Initialize m_soupFlags in all ResourceResponse constructors.
kubo@profusion.mobi [Fri, 13 Jan 2012 18:05:41 +0000 (18:05 +0000)]
[soup] Initialize m_soupFlags in all ResourceResponse constructors.

Rubber-stamped by Gustavo Noronha Silva.

m_soupFlags was being initialized in two of the three ResourceResponse
constructors, causing some trouble in
FrameLoaderClient::dispatchDidReceiveResponse (ports which use
ResourceRequest::setSoupMessageFlags with the response's unitialized
flags).

* platform/network/soup/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):

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

9 years agoCFURLRef to KURL conversion shouldn't turn raw paths into file URLs
ap@apple.com [Fri, 13 Jan 2012 17:58:10 +0000 (17:58 +0000)]
CFURLRef to KURL conversion shouldn't turn raw paths into file URLs
https://bugs.webkit.org/show_bug.cgi?id=76251

Reviewed by Dan Bernstein.

* platform/cf/KURLCFNet.cpp: (WebCore::KURL::KURL): Removed the offending code.

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

9 years agoHWndDC is a better name than HwndDC.
levin@chromium.org [Fri, 13 Jan 2012 17:51:15 +0000 (17:51 +0000)]
HWndDC is a better name than HwndDC.
https://bugs.webkit.org/show_bug.cgi?id=76281

Reviewed by Darin Adler.

Source/JavaScriptCore:

* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* wtf/win/HWndDCWin.h: Renamed from Source/JavaScriptCore/wtf/win/HwndDCWin.h.
(WTF::HWndDC::HWndDC):
(WTF::HWndDC::~HWndDC):
(WTF::HWndDC::operator HDC):

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo):

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

9 years agoWeb Inspector: Disconnecting the front-end does not disable profiling.
commit-queue@webkit.org [Fri, 13 Jan 2012 17:43:17 +0000 (17:43 +0000)]
Web Inspector: Disconnecting the front-end does not disable profiling.
https://bugs.webkit.org/show_bug.cgi?id=76213

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-01-13
Reviewed by Pavel Feldman.

Not testable.

* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::clearFrontend):

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

9 years ago[chromium] Mark a flaky test as flaky
jamesr@google.com [Fri, 13 Jan 2012 17:41:36 +0000 (17:41 +0000)]
[chromium] Mark a flaky test as flaky

* platform/chromium/test_expectations.txt:

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

9 years ago[Qt] Fix missing signal in qwebframe API test for Qt5
commit-queue@webkit.org [Fri, 13 Jan 2012 17:41:16 +0000 (17:41 +0000)]
[Qt] Fix missing signal in qwebframe API test for Qt5
https://bugs.webkit.org/show_bug.cgi?id=76195

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-01-13
Reviewed by Noam Rosenthal.

In Qt5 QObject has a new signal with this signature: "objectNameChanged(QString)".

* tests/qwebframe/tst_qwebframe.cpp:
(tst_QWebFrame::enumerate_data):

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

9 years ago[GTK] gtkdoc.py ignoring LDFLAGS and CFLAGS environment variables
rgabor@webkit.org [Fri, 13 Jan 2012 17:04:29 +0000 (17:04 +0000)]
[GTK] gtkdoc.py ignoring LDFLAGS and CFLAGS environment variables
https://bugs.webkit.org/show_bug.cgi?id=76269

Reviewed by Martin Robinson.

* gtk/gtkdoc.py:
(GTKDoc._run_gtkdoc_scangobj):

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

9 years agoJSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
kling@webkit.org [Fri, 13 Jan 2012 16:35:33 +0000 (16:35 +0000)]
JSC/DOM bindings: Reduce HandleHeap churn in cacheWrapper().
<http://webkit.org/b/76271>

Reviewed by Darin Adler.

Use JSC::Weak::swap() to move JSDOMWrappers into the DOMWrapperWorld's wrapper map.
This avoids invoking the JSC::Weak copy constructor and associated HandleHeap churn.

* bindings/js/JSDOMBinding.h:
(WebCore::cacheWrapper):

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

9 years agoWeb Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel...
vsevik@chromium.org [Fri, 13 Jan 2012 16:28:03 +0000 (16:28 +0000)]
Web Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel, pass database names to inspector.
https://bugs.webkit.org/show_bug.cgi?id=76264

Reviewed by Pavel Feldman.

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Added.
(WebCore::InspectorIndexedDBAgent::FrontendProvider::create):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::~FrontendProvider):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::frontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::clearFrontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::FrontendProvider):
(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::~InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::setFrontend):
(WebCore::InspectorIndexedDBAgent::clearFrontend):
(WebCore::InspectorIndexedDBAgent::restore):
(WebCore::InspectorIndexedDBAgent::enable):
(WebCore::InspectorIndexedDBAgent::disable):
(WebCore::InspectorIndexedDBAgent::requestDatabaseNamesForFrame):
* inspector/InspectorIndexedDBAgent.h: Added.
(WebCore::InspectorIndexedDBAgent::create):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Added.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype.get securityOrigin):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

9 years agoTest that cloneNode() doesn't cause crashes when used directly after stylesheet mutation.
kling@webkit.org [Fri, 13 Jan 2012 16:20:37 +0000 (16:20 +0000)]
Test that cloneNode() doesn't cause crashes when used directly after stylesheet mutation.
<http://webkit.org/b/75987>

Reviewed by Antti Koivisto.

* fast/css/cloneNode-after-deleteRule-crash-expected.txt: Added.
* fast/css/cloneNode-after-deleteRule-crash.html: Added.
* fast/css/resources/cloneNode-after-deleteRule-subdocument.html: Added.

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

9 years agoUnreviewed, rolling out r104935.
vsevik@chromium.org [Fri, 13 Jan 2012 16:03:04 +0000 (16:03 +0000)]
Unreviewed, rolling out r104935.
http://trac.webkit.org/changeset/104935
https://bugs.webkit.org/show_bug.cgi?id=76277

Breaks AppleWin compilation (Requested by vsevik on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-01-13

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Removed.
* inspector/InspectorIndexedDBAgent.h: Removed.
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Removed.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

9 years ago[EFL] Remove extern "C" from ewk_private.h
gyuyoung.kim@samsung.com [Fri, 13 Jan 2012 15:49:32 +0000 (15:49 +0000)]
[EFL] Remove extern "C" from ewk_private.h
https://bugs.webkit.org/show_bug.cgi?id=76250

Reviewed by Andreas Kling.

ewk_private.h defines internal functions used by WebKit itself. There is no chance to be used by C application.
So, extern "C" keyword is unneeded in ewk_private.h.

* ewk/ewk_private.h:

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

9 years ago[EFL] Add OwnPtr specialization for Eina_Module.
commit-queue@webkit.org [Fri, 13 Jan 2012 15:44:44 +0000 (15:44 +0000)]
[EFL] Add OwnPtr specialization for Eina_Module.
https://bugs.webkit.org/show_bug.cgi?id=76255

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-01-13
Reviewed by Andreas Kling.

Add an overload for deleteOwnedPtr(Eina_Module*) on EFL port.

* wtf/OwnPtrCommon.h:
* wtf/efl/OwnPtrEfl.cpp:
(WTF::deleteOwnedPtr):

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

9 years agoWeb Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel...
vsevik@chromium.org [Fri, 13 Jan 2012 15:08:28 +0000 (15:08 +0000)]
Web Inspector: [InspectorIndexedDB] Add InspectorIndexedDBAgent and IndexedDBModel, pass database names to inspector.
https://bugs.webkit.org/show_bug.cgi?id=76264

Reviewed by Pavel Feldman.

* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/CodeGeneratorInspector.py:
* inspector/Inspector.json:
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorIndexedDBAgent.cpp: Added.
(WebCore::InspectorIndexedDBAgent::FrontendProvider::create):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::~FrontendProvider):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::frontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::clearFrontend):
(WebCore::InspectorIndexedDBAgent::FrontendProvider::FrontendProvider):
(WebCore::InspectorIndexedDBAgent::InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::~InspectorIndexedDBAgent):
(WebCore::InspectorIndexedDBAgent::setFrontend):
(WebCore::InspectorIndexedDBAgent::clearFrontend):
(WebCore::InspectorIndexedDBAgent::restore):
(WebCore::InspectorIndexedDBAgent::enable):
(WebCore::InspectorIndexedDBAgent::disable):
(WebCore::InspectorIndexedDBAgent::requestDatabaseNamesForFrame):
* inspector/InspectorIndexedDBAgent.h: Added.
(WebCore::InspectorIndexedDBAgent::create):
* inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::buildObjectForFrame):
* inspector/compile-front-end.sh:
* inspector/front-end/IndexedDBModel.js: Added.
* inspector/front-end/ResourceTreeModel.js:
(WebInspector.ResourceTreeFrame):
(WebInspector.ResourceTreeFrame.prototype.get securityOrigin):
(WebInspector.ResourceTreeFrame.prototype._navigate):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

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

9 years ago[Qt] Fix build when using TextureMapper with OpenGL/ES
commit-queue@webkit.org [Fri, 13 Jan 2012 15:04:23 +0000 (15:04 +0000)]
[Qt] Fix build when using TextureMapper with OpenGL/ES
https://bugs.webkit.org/show_bug.cgi?id=76268

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-01-13
Reviewed by Tor Arne Vestbø.

* WebCore.pri: When the texture mapper uses OpenGL/ES, then it also relies on the
availability of libEGL by using eglGetCurrentContext(). In that case we need to link against
libEGL.

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

9 years agoSource/WebCore: Don't artifically keep IDBDatabase objects alive if there are no...
jochen@chromium.org [Fri, 13 Jan 2012 14:58:27 +0000 (14:58 +0000)]
Source/WebCore: Don't artifically keep IDBDatabase objects alive if there are no references to it.
https://bugs.webkit.org/show_bug.cgi?id=75859

Originally, this code was added to keep the IDBDatabase object alive
even if no reference from JavaScript to the object existed, because
running transactions could still send events for this database
connection. Meanwhile, transactions are marked as active DOM objects
during their lifetime, and they keep a RefPtr to the IDBDatabase
object, so this hack is no longer required.

Reviewed by Tony Gentilcore.

Test: storage/indexeddb/delete-closed-database-object.html

* storage/IDBDatabase.cpp:
* storage/IDBDatabase.h:

LayoutTests: Test that an IDBDatabase object is garbage collected once no further references to it exist.
https://bugs.webkit.org/show_bug.cgi?id=75859

Reviewed by Tony Gentilcore.

* storage/indexeddb/delete-closed-database-object-expected.txt: Added.
* storage/indexeddb/delete-closed-database-object.html: Added.

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

9 years agoTextureMapper: Do the node transform computation when painting.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:41:19 +0000 (14:41 +0000)]
TextureMapper: Do the node transform computation when painting.
https://bugs.webkit.org/show_bug.cgi?id=74721

Reviewed by Noam Rosenthal.

The transform of the node tree was built during the syncCompositingState
step. This would cause an ASSERT with QWebView, trying to use a dirty transform
state since the rootTextureMapperNode in QWebFramePrivate::renderCompositedLayers
doesn't run the sync step after getting the world transform set.

This moves the transform computation from the sync to the paint step to
prevent making sure that the sync step has been run on all nodes before painting.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::computeTransformsRecursive):
(WebCore::TextureMapperNode::computeTiles):
Remove an unused variable.
(WebCore::TextureMapperNode::paint):
(WebCore::TextureMapperNode::syncAnimationsRecursively):
(WebCore::TextureMapperNode::syncCompositingState):
* platform/graphics/texmap/TextureMapperNode.h:

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

9 years agoTextureMapper: Simplify transform manipulations.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:39:48 +0000 (14:39 +0000)]
TextureMapper: Simplify transform manipulations.
https://bugs.webkit.org/show_bug.cgi?id=74719

Reviewed by Noam Rosenthal.

- Make sure that the replica node has a complete transform and
  use it directly instead of keeping a copy in the source.
- Apply the origin and position translation only once, on the
  target and descendants transforms.
- Use to2dTransform() on !preserves3D layers instead of doing
  the flattening manually.
- Remove mentions of perspective as this is handled by WebCore
  through the children transform.
- Apply the inverse target transform on the replica only where it
  is needed in paintReflection since it uses the full transform in paintSelf.
- Merge the base and local transforms.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::setTransform):
(WebCore::TextureMapperNode::computeTransformsSelf):
(WebCore::TextureMapperNode::computeAllTransforms):
(WebCore::TextureMapperNode::paintSelf):
(WebCore::TextureMapperNode::paintReflection):
* platform/graphics/texmap/TextureMapperNode.h:

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

9 years agoTextureMapper: Fix the fillsForward transform adjustment in syncAnimations.
jocelyn.turcotte@nokia.com [Fri, 13 Jan 2012 14:38:14 +0000 (14:38 +0000)]
TextureMapper: Fix the fillsForward transform adjustment in syncAnimations.
https://bugs.webkit.org/show_bug.cgi?id=76184

Reviewed by Noam Rosenthal.

Also make the intention clearer by using setTransform and setOpacity.

* platform/graphics/texmap/TextureMapperNode.cpp:
(WebCore::TextureMapperNode::syncAnimations):

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

9 years ago[Chromium] Unreviewed, update expectation for svg/dom/SVGPathSegList-segment-modifica...
apavlov@chromium.org [Fri, 13 Jan 2012 14:32:03 +0000 (14:32 +0000)]
[Chromium] Unreviewed, update expectation for svg/dom/SVGPathSegList-segment-modification.svg on LEOPARD DEBUG.

* platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed inspector scripts navigator style fixes.
vsevik@chromium.org [Fri, 13 Jan 2012 14:25:44 +0000 (14:25 +0000)]
Unreviewed inspector scripts navigator style fixes.

* inspector/front-end/scriptsPanel.css:
(#scripts-editor-container-tabbed-pane .tabbed-pane-header-tab):

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

9 years agoSource/WebCore: Once we prepared a script element for execution, execute it, even...
jochen@chromium.org [Fri, 13 Jan 2012 14:20:20 +0000 (14:20 +0000)]
Source/WebCore: Once we prepared a script element for execution, execute it, even if the script element was meanwhile removed from the dom tree.
https://bugs.webkit.org/show_bug.cgi?id=76083

Reviewed by Adam Barth.

This bug was caught by the following IE Test Center test:

http://samples.msdn.microsoft.com/ietestcenter/HTML5/show_async_test.htm?11_RemovingAsyncScript

Test: http/tests/misc/async-script-removed.html
      http/tests/misc/async-script.html

* dom/ScriptElement.cpp:
* dom/ScriptElement.h:
* dom/ScriptRunner.cpp:
(WebCore::ScriptRunner::queueScriptForExecution):
* html/HTMLScriptElement.cpp:
* html/HTMLScriptElement.h:
* svg/SVGScriptElement.cpp:
* svg/SVGScriptElement.h:

LayoutTests: Once we've prepared script element for execution, execute it, even if the script element was meanwhile removed from the dom tree.
https://bugs.webkit.org/show_bug.cgi?id=76083

Reviewed by Adam Barth.

* http/tests/misc/async-script-expected.txt: Added.
* http/tests/misc/async-script-removed-expected.txt: Added.
* http/tests/misc/async-script-removed.html: Added.
* http/tests/misc/async-script.html: Added.
* http/tests/misc/resources/delayed-log.php: Added.

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

9 years agoLarge SVG text layout performance regression in r81168
zimmermann@webkit.org [Fri, 13 Jan 2012 14:18:23 +0000 (14:18 +0000)]
Large SVG text layout performance regression in r81168
https://bugs.webkit.org/show_bug.cgi?id=65711

Reviewed by Antti Koivisto.

Finish SVGTextMetricsBuilder introduction, tested in my local svg-text-performance branch.
SVGTextMetricsBuilder has two public methods:
a) SVGTextMetricsBuilder::measureTextRenderer(RenderSVGInlineText*)
   It will be used exclusively for non-initial, incremental layout changes. Once the inital
   text layout ran, any mutation of eg. a child text node of a <tspan>, will only trigger
   a rebuild of the layout attributes associated with the passed in renderer.

b) SVGTextMetricsBuilder::buildMetricsAndLayoutAttributes(RenderSVGText*, RenderSVGInlineText* stopAtLeaf, SVGCharacterDataMap& allCharactersMap)
   stopAtLeaf=0:
   This carries out the initial layout phase. It measures all characters of the whole <text> subtree, and stores the SVGTextMetrics for each character
   in the SVGTextLayoutAttributes, stored in the RenderSVGInlineText object. It requires a SVGCharacterDataMap allCharactersMap as input argument,
   which contains a HashMap<unsigned, {float x, y, dx, dy, rotate}>, which maps each character position to a set of x/y/dx/dy/rotate values.
   The SVGCharacterDataMap living in SVGTextLayoutAttributes will be filled, from the global "allCharactersMap", so that each RenderSVGInlineText only
   stores the positioning information for its children, if any.

   Note: SVGTextMetricsBuilder is not yet deployed, so this talks about the design, once everything is landed.

   stopAtLeaf!=0:
   This is never used for the initial layout phase. If the initial layout is done, and eg. a <tspan> is added to the <text> subtree, we no longer
   need to rebuild the metrics map & layout attributes for the whole tree, but only for the desired <tspan>, and its previous/next sibling, if present
   (which may be affected by the inclusion of another node inbetween them).

SVGTextMetricsBuilder is now finished, and will be used in the next patch chunk.
Doesn't affect any tests yet.

* rendering/svg/SVGTextLayoutAttributes.h:
(WebCore::SVGTextLayoutAttributes::clear):
(WebCore::SVGCharacterData::SVGCharacterData):
* rendering/svg/SVGTextMetricsBuilder.cpp:
(WebCore::SVGTextMetricsBuilder::SVGTextMetricsBuilder):
(WebCore::SVGTextMetricsBuilder::currentCharacterStartsSurrogatePair):
(WebCore::SVGTextMetricsBuilder::advance):
(WebCore::SVGTextMetricsBuilder::advanceSimpleText):
(WebCore::SVGTextMetricsBuilder::advanceComplexText):
(WebCore::SVGTextMetricsBuilder::initializeMeasurementWithTextRenderer):
(WebCore::MeasureTextData::MeasureTextData):
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
(WebCore::SVGTextMetricsBuilder::walkTree):
(WebCore::SVGTextMetricsBuilder::measureTextRenderer):
(WebCore::SVGTextMetricsBuilder::buildMetricsAndLayoutAttributes):
* rendering/svg/SVGTextMetricsBuilder.h:

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

9 years agoNot reviewed: Fixing Win builders.
pfeldman@chromium.org [Fri, 13 Jan 2012 14:10:44 +0000 (14:10 +0000)]
Not reviewed: Fixing Win builders.

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::diff):

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

9 years ago[EFL] Add 'Copy Image Address' to context menu.
commit-queue@webkit.org [Fri, 13 Jan 2012 14:01:38 +0000 (14:01 +0000)]
[EFL] Add 'Copy Image Address' to context menu.
https://bugs.webkit.org/show_bug.cgi?id=76153

Patch by Grzegorz Czajkowski <g.czajkowski@samsung.com> on 2012-01-13
Reviewed by Andreas Kling.

Source/WebCore:

Enables 'Copy Image Address' option to context menu in WebKit-EFL as it is enabled in GTK and QT ports.

* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::checkOrEnableIfNeeded):
* platform/ContextMenuItem.h:
* platform/LocalizationStrategy.h:
* platform/LocalizedStrings.cpp:
* platform/LocalizedStrings.h:
* platform/efl/LocalizedStringsEfl.cpp:
(WebCore::contextMenuItemTagCopyImageUrlToClipboard):

Source/WebKit/efl:

Adds EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD to Ewk_Context_Menu_Action to synchronize it with ContextMenuItem.h

* ewk/ewk_contextmenu.h:

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

9 years agoNot reviewed: 32bit build fix.
pfeldman@chromium.org [Fri, 13 Jan 2012 13:48:02 +0000 (13:48 +0000)]
Not reviewed: 32bit build fix.

* inspector/DOMEditor.cpp:
* inspector/DOMEditor.h:

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

9 years agoUnreviewed, rollout r104905.
mario@webkit.org [Fri, 13 Jan 2012 13:41:05 +0000 (13:41 +0000)]
Unreviewed, rollout r104905.
https://bugs.webkit.org/show_bug.cgi?id=76267

This patch broke tests in the GTK 64bit Debug bot.

Source/WebCore:

* editing/gtk/FrameSelectionGtk.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

Source/WebKit/gtk:

* tests/testatk.c:
(textCaretMovedCallback):
(testWebkitAtkCaretOffsets):
(textSelectionChangedCallback):
(testWebkitAtkTextSelections):

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

9 years agoUnreviewed, rebaseline Chromium and optimize Qt/GTK baselines after r104917 using...
apavlov@chromium.org [Fri, 13 Jan 2012 13:29:10 +0000 (13:29 +0000)]
Unreviewed, rebaseline Chromium and optimize Qt/GTK baselines after r104917 using garden-o-matic.

* platform/chromium-mac-snowleopard/svg/custom/text-xy-updates-SVGList-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png: Added.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Removed.
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Removed.
* svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.txt.
* svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt: Renamed from LayoutTests/platform/gtk/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.txt.

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

9 years agoWeb Inspector: make HTML editing preserve node identity when node nesting level changes.
pfeldman@chromium.org [Fri, 13 Jan 2012 13:24:48 +0000 (13:24 +0000)]
Web Inspector: make HTML editing preserve node identity when node nesting level changes.
https://bugs.webkit.org/show_bug.cgi?id=76183

Reviewed by Yury Semikhatsky.

Source/WebCore:

Test: inspector/elements/set-outer-html-2.html

* inspector/DOMEditor.cpp:
(WebCore::DOMEditor::patchDocument):
(WebCore::DOMEditor::patchNode):
(WebCore::DOMEditor::innerPatchHTMLElement):
(WebCore::DOMEditor::innerPatchNode):
(WebCore::DOMEditor::diff):
(WebCore::DOMEditor::innerPatchChildren):
(WebCore::DOMEditor::createDigest):
(WebCore::DOMEditor::insertBefore):
(WebCore::DOMEditor::removeChild):
(WebCore::DOMEditor::markNodeAsUsed):
(WebCore::DOMEditor::dumpMap):
* inspector/DOMEditor.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::setOuterHTML):

LayoutTests:

* inspector/elements/set-outer-html-2-expected.txt: Added.
* inspector/elements/set-outer-html-2.html: Added.
* inspector/elements/set-outer-html-expected.txt:
* inspector/elements/set-outer-html-test.js: Added.
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step1):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step2):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite.step3):
(initialize_SetOuterHTMLTest.InspectorTest.setUpTestSuite):
(initialize_SetOuterHTMLTest.InspectorTest.recordEvent):
(initialize_SetOuterHTMLTest.InspectorTest.patchOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.setOuterHTML.bringBack):
(initialize_SetOuterHTMLTest.InspectorTest.setOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML.dumpIdentity):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML.callback):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML.dumpOuterHTML):
(initialize_SetOuterHTMLTest.InspectorTest.innerSetOuterHTML):
(initialize_SetOuterHTMLTest):
* inspector/elements/set-outer-html.html:

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

9 years agoShadowContentElement should be able to use query.
commit-queue@webkit.org [Fri, 13 Jan 2012 13:04:58 +0000 (13:04 +0000)]
ShadowContentElement should be able to use query.
https://bugs.webkit.org/show_bug.cgi?id=75302

Patch by Shinya Kawanaka <shinyak@google.com> on 2012-01-13
Reviewed by Hajime Morita.

Source/WebCore:

This patch introduces a selector to query elements in ShadowContentElement.
This can be used instead of ShadowContentElement::shouldInclude in more sophisticated ways.

Tests: fast/dom/shadow/shadow-contents-select-expected.html
       fast/dom/shadow/shadow-contents-select.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMAllInOne.cpp:
* dom/SelectorQuery.cpp:
(WebCore::SelectorDataList::SelectorDataList):
  Extracted from SelectorQueryto share codes with ShadowContentSelectorQuery.
(WebCore::SelectorDataList::initialize):
(WebCore::SelectorDataList::matches):
(WebCore::SelectorDataList::queryAll):
(WebCore::SelectorDataList::queryFirst):
(WebCore::SelectorDataList::canUseIdLookup):
(WebCore::SelectorDataList::execute):
(WebCore::SelectorQuery::SelectorQuery):
(WebCore::SelectorQuery::queryAll):
(WebCore::SelectorQuery::queryFirst):
* dom/SelectorQuery.h:
(WebCore::SelectorDataList::size):
* dom/ShadowContentElement.cpp:
(WebCore::ShadowContentElement::select):
(WebCore::ShadowContentElement::setSelect):
* dom/ShadowContentElement.h:
* dom/ShadowContentSelectorQuery.cpp: Added.
(WebCore::ShadowContentSelectorQuery::ShadowContentSelectorQuery):
(WebCore::ShadowContentSelectorQuery::matches):
  Returns true if Node is matched by the query.
* dom/ShadowContentSelectorQuery.h: Copied from Source/WebCore/dom/ShadowContentElement.h.
* dom/ShadowInclusionSelector.cpp:
(WebCore::ShadowInclusionSelector::select):
* dom/ShadowInclusionSelector.h:
* html/HTMLAttributeNames.in:
* html/HTMLDetailsElement.cpp:
(WebCore::summaryQuerySelector):
(WebCore::DetailsContentElement::DetailsContentElement): Re-implemented using query.
(WebCore::DetailsSummaryElement::DetailsSummaryElement): ditto.

LayoutTests:

Tests for ShadowContentElement query.

* fast/dom/shadow/shadow-contents-select-expected.html: Added.
* fast/dom/shadow/shadow-contents-select.html: Added.

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

9 years agoUnreviewed. Rolled DEPS.
commit-queue@webkit.org [Fri, 13 Jan 2012 12:39:06 +0000 (12:39 +0000)]
Unreviewed.  Rolled DEPS.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-01-13

* DEPS:

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

9 years agoUpdate Snow-Leopard SVG pixel test baseline after r104881.
reni@webkit.org [Fri, 13 Jan 2012 11:54:27 +0000 (11:54 +0000)]
Update Snow-Leopard SVG pixel test baseline after r104881.
Unreviewed gardening.

* platform/mac-snowleopard/svg/css/composite-shadow-example-expected.png:
* platform/mac-snowleopard/svg/css/composite-shadow-with-opacity-expected.png:
* platform/mac-snowleopard/svg/css/stars-with-shadow-expected.png:
* platform/mac-snowleopard/svg/custom/altglyph-expected.png:
* platform/mac-snowleopard/svg/custom/external-paintserver-reference-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
* platform/mac-snowleopard/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
* platform/mac-snowleopard/svg/custom/invisible-text-after-scrolling-expected.png:
* platform/mac-snowleopard/svg/custom/junk-data-expected.png:
* platform/mac-snowleopard/svg/custom/linking-base-external-reference-expected.png:
* platform/mac-snowleopard/svg/custom/missing-xlink-expected.png:
* platform/mac-snowleopard/svg/custom/object-sizing-no-width-height-expected.png:
* platform/mac-snowleopard/svg/custom/path-bad-data-expected.png:
* platform/mac-snowleopard/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
* platform/mac-snowleopard/svg/custom/text-xy-updates-SVGList-expected.png:
* platform/mac-snowleopard/svg/custom/use-font-face-crash-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-appendItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-initialize-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-insertItemBefore-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-removeItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-replaceItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
* platform/mac-snowleopard/svg/dom/SVGNumberList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-appendItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-insertItemBefore-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-removeItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPathSegList-replaceItem-expected.png:
* platform/mac-snowleopard/svg/dom/SVGPointList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGStringList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/SVGTransformList-basics-expected.png:
* platform/mac-snowleopard/svg/dom/css-transforms-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
* platform/mac-snowleopard/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/mac-snowleopard/svg/hixie/error/012-expected.png:
* platform/mac-snowleopard/svg/in-html/circle-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
* platform/mac-snowleopard/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
* platform/mac-snowleopard/svg/text/kerning-expected.png:
* platform/mac-snowleopard/svg/text/multichar-glyph-expected.png:
* platform/mac-snowleopard/svg/wicd/rightsizing-grid-expected.png:
* platform/mac-snowleopard/svg/wicd/test-rightsizing-b-expected.png:
* platform/mac-snowleopard/svg/wicd/test-scalable-background-image1-expected.png:
* platform/mac-snowleopard/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-mask-with-percentages-expected.png:
* platform/mac-snowleopard/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/mac-snowleopard/svg/zoom/text/zoom-svg-float-border-padding-expected.png:

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

9 years agoWeb Inspector: Detailed heap snapshot. _calculateFlags is too slow on a large heap...
loislo@chromium.org [Fri, 13 Jan 2012 11:36:38 +0000 (11:36 +0000)]
Web Inspector: Detailed heap snapshot. _calculateFlags is too slow on a large heap snapshot.
https://bugs.webkit.org/show_bug.cgi?id=76252

_calculateFlags speed is about 10k edges per second.
It requires 150sec for the snapshot with 1.5m edges.
The root of problem is var node = list.shift();
shift() is not effective in term of memory and cpu.
In our case it can be replaced with pop().
Now the function works 40 times faster.

Drive by change: if statement was reformatted a bit for better readability.

Reviewed by Yury Semikhatsky.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._calculateFlags):

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

9 years ago[EFL] Add visible field into ewk_tiled_backing_store's data.
commit-queue@webkit.org [Fri, 13 Jan 2012 11:25:07 +0000 (11:25 +0000)]
[EFL] Add visible field into ewk_tiled_backing_store's data.
https://bugs.webkit.org/show_bug.cgi?id=76165

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-13
Reviewed by Nikolas Zimmermann.

Using of evas_object_visible_get() API can't gurantee the correctness of
evas_object's visible status if it's called inside of evas_object's
smart_show() method.
So, a visible flag for the ewk_tiled_backing_store is added.
In addition, as tiles are not visible, ewk_tiled_backing_store will push
its own tiles into the cache when it disapear.

* ewk/ewk_tiled_backing_store.cpp:
(_ewk_tiled_backing_store_updates_process):
(_ewk_tiled_backing_store_item_process_idler_start):
(_ewk_tiled_backing_store_item_fill):
(_ewk_tiled_backing_store_smart_member_add):
(_ewk_tiled_backing_store_smart_show):
(_ewk_tiled_backing_store_smart_hide):

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

9 years agoUnreviewed; chromium tests rebaselined after r104907.
haraken@chromium.org [Fri, 13 Jan 2012 11:02:33 +0000 (11:02 +0000)]
Unreviewed; chromium tests rebaselined after r104907.

* platform/chromium-mac-leopard/fast/repaint/focus-layers-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/focus-layers-expected.png: Added.
* platform/chromium-mac/fast/repaint/focus-layers-expected.png: Removed.
* platform/chromium-win/fast/repaint/focus-layers-expected.png:

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

9 years agoWeb Inspector: [Chromium] JavaScriptOutlineDialog fails to open
apavlov@chromium.org [Fri, 13 Jan 2012 10:52:31 +0000 (10:52 +0000)]
Web Inspector: [Chromium] JavaScriptOutlineDialog fails to open
https://bugs.webkit.org/show_bug.cgi?id=76259

Reviewed by Yury Semikhatsky.

* WebCore.gypi:

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

9 years agoUnreviewed tests rebaseline after r104803.
vsevik@chromium.org [Fri, 13 Jan 2012 10:07:29 +0000 (10:07 +0000)]
Unreviewed tests rebaseline after r104803.

* fast/profiler/throw-exception-from-eval-expected.txt:
* platform/chromium-mac/http/tests/history/cross-origin-replace-history-object-child-expected.txt:
* platform/chromium-win/http/tests/security/javascriptURL/xss-DENIED-javascript-execution-expected.txt:
* platform/chromium-win/http/tests/security/xss-DENIED-history-properties-expected.txt:
* platform/chromium/http/tests/security/xss-eval-expected.txt:
* platform/mac-leopard/plugins/plugin-initiate-popup-window-expected.txt:
* platform/mac-wk2/plugins/mouse-events-scaled-expected.txt:
* platform/mac/fast/AppleScript/001-expected.txt:
* platform/mac/plugins/npp-set-window-called-during-destruction-expected.txt:
* platform/mac/plugins/plugin-initiate-popup-window-expected.txt:
* platform/qt-wk2/plugins/document-open-expected.txt:
* platform/win-wk2/platform/win/plugins/windowless-paint-rect-coordinates-expected.txt:
* platform/win/plugins/call-javascript-that-destroys-plugin-expected.txt:
* platform/win/plugins/get-value-netscape-window-expected.txt:
* platform/win/plugins/iframe-inside-overflow-expected.txt:
* platform/win/plugins/keyboard-events-expected.txt:
* platform/win/plugins/mouse-events-expected.txt:
* platform/win/plugins/mouse-events-fixedpos-expected.txt:
* platform/win/plugins/npn-invalidate-rect-invalidates-window-expected.txt:
* platform/win/plugins/npp-set-window-called-during-destruction-expected.txt:
* platform/win/plugins/window-geometry-initialized-before-set-window-expected.txt:
* platform/win/plugins/window-region-is-set-to-clip-rect-expected.txt:
* platform/win/plugins/windowless-paint-rect-coordinates-expected.txt:

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

9 years ago[Qt][Mac] Unreviewed garedening. Skip new failing tests to paint the bot green.
ossy@webkit.org [Fri, 13 Jan 2012 10:05:33 +0000 (10:05 +0000)]
[Qt][Mac] Unreviewed garedening. Skip new failing tests to paint the bot green.

* platform/qt-mac/Skipped:

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

9 years ago[Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
ossy@webkit.org [Fri, 13 Jan 2012 09:41:34 +0000 (09:41 +0000)]
[Qt][WK2]REGRESSION(r104881):It broke hundreds of tests
https://bugs.webkit.org/show_bug.cgi?id=76247

Reviewed by Kenneth Rohde Christiansen.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues): Disable mock scrollbars on Qt by default. (workaround)

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

9 years ago2012-01-13 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Fri, 13 Jan 2012 09:31:45 +0000 (09:31 +0000)]
2012-01-13  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Update Lion SVG pixel test baseline after r104881.
        Also update SVGFETurbulenceElement-*-stitchTiles-*, filter-child-repaint.svg results, which pass again.

        * platform/mac/svg/css/composite-shadow-example-expected.png:
        * platform/mac/svg/css/composite-shadow-with-opacity-expected.png:
        * platform/mac/svg/css/stars-with-shadow-expected.png:
        * platform/mac/svg/custom/altglyph-expected.png:
        * platform/mac/svg/custom/external-paintserver-reference-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.png:
        * platform/mac/svg/custom/getscreenctm-in-scrollable-svg-area-expected.png:
        * platform/mac/svg/custom/invisible-text-after-scrolling-expected.png:
        * platform/mac/svg/custom/junk-data-expected.png:
        * platform/mac/svg/custom/linking-base-external-reference-expected.png:
        * platform/mac/svg/custom/missing-xlink-expected.png:
        * platform/mac/svg/custom/object-sizing-no-width-height-expected.png:
        * platform/mac/svg/custom/path-bad-data-expected.png:
        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/mac/svg/custom/text-xy-updates-SVGList-expected.png:
        * platform/mac/svg/custom/use-font-face-crash-expected.png:
        * platform/mac/svg/dom/SVGLengthList-appendItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-basics-expected.png:
        * platform/mac/svg/dom/SVGLengthList-initialize-expected.png:
        * platform/mac/svg/dom/SVGLengthList-insertItemBefore-expected.png:
        * platform/mac/svg/dom/SVGLengthList-removeItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-replaceItem-expected.png:
        * platform/mac/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
        * platform/mac/svg/dom/SVGNumberList-basics-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-appendItem-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-insertItemBefore-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-removeItem-expected.png:
        * platform/mac/svg/dom/SVGPathSegList-replaceItem-expected.png:
        * platform/mac/svg/dom/SVGPointList-basics-expected.png:
        * platform/mac/svg/dom/SVGStringList-basics-expected.png:
        * platform/mac/svg/dom/SVGTransformList-basics-expected.png:
        * platform/mac/svg/dom/css-transforms-expected.png:
        * platform/mac/svg/dynamic-updates/SVG-dynamic-css-transform-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-dom-stitchTiles-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-stitchTiles-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
        * platform/mac/svg/dynamic-updates/SVGLinearGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGPatternElement-svgdom-patternTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGRadialGradientElement-svgdom-gradientTransform-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
        * platform/mac/svg/hixie/error/012-expected.png:
        * platform/mac/svg/in-html/circle-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
        * platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
        * platform/mac/svg/repaint/filter-child-repaint-expected.png:
        * platform/mac/svg/text/kerning-expected.png:
        * platform/mac/svg/text/multichar-glyph-expected.png:
        * platform/mac/svg/wicd/rightsizing-grid-expected.png:
        * platform/mac/svg/wicd/test-rightsizing-b-expected.png:
        * platform/mac/svg/wicd/test-scalable-background-image1-expected.png:
        * platform/mac/svg/zoom/page/absolute-sized-document-scrollbars-expected.png:
        * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
        * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.png:
        * platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
        * platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.png:

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

9 years ago[EFL] Unused code cleanup on ewk_tiled_model.cpp.
commit-queue@webkit.org [Fri, 13 Jan 2012 09:23:25 +0000 (09:23 +0000)]
[EFL] Unused code cleanup on ewk_tiled_model.cpp.
https://bugs.webkit.org/show_bug.cgi?id=76031

Patch by KwangHyuk Kim <hyuki.kim@samsung.com> on 2012-01-13
Reviewed by Ryosuke Niwa.

Remove unused code from ewk_tiled_model.cpp.

* ewk/ewk_tiled_model.cpp:

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

9 years agotext-decorations should not be propagated to floating, absolutely or fixed
haraken@chromium.org [Fri, 13 Jan 2012 09:17:42 +0000 (09:17 +0000)]
text-decorations should not be propagated to floating, absolutely or fixed
positioned decendants
https://bugs.webkit.org/show_bug.cgi?id=18611

Reviewed by Darin Adler.

Source/WebCore:

Previously text-decorations were propagated to all child elements,
but they should not be propagated to out-of-flow descendants,
i.e. floating, absolutely or fixed positioned elements.

The spec says "text decorations are not propagated to any out-of-flow descendants":
http://www.w3.org/TR/2011/WD-css3-text-20110901/#decoration

Test: fast/css/text-decoration-in-descendants.html

* rendering/RenderObject.cpp:
(WebCore::RenderObject::getTextDecorationColors):

LayoutTests:

The added test checks that text-decorations are not propagated to out-of-flow
descendants, i.e. floating, absolutely or fixed positioned elements.

The spec says "text decorations are not propagated to any out-of-flow descendants":
http://www.w3.org/TR/2011/WD-css3-text-20110901/#decoration

* fast/css/text-decoration-in-descendants-expected.html: Added.
* fast/css/text-decoration-in-descendants.html: Added.
* platform/chromium-linux/fast/repaint/focus-layers-expected.png: Updated the test result.
* platform/mac/fast/repaint/focus-layers-expected.png: Ditto.

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

9 years agoREGRESSION (r104668): Crash in HTMLFormElement destructor if the
tkent@chromium.org [Fri, 13 Jan 2012 09:14:44 +0000 (09:14 +0000)]
REGRESSION (r104668): Crash in HTMLFormElement destructor if the
document contains radio groups with the identical name.
https://bugs.webkit.org/show_bug.cgi?id=76206

Reviewed by Darin Adler.

Source/WebCore:

Test: fast/forms/radio/radio-group-document-destruction.html

* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::~HTMLInputElement):
setForm(0) may register this to a document-level radio button group.
We need to unregister this from the group because
Document::checkedRadioButtons() is still accessible from other objects.

LayoutTests:

* fast/forms/radio/radio-group-document-destruction-expected.txt: Added.
* fast/forms/radio/radio-group-document-destruction.html: Added.

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

9 years ago[GTK] ATK text-caret-moved and text-selection-changed events not being emitted
mario@webkit.org [Fri, 13 Jan 2012 09:12:46 +0000 (09:12 +0000)]
[GTK] ATK text-caret-moved and text-selection-changed events not being emitted
https://bugs.webkit.org/show_bug.cgi?id=76069

Reviewed by Martin Robinson.

Source/WebCore:

Fix bug introduced with patch for Bug 72830.

* editing/gtk/FrameSelectionGtk.cpp:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
Pass the right accessibility object associated with the current
selection to objectFocusedAndCaretOffsetUnignored.

Source/WebKit/gtk:

Update caret browsing related unit tests to check emissions of
'text-caret-moved' and 'text-selection-changed' signals.

* tests/testatk.c:
(textCaretMovedCallback): New callback for 'text-caret-moved'.
(testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
(textSelectionChangedCallback): New callback for 'text-selection-changed'.
(testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.

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

9 years ago[Gtk] Removed duplicated unit test.
mario@webkit.org [Fri, 13 Jan 2012 09:10:22 +0000 (09:10 +0000)]
[Gtk] Removed duplicated unit test.

The unit test testWebkitAtkGetTextAtOffsetForms is exactly the
same test case than testWebkitAtkGetTextAtOffset, so it makes no
sense to have it duplicated.

Rubber-stamped by Martin Robinson.

* tests/testatk.c:
(main): Removed testWebkitAtkGetTextAtOffsetForms.

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

9 years agoRefactor RenderLayerBacking::paintIntoLayer and RenderLayer::paintLayer()/paintLayerC...
achicu@adobe.com [Fri, 13 Jan 2012 09:05:22 +0000 (09:05 +0000)]
Refactor RenderLayerBacking::paintIntoLayer and RenderLayer::paintLayer()/paintLayerContents() to avoid duplicate code
https://bugs.webkit.org/show_bug.cgi?id=75983

Reviewed by Simon Fraser.

No new tests, just merging two duplicate methods.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintLayer):
    This method is used only in non-composited mode, so I've moved the check for composited mode much earlier.

(WebCore::RenderLayer::paintLayerContentsAndReflection):
    Also used just in non-composited mode, it will draw the reflection and then just call paintLayerContents.

(WebCore::RenderLayer::paintLayerContents):
    Old method, that is now used by both composited and non-composited mode. I've added 3 more flags used to render the
    Graphics layers: Background, Foreground and Mask.

* rendering/RenderLayer.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::paintIntoLayer):
    Removed all the code and delegated the work to RenderLayer::paintLayerContents.

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

9 years ago[Mac][DRT] Should support --no-timeout
commit-queue@webkit.org [Fri, 13 Jan 2012 08:47:04 +0000 (08:47 +0000)]
[Mac][DRT] Should support --no-timeout
https://bugs.webkit.org/show_bug.cgi?id=76242

Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-13
Reviewed by Darin Adler.

* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions): Added "--no-timeout" to the options list.
(setWaitToDumpWatchdog): Added to encapsulate the waitToDumpWatchdog global variable.
(shouldSetWaitToDumpWatchdog): Added to check the useTimeoutWatchdog flag set by the option.
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setWaitToDump): Now calls shouldSetWaitToDumpWatchdog() to check the flag.

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

9 years agoUnreviewed build fix after r104787 if JIT_VERBOSE_OSR is defined
yuqiang.xian@intel.com [Fri, 13 Jan 2012 08:46:57 +0000 (08:46 +0000)]
Unreviewed build fix after r104787 if JIT_VERBOSE_OSR is defined

* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):

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

9 years agoJavaScriptCore: Mark all exported symbols in the header file automatically.
morrita@google.com [Fri, 13 Jan 2012 07:23:44 +0000 (07:23 +0000)]
JavaScriptCore: Mark all exported symbols in the header file automatically.
https://bugs.webkit.org/show_bug.cgi?id=72855

Reviewed by Darin Adler.

Added WTF_EXPORT_PRIVATE and JS_EXPORT_PRIVATE based on JavaScriptCore.exp files.
The change is generated by a tool calledListExportables (https://github.com/omo/ListExportables)

* API/OpaqueJSString.h:
* bytecode/CodeBlock.h:
* bytecode/SamplingTool.h:
* debugger/Debugger.h:
* debugger/DebuggerActivation.h:
* debugger/DebuggerCallFrame.h:
* heap/AllocationSpace.h:
* heap/HandleHeap.h:
* heap/Heap.h:
* heap/MachineStackMarker.h:
* heap/MarkStack.h:
* heap/VTableSpectrum.h:
* heap/WriteBarrierSupport.h:
* parser/Nodes.h:
* parser/ParserArena.h:
* profiler/Profile.h:
* runtime/ArgList.h:
* runtime/CallData.h:
* runtime/Completion.h:
* runtime/ConstructData.h:
* runtime/DateInstance.h:
* runtime/Error.h:
* runtime/ExceptionHelpers.h:
* runtime/FunctionConstructor.h:
* runtime/Identifier.h:
* runtime/InitializeThreading.h:
* runtime/InternalFunction.h:
* runtime/JSArray.h:
* runtime/JSByteArray.h:
* runtime/JSCell.h:
* runtime/JSFunction.h:
* runtime/JSGlobalData.cpp:
* runtime/JSGlobalData.h:
* runtime/JSGlobalObject.h:
* runtime/JSGlobalThis.h:
* runtime/JSLock.h:
* runtime/JSObject.h:
* runtime/JSString.h:
* runtime/JSValue.h:
* runtime/JSVariableObject.h:
* runtime/Lookup.h:
* runtime/MemoryStatistics.h:
* runtime/ObjectPrototype.h:
* runtime/Options.h:
* runtime/PropertyDescriptor.h:
* runtime/PropertyNameArray.h:
* runtime/PropertySlot.h:
* runtime/RegExp.h:
* runtime/RegExpObject.h:
* runtime/SamplingCounter.h:
* runtime/SmallStrings.h:
* runtime/StringObject.h:
* runtime/Structure.h:
* runtime/TimeoutChecker.h:
* runtime/UString.h:
* runtime/WriteBarrier.h:
* wtf/ArrayBufferView.h:
* wtf/ByteArray.h:
* wtf/CryptographicallyRandomNumber.h:
* wtf/CurrentTime.h:
* wtf/DateMath.h:
* wtf/DecimalNumber.h:
* wtf/FastMalloc.cpp:
* wtf/FastMalloc.h:
* wtf/MD5.h:
* wtf/MainThread.h:
* wtf/MetaAllocator.h:
* wtf/MetaAllocatorHandle.h:
* wtf/OSAllocator.h:
* wtf/PageBlock.h:
* wtf/RandomNumber.h:
* wtf/RefCountedLeakCounter.h:
* wtf/SHA1.h:
* wtf/Threading.cpp:
* wtf/Threading.h:
* wtf/ThreadingPrimitives.h:
* wtf/WTFThreadData.h:
* wtf/dtoa.h:
* wtf/text/AtomicString.h:
* wtf/text/CString.h:
* wtf/text/StringBuilder.h:
* wtf/text/StringImpl.h:
* wtf/text/WTFString.h:
* wtf/unicode/Collator.h:
* wtf/unicode/UTF8.h:
* yarr/Yarr.h:
* yarr/YarrPattern.h:

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

9 years ago../JavaScriptCore: [Chromium] JSExportMacros.h should be visible.
barraclough@apple.com [Fri, 13 Jan 2012 06:44:31 +0000 (06:44 +0000)]
../JavaScriptCore: [Chromium] JSExportMacros.h should be visible.
https://bugs.webkit.org/show_bug.cgi?id=76147

Patch by MORITA Hajime <morrita@google.com> on 2012-01-12
Reviewed by Tony Chang.

* config.h:

../WebCore: Clean up putDirect (part 2)
https://bugs.webkit.org/show_bug.cgi?id=76232

Reviewed by Sam Weinig.

Rename putWithAttributes to putDirectVirtual.

* bindings/js/JSDOMWindowShell.cpp:
(WebCore::JSDOMWindowShell::putDirectVirtual):
* bindings/js/JSDOMWindowShell.h:

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

9 years agolosslessly optimise file size of test resource pngs
mikelawther@chromium.org [Fri, 13 Jan 2012 06:19:53 +0000 (06:19 +0000)]
losslessly optimise file size of test resource pngs
https://bugs.webkit.org/show_bug.cgi?id=76240

Reviewed by Darin Adler.

Filesizes approximately halved.

* css3/calc/resources/colorsquare.png:
* css3/calc/resources/diamond.png:
* css3/calc/resources/mask.png:
* css3/calc/resources/ring.png:

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

9 years ago[Chromium] JSExportMacros.h should be visible.
morrita@google.com [Fri, 13 Jan 2012 05:13:34 +0000 (05:13 +0000)]
[Chromium] JSExportMacros.h should be visible.
https://bugs.webkit.org/show_bug.cgi?id=76147

Reviewed by Tony Chang.

Source/JavaScriptCore:

* config.h:

Source/WebCore:

No new tests. No behavior change.

* config.h:

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

9 years agoSplit GraphicsContext3DOpenGL into several files
commit-queue@webkit.org [Fri, 13 Jan 2012 04:51:22 +0000 (04:51 +0000)]
Split GraphicsContext3DOpenGL into several files
https://bugs.webkit.org/show_bug.cgi?id=75462

Patch by ChangSeok Oh <shivamidow@gmail.com> on 2012-01-12
Reviewed by Kenneth Russell.

Split GraphicsContext3DOpenGL.cpp into three files, GraphicsContext3DOpenGLCommon.cpp,
GraphicsContext3DOpenGL.cpp & GraphicsContext3DOpenGLES.cpp so that makes gles support possible
for WebGL etc. Most of common APIs between gl and gles are in GraphicsContext3DOpenGLCommon.cpp.
The other gl and gles specific APIs are placed apart in GraphicsContext3DOpenGL.cpp &
GraphicsContext3DOpenGLES.cpp

No new tests required.

* GNUmakefile.list.am: Added GraphicsContext3DOpenGLCommon.cpp
* Target.pri: Added GraphicsContext3DOpenGLCommon.cpp
* WebCore.gypi: Added GraphicsContext3DOpenGLCommon.cpp
* WebCore.xcodeproj/project.pbxproj: Added GraphicsContext3DOpenGLCommon.cpp
* platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::renderbufferStorage):
* platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: Copied from Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGL.cpp.
(WebCore::GraphicsContext3D::validateAttributes):
(WebCore::GraphicsContext3D::isResourceSafe):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
(WebCore::GraphicsContext3D::activeTexture):
(WebCore::GraphicsContext3D::attachShader):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bindBuffer):
(WebCore::GraphicsContext3D::bindRenderbuffer):
(WebCore::GraphicsContext3D::bindTexture):
(WebCore::GraphicsContext3D::blendColor):
(WebCore::GraphicsContext3D::blendEquation):
(WebCore::GraphicsContext3D::blendEquationSeparate):
(WebCore::GraphicsContext3D::blendFunc):
(WebCore::GraphicsContext3D::blendFuncSeparate):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::bufferSubData):
(WebCore::GraphicsContext3D::checkFramebufferStatus):
(WebCore::GraphicsContext3D::clearColor):
(WebCore::GraphicsContext3D::clear):
(WebCore::GraphicsContext3D::clearDepth):
(WebCore::GraphicsContext3D::clearStencil):
(WebCore::GraphicsContext3D::colorMask):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::cullFace):
(WebCore::GraphicsContext3D::depthFunc):
(WebCore::GraphicsContext3D::depthMask):
(WebCore::GraphicsContext3D::depthRange):
(WebCore::GraphicsContext3D::detachShader):
(WebCore::GraphicsContext3D::disable):
(WebCore::GraphicsContext3D::disableVertexAttribArray):
(WebCore::GraphicsContext3D::drawArrays):
(WebCore::GraphicsContext3D::drawElements):
(WebCore::GraphicsContext3D::enable):
(WebCore::GraphicsContext3D::enableVertexAttribArray):
(WebCore::GraphicsContext3D::finish):
(WebCore::GraphicsContext3D::flush):
(WebCore::GraphicsContext3D::framebufferRenderbuffer):
(WebCore::GraphicsContext3D::framebufferTexture2D):
(WebCore::GraphicsContext3D::frontFace):
(WebCore::GraphicsContext3D::generateMipmap):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getAttachedShaders):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getContextAttributes):
(WebCore::GraphicsContext3D::getError):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::hint):
(WebCore::GraphicsContext3D::isBuffer):
(WebCore::GraphicsContext3D::isEnabled):
(WebCore::GraphicsContext3D::isFramebuffer):
(WebCore::GraphicsContext3D::isProgram):
(WebCore::GraphicsContext3D::isRenderbuffer):
(WebCore::GraphicsContext3D::isShader):
(WebCore::GraphicsContext3D::isTexture):
(WebCore::GraphicsContext3D::lineWidth):
(WebCore::GraphicsContext3D::linkProgram):
(WebCore::GraphicsContext3D::pixelStorei):
(WebCore::GraphicsContext3D::polygonOffset):
(WebCore::GraphicsContext3D::releaseShaderCompiler):
(WebCore::GraphicsContext3D::sampleCoverage):
(WebCore::GraphicsContext3D::scissor):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::stencilFunc):
(WebCore::GraphicsContext3D::stencilFuncSeparate):
(WebCore::GraphicsContext3D::stencilMask):
(WebCore::GraphicsContext3D::stencilMaskSeparate):
(WebCore::GraphicsContext3D::stencilOp):
(WebCore::GraphicsContext3D::stencilOpSeparate):
(WebCore::GraphicsContext3D::texParameterf):
(WebCore::GraphicsContext3D::texParameteri):
(WebCore::GraphicsContext3D::uniform1f):
(WebCore::GraphicsContext3D::uniform1fv):
(WebCore::GraphicsContext3D::uniform2f):
(WebCore::GraphicsContext3D::uniform2fv):
(WebCore::GraphicsContext3D::uniform3f):
(WebCore::GraphicsContext3D::uniform3fv):
(WebCore::GraphicsContext3D::uniform4f):
(WebCore::GraphicsContext3D::uniform4fv):
(WebCore::GraphicsContext3D::uniform1i):
(WebCore::GraphicsContext3D::uniform1iv):
(WebCore::GraphicsContext3D::uniform2i):
(WebCore::GraphicsContext3D::uniform2iv):
(WebCore::GraphicsContext3D::uniform3i):
(WebCore::GraphicsContext3D::uniform3iv):
(WebCore::GraphicsContext3D::uniform4i):
(WebCore::GraphicsContext3D::uniform4iv):
(WebCore::GraphicsContext3D::uniformMatrix2fv):
(WebCore::GraphicsContext3D::uniformMatrix3fv):
(WebCore::GraphicsContext3D::uniformMatrix4fv):
(WebCore::GraphicsContext3D::useProgram):
(WebCore::GraphicsContext3D::validateProgram):
(WebCore::GraphicsContext3D::vertexAttrib1f):
(WebCore::GraphicsContext3D::vertexAttrib1fv):
(WebCore::GraphicsContext3D::vertexAttrib2f):
(WebCore::GraphicsContext3D::vertexAttrib2fv):
(WebCore::GraphicsContext3D::vertexAttrib3f):
(WebCore::GraphicsContext3D::vertexAttrib3fv):
(WebCore::GraphicsContext3D::vertexAttrib4f):
(WebCore::GraphicsContext3D::vertexAttrib4fv):
(WebCore::GraphicsContext3D::vertexAttribPointer):
(WebCore::GraphicsContext3D::viewport):
(WebCore::GraphicsContext3D::getBooleanv):
(WebCore::GraphicsContext3D::getBufferParameteriv):
(WebCore::GraphicsContext3D::getFloatv):
(WebCore::GraphicsContext3D::getFramebufferAttachmentParameteriv):
(WebCore::GraphicsContext3D::getProgramiv):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getRenderbufferParameteriv):
(WebCore::GraphicsContext3D::getShaderiv):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getTexParameterfv):
(WebCore::GraphicsContext3D::getTexParameteriv):
(WebCore::GraphicsContext3D::getUniformfv):
(WebCore::GraphicsContext3D::getUniformiv):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::getVertexAttribfv):
(WebCore::GraphicsContext3D::getVertexAttribiv):
(WebCore::GraphicsContext3D::getVertexAttribOffset):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::compressedTexImage2D):
(WebCore::GraphicsContext3D::compressedTexSubImage2D):
(WebCore::GraphicsContext3D::createBuffer):
(WebCore::GraphicsContext3D::createFramebuffer):
(WebCore::GraphicsContext3D::createProgram):
(WebCore::GraphicsContext3D::createRenderbuffer):
(WebCore::GraphicsContext3D::createShader):
(WebCore::GraphicsContext3D::createTexture):
(WebCore::GraphicsContext3D::deleteBuffer):
(WebCore::GraphicsContext3D::deleteFramebuffer):
(WebCore::GraphicsContext3D::deleteProgram):
(WebCore::GraphicsContext3D::deleteRenderbuffer):
(WebCore::GraphicsContext3D::deleteShader):
(WebCore::GraphicsContext3D::deleteTexture):
(WebCore::GraphicsContext3D::synthesizeGLError):
(WebCore::GraphicsContext3D::markContextChanged):
(WebCore::GraphicsContext3D::markLayerComposited):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::getExtensions):
* platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: Added.
(WebCore::GraphicsContext3D::readRenderingResults):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::copyTexImage2D):
(WebCore::GraphicsContext3D::copyTexSubImage2D):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::renderbufferStorage):
(WebCore::GraphicsContext3D::getIntegerv):
(WebCore::GraphicsContext3D::texImage2D):

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

9 years agoHwndDC is a better name than OwnGetDC.
levin@chromium.org [Fri, 13 Jan 2012 04:44:06 +0000 (04:44 +0000)]
HwndDC is a better name than OwnGetDC.
https://bugs.webkit.org/show_bug.cgi?id=76235

Reviewed by Dmitry Titov.

Source/JavaScriptCore:

This is a better name for two reasons:
1. "Own" implies "delete". In this case, the final call is a release (ReleaseDC).
2. "Ref" would be a better name due to the release but the RefPtr (and OwnPtr)
   classes always take something to hold on to. In this case, the object (the DC)
   is created by the class once it is given a Window to ensure that the HDC
   was actually created using GetDC.

* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* wtf/win/HwndDCWin.h: Renamed from Source/JavaScriptCore/wtf/win/OwnGetDCWin.h.
(WTF::HwndDC::HwndDC):
(WTF::HwndDC::~HwndDC):
(WTF::HwndDC::operator HDC):

Source/WebKit/chromium:

* src/win/WebScreenInfoFactory.cpp:
(WebKit::WebScreenInfoFactory::screenInfo):

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

9 years agoAdd mac-snowleopard pixel results for tests with scrollbars
eae@chromium.org [Fri, 13 Jan 2012 04:35:19 +0000 (04:35 +0000)]
Add mac-snowleopard pixel results for tests with scrollbars
https://bugs.webkit.org/show_bug.cgi?id=76223

Reviewed by Eric Seidel.

* platform/mac-snowleopard/fast/css/bidi-override-in-anonymous-block-expected.png: Added.
* platform/mac-snowleopard/fast/css/clip-text-in-scaled-div-expected.png: Added.
* platform/mac-snowleopard/fast/forms/button-default-title-expected.png: Added.
* platform/mac-snowleopard/fast/multicol: Added.
* platform/mac-snowleopard/fast/multicol/overflow-unsplittable-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-horizontal-bt-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-horizontal-tb-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-vertical-lr-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-h-vertical-rl-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-horizontal-bt-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-horizontal-tb-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-vertical-lr-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/pagination-v-vertical-rl-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/vertical-lr: Added.
* platform/mac-snowleopard/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
* platform/mac-snowleopard/fast/multicol/vertical-rl: Added.
* platform/mac-snowleopard/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.

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

9 years agoAdd vsma in VectorMath to handle vector scale multiply and add and use it in AudioBus
commit-queue@webkit.org [Fri, 13 Jan 2012 04:27:54 +0000 (04:27 +0000)]
Add vsma in VectorMath to handle vector scale multiply and add and use it in AudioBus
https://bugs.webkit.org/show_bug.cgi?id=75835

When summing a audio bus, the source is multiplied with the scale and
then summed into the destination bus. Add this function to fulfill it.

Patch by Wei James <james.wei@intel.com> on 2012-01-12
Reviewed by Kenneth Russell.

* platform/audio/AudioBus.cpp:
* platform/audio/VectorMath.cpp:
(WebCore::VectorMath::vsma):
* platform/audio/VectorMath.h:

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

9 years ago[Chromium] More rebaselines after http://trac.webkit.org/changeset/104881.
dimich@chromium.org [Fri, 13 Jan 2012 03:59:28 +0000 (03:59 +0000)]
[Chromium] More rebaselines after trac.webkit.org/changeset/104881.
Unreviewed.

* platform/chromium-mac-leopard/fast/overflow/005-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.txt: Removed.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.txt: Removed.

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

9 years agoUnreviewed: update expectation for fast/workers/worker-script-error.
dslomov@google.com [Fri, 13 Jan 2012 03:56:04 +0000 (03:56 +0000)]
Unreviewed: update expectation for fast/workers/worker-script-error.

* platform/chromium/fast/workers/worker-script-error-expected.txt:
* platform/chromium/test_expectations.txt:

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

9 years ago[Chromium] Rebaseline files affected by http://trac.webkit.org/changeset/104881.
dimich@chromium.org [Fri, 13 Jan 2012 02:42:37 +0000 (02:42 +0000)]
[Chromium] Rebaseline files affected by trac.webkit.org/changeset/104881.
They still render the old way in Chromium.
The garden-o-matic also collapsed some identical test results.
Unreviewed.

* fast/block/float/008-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/008-expected.txt.
* fast/block/float/019-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/019-expected.txt.
* fast/block/float/033-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/033-expected.txt.
* fast/block/float/035-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/float/035-expected.txt.
* fast/block/positioning/negative-rel-position-expected.txt: Renamed from LayoutTests/platform/gtk/fast/block/positioning/negative-rel-position-expected.txt.
* fast/flexbox/flex-hang-expected.txt: Renamed from LayoutTests/platform/gtk/fast/flexbox/flex-hang-expected.txt.
* fast/images/gif-large-checkerboard-expected.txt: Renamed from LayoutTests/platform/gtk/fast/images/gif-large-checkerboard-expected.txt.
* fast/table/height-percent-test-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/height-percent-test-expected.txt.
* fast/table/wide-colspan-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/wide-colspan-expected.txt.
* fast/table/wide-column-expected.txt: Renamed from LayoutTests/platform/gtk/fast/table/wide-column-expected.txt.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-010-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-017-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-024-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-height-031-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-013-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-020-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-022-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-027-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-029-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-034-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-036-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-041-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-043-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-048-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-050-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-055-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-057-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-062-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-064-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-069-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-071-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/absolute-replaced-width-076-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/block-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/block-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-002-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-004-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-005-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/float-replaced-width-011-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-block-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-block-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-height-003-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-width-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/inline-replaced-width-006-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/20110323/width-replaced-element-001-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png: Added.
* platform/chromium-mac-snowleopard/css2.1/t1202-counters-08-b-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/008-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/019-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/033-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/035-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/float/br-with-clear-2-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/block/float/nested-clearance-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/negative-rel-position-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/relative-overflow-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-lr/002-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/positioning/vertical-rl/002-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/box-sizing/box-sizing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/border-height-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/line-height-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/nested-floating-relative-position-percentages-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/positioned-overflow-scroll-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/scroll-reveal-top-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/dom/scroll-reveal-top-overflow-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/scroll-reveal-top-overflow-expected.txt.
* platform/chromium-mac-snowleopard/fast/dynamic/anchor-lock-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/flexbox/flex-hang-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/frames/frame-scrolling-attribute-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/images/gif-large-checkerboard-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/inline/long-wrapped-line-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/layers/overflow-scroll-auto-switch-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/lists/li-br-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/column-break-with-balancing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/columns-shorthand-parsing-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/layers-in-multicol-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/paginate-block-replaced-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/positioned-with-constrained-height-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/overflow/005-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/023-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/height-percent-test-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/table-display-types-vertical-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/wide-colspan-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/table/wide-column-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/text/softHyphen-expected.png: Added.
* platform/chromium-mac/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/chromium-win/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/chromium-win/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
* platform/chromium/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/qt/fast/block/float/008-expected.txt: Removed.
* platform/qt/fast/block/float/019-expected.txt: Removed.
* platform/qt/fast/block/float/033-expected.txt: Removed.
* platform/qt/fast/block/float/035-expected.txt: Removed.
* platform/qt/fast/block/positioning/negative-rel-position-expected.txt: Removed.
* platform/qt/fast/flexbox/flex-hang-expected.txt: Removed.
* platform/qt/fast/images/gif-large-checkerboard-expected.txt: Removed.
* platform/qt/fast/table/height-percent-test-expected.txt: Removed.
* platform/qt/fast/table/wide-colspan-expected.txt: Removed.
* platform/qt/fast/table/wide-column-expected.txt: Removed.

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

9 years ago2012-01-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 13 Jan 2012 02:09:30 +0000 (02:09 +0000)]
2012-01-12  Simon Fraser  <simon.fraser@apple.com>

        Fix the MIME types for expected images.

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

9 years agoWeb Inspector: [Chomium] Resources loaded with 304 status code have receiving time...
simonjam@chromium.org [Fri, 13 Jan 2012 01:56:56 +0000 (01:56 +0000)]
Web Inspector: [Chomium] Resources loaded with 304 status code have receiving time of 15000 days in network panel.
https://bugs.webkit.org/show_bug.cgi?id=76176

Reviewed by Nate Chapin.

No new tests. Can't trigger this with inspector tests. Will add one when the Resource Timing API is in.

* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::didReceiveResponse): Use monotonic time.

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

9 years agoClean up putDirect (part 1)
barraclough@apple.com [Fri, 13 Jan 2012 01:40:22 +0000 (01:40 +0000)]
Clean up putDirect (part 1)
https://bugs.webkit.org/show_bug.cgi?id=76232

Reviewed by Sam Weinig.

putDirect has ambiguous semantics, clean these up a bit.

putDirect generally behaves a bit like a fast defineOwnProperty, but one that
always creates the property, with no checking to validate the put it permitted.

It also encompasses two slightly different behaviors.
(1) a fast form of put for JSActivation, which doesn't have to handle searching
    the prototype chain, getter/setter properties, or the magic __proto__ value.
    Break this out as a new method, 'putOwnDataProperty'.
(2) the version of putDirect on JSValue will also check for overwriting ReadOnly
    values, in strict mode. This is, however, not so smart on a few level, since
    it is only called from op_put_by_id with direct set, which is only used with
    an object as the base, and is only used to put new properties onto objects.

* dfg/DFGOperations.cpp:
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* runtime/JSActivation.cpp:
(JSC::JSActivation::put):
* runtime/JSFunction.cpp:
(JSC::JSFunction::getOwnPropertySlot):
* runtime/JSObject.h:
(JSC::JSObject::putOwnDataProperty):
* runtime/JSValue.h:

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

9 years ago NSURL to KURL conversion shouldn't turn raw paths into file URLs
ap@apple.com [Fri, 13 Jan 2012 01:27:28 +0000 (01:27 +0000)]
    NSURL to KURL conversion shouldn't turn raw paths into file URLs
        https://bugs.webkit.org/show_bug.cgi?id=76234

        Reviewed by Darin Adler.

        * platform/mac/KURLMac.mm: (WebCore::KURL::KURL): Removed this code.

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

9 years ago[Chromium] Rebaseline for a test modified in http://trac.webkit.org/changeset/104851
dimich@chromium.org [Fri, 13 Jan 2012 01:16:40 +0000 (01:16 +0000)]
[Chromium] Rebaseline for a test modified in trac.webkit.org/changeset/104851
Unreviewed.

* platform/chromium-linux/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/chromium-mac-snowleopard/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/chromium-win/animations/cross-fade-webkit-mask-box-image-expected.png:
* platform/mac/animations/cross-fade-webkit-mask-box-image-expected.txt: Renamed from LayoutTests/animations/cross-fade-webkit-mask-box-image-expected.txt.

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

9 years agoAdded an expected result missing from r104786.
mitz@apple.com [Fri, 13 Jan 2012 00:51:32 +0000 (00:51 +0000)]
Added an expected result missing from r104786.

* fast/css/parsing-font-variant-ligatures-expected.txt: Added.

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

9 years agoMitigate scrollbar differences when running pixel tests
simon.fraser@apple.com [Fri, 13 Jan 2012 00:44:35 +0000 (00:44 +0000)]
Mitigate scrollbar differences when running pixel tests
https://bugs.webkit.org/show_bug.cgi?id=67217

Tools:

Reviewed by Dan Bernstein.

Enable mock scrollbars by default for tests.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetDefaultsToConsistentValues):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

LayoutTests:

Rubber-stamped by Dan Bernstein.

Update pixel results for tests up to and including LayoutTests/fast after
enabling mock scrollbars (67217), and fixing color profile issues (75662).

* animations/missing-values-first-keyframe-expected.png:
* animations/suspend-transform-animation-expected.png:
* compositing/geometry/ancestor-overflow-change-expected.png:
* compositing/iframes/composited-iframe-scroll-expected.png:
* compositing/iframes/iframe-content-flipping-expected.png:
* compositing/images/direct-pdf-image-expected.png:
* compositing/images/direct-svg-image-expected.png:
* compositing/masks/layer-mask-placement-expected.png:
* compositing/overflow/repaint-after-losing-scrollbars-expected.png:
* compositing/reflections/remove-add-reflection-expected.png:
* compositing/tiling/constrained-layer-size-expected.png:
* css3/filters/add-filter-rendering-expected.png:
* css3/filters/crash-filter-change-expected.png:
* css3/filters/effect-blur-expected.png:
* css3/filters/effect-blur-hw-expected.png:
* css3/filters/effect-brightness-expected.png:
* css3/filters/effect-combined-expected.png:
* css3/filters/effect-combined-hw-expected.png:
* css3/filters/effect-contrast-expected.png:
* css3/filters/effect-custom-expected.png:
* css3/filters/effect-drop-shadow-expected.png:
* css3/filters/effect-drop-shadow-hw-expected.png:
* css3/filters/effect-grayscale-expected.png:
* css3/filters/effect-grayscale-hw-expected.png:
* css3/filters/effect-hue-rotate-expected.png:
* css3/filters/effect-hue-rotate-hw-expected.png:
* css3/filters/effect-invert-expected.png:
* css3/filters/effect-invert-hw-expected.png:
* css3/filters/effect-opacity-expected.png:
* css3/filters/effect-opacity-hw-expected.png:
* css3/filters/effect-saturate-expected.png:
* css3/filters/effect-saturate-hw-expected.png:
* css3/filters/effect-sepia-expected.png:
* css3/filters/effect-sepia-hw-expected.png:
* css3/filters/filter-region-expected.png:
* css3/filters/filter-with-transform-expected.png:
* css3/filters/nested-filter-expected.png:
* css3/filters/regions-expanding-expected.png:
* css3/filters/simple-filter-rendering-expected.png:
* editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
* fast/block/float/float-not-removed-from-next-sibling4-expected.png:
* fast/css-generated-content/table-parts-before-and-after-expected.png:
* fast/images/color-jpeg-with-color-profile-expected.png:
* fast/multicol/flipped-blocks-border-after-expected.png:
* fast/multicol/vertical-lr/rules-with-border-before-expected.png:
* fast/multicol/vertical-rl/rule-style-expected.png:
* fast/multicol/vertical-rl/rules-with-border-before-expected.png:
* platform/mac/animations/missing-values-last-keyframe-expected.png:
* platform/mac/compositing/color-matching/image-color-matching-expected.png:
* platform/mac/compositing/direct-image-compositing-expected.png:
* platform/mac/compositing/framesets/composited-frame-alignment-expected.png:
* platform/mac/compositing/geometry/clipping-foreground-expected.png:
* platform/mac/compositing/geometry/composited-html-size-expected.png:
* platform/mac/compositing/geometry/fixed-in-composited-expected.png:
* platform/mac/compositing/geometry/fixed-position-expected.png:
* platform/mac/compositing/geometry/foreground-layer-expected.png:
* platform/mac/compositing/geometry/horizontal-scroll-composited-expected.png:
* platform/mac/compositing/geometry/layer-due-to-layer-children-deep-expected.png:
* platform/mac/compositing/geometry/layer-due-to-layer-children-expected.png:
* platform/mac/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png:
* platform/mac/compositing/geometry/repaint-foreground-layer-expected.png:
* platform/mac/compositing/geometry/root-layer-update-expected.png:
* platform/mac/compositing/geometry/tall-page-composited-expected.png:
* platform/mac/compositing/geometry/vertical-scroll-composited-expected.png:
* platform/mac/compositing/geometry/video-fixed-scrolling-expected.png:
* platform/mac/compositing/iframes/composited-iframe-alignment-expected.png:
* platform/mac/compositing/iframes/iframe-copy-on-scroll-expected.png:
* platform/mac/compositing/iframes/iframe-in-composited-layer-expected.png:
* platform/mac/compositing/images/content-image-change-expected.png:
* platform/mac/compositing/images/direct-image-background-color-expected.png:
* platform/mac/compositing/masks/masked-ancestor-expected.png:
* platform/mac/compositing/masks/multiple-masks-expected.png:
* platform/mac/compositing/masks/simple-composited-mask-expected.png:
* platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.png:
* platform/mac/compositing/overflow/overflow-compositing-descendant-expected.png:
* platform/mac/compositing/overflow/overflow-positioning-expected.png:
* platform/mac/compositing/overflow/overflow-scroll-expected.png:
* platform/mac/compositing/overflow/scrollbar-painting-expected.png:
* platform/mac/compositing/plugins/composited-plugin-expected.png:
* platform/mac/compositing/reflections/animation-inside-reflection-expected.png:
* platform/mac/compositing/reflections/compositing-change-inside-reflection-expected.png:
* platform/mac/compositing/reflections/deeply-nested-reflections-expected.png:
* platform/mac/compositing/reflections/load-video-in-reflection-expected.png:
* platform/mac/compositing/reflections/masked-reflection-on-composited-expected.png:
* platform/mac/compositing/reflections/nested-reflection-anchor-point-expected.png:
* platform/mac/compositing/reflections/nested-reflection-animated-expected.png:
* platform/mac/compositing/reflections/nested-reflection-expected.png:
* platform/mac/compositing/reflections/nested-reflection-mask-change-expected.png:
* platform/mac/compositing/reflections/nested-reflection-on-overflow-expected.png:
* platform/mac/compositing/reflections/nested-reflection-opacity-expected.png:
* platform/mac/compositing/reflections/nested-reflection-size-change-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transformed-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transformed2-expected.png:
* platform/mac/compositing/reflections/nested-reflection-transition-expected.png:
* platform/mac/compositing/reflections/reflection-in-composited-expected.png:
* platform/mac/compositing/reflections/reflection-on-composited-expected.png:
* platform/mac/compositing/reflections/reflection-opacity-expected.png:
* platform/mac/compositing/reflections/reflection-positioning-expected.png:
* platform/mac/compositing/reflections/reflection-positioning2-expected.png:
* platform/mac/compositing/reflections/simple-composited-reflections-expected.png:
* platform/mac/compositing/reflections/transform-inside-reflection-expected.png:
* platform/mac/compositing/self-painting-layers-expected.png:
* platform/mac/compositing/shadows/shadow-drawing-expected.png:
* platform/mac/compositing/transitions/scale-transition-no-start-expected.png:
* platform/mac/compositing/webgl/webgl-background-color-expected.png:
* platform/mac/compositing/webgl/webgl-no-alpha-expected.png:
* platform/mac/css1/basic/comments-expected.png:
* platform/mac/css1/basic/containment-expected.png:
* platform/mac/css1/basic/id_as_selector-expected.png:
* platform/mac/css1/basic/inheritance-expected.png:
* platform/mac/css1/box_properties/border-expected.png:
* platform/mac/css1/box_properties/border_bottom-expected.png:
* platform/mac/css1/box_properties/border_bottom_width-expected.png:
* platform/mac/css1/box_properties/border_left-expected.png:
* platform/mac/css1/box_properties/border_left_width-expected.png:
* platform/mac/css1/box_properties/border_right_inline-expected.png:
* platform/mac/css1/box_properties/border_right_width-expected.png:
* platform/mac/css1/box_properties/border_style-expected.png:
* platform/mac/css1/box_properties/border_top-expected.png:
* platform/mac/css1/box_properties/border_top_width-expected.png:
* platform/mac/css1/box_properties/border_width-expected.png:
* platform/mac/css1/box_properties/clear-expected.png:
* platform/mac/css1/box_properties/clear_float-expected.png:
* platform/mac/css1/box_properties/float_elements_in_series-expected.png:
* platform/mac/css1/box_properties/float_margin-expected.png:
* platform/mac/css1/box_properties/float_on_text_elements-expected.png:
* platform/mac/css1/box_properties/height-expected.png:
* platform/mac/css1/box_properties/margin-expected.png:
* platform/mac/css1/box_properties/margin_bottom-expected.png:
* platform/mac/css1/box_properties/margin_inline-expected.png:
* platform/mac/css1/box_properties/margin_left-expected.png:
* platform/mac/css1/box_properties/margin_right-expected.png:
* platform/mac/css1/box_properties/margin_top-expected.png:
* platform/mac/css1/box_properties/padding-expected.png:
* platform/mac/css1/box_properties/padding_bottom-expected.png:
* platform/mac/css1/box_properties/padding_bottom_inline-expected.png:
* platform/mac/css1/box_properties/padding_inline-expected.png:
* platform/mac/css1/box_properties/padding_left-expected.png:
* platform/mac/css1/box_properties/padding_right-expected.png:
* platform/mac/css1/box_properties/padding_top-expected.png:
* platform/mac/css1/box_properties/width-expected.png:
* platform/mac/css1/cascade/cascade_order-expected.png:
* platform/mac/css1/cascade/important-expected.png:
* platform/mac/css1/classification/display-expected.png:
* platform/mac/css1/classification/list_style_type-expected.png:
* platform/mac/css1/classification/white_space-expected.png:
* platform/mac/css1/color_and_background/background-expected.png:
* platform/mac/css1/color_and_background/background_attachment-expected.png:
* platform/mac/css1/color_and_background/background_image-expected.png:
* platform/mac/css1/color_and_background/background_position-expected.png:
* platform/mac/css1/color_and_background/background_repeat-expected.png:
* platform/mac/css1/conformance/forward_compatible_parsing-expected.png:
* platform/mac/css1/font_properties/font-expected.png:
* platform/mac/css1/font_properties/font_size-expected.png:
* platform/mac/css1/font_properties/font_weight-expected.png:
* platform/mac/css1/formatting_model/floating_elements-expected.png:
* platform/mac/css1/formatting_model/height_of_lines-expected.png:
* platform/mac/css1/formatting_model/horizontal_formatting-expected.png:
* platform/mac/css1/formatting_model/inline_elements-expected.png:
* platform/mac/css1/formatting_model/replaced_elements-expected.png:
* platform/mac/css1/formatting_model/vertical_formatting-expected.png:
* platform/mac/css1/pseudo/anchor-expected.png:
* platform/mac/css1/pseudo/firstletter-expected.png:
* platform/mac/css1/pseudo/firstline-expected.png:
* platform/mac/css1/pseudo/multiple_pseudo_elements-expected.png:
* platform/mac/css1/pseudo/pseudo_elements_in_selectors-expected.png:
* platform/mac/css1/text_properties/letter_spacing-expected.png:
* platform/mac/css1/text_properties/line_height-expected.png:
* platform/mac/css1/text_properties/text_decoration-expected.png:
* platform/mac/css1/text_properties/text_indent-expected.png:
* platform/mac/css1/text_properties/text_transform-expected.png:
* platform/mac/css1/text_properties/vertical_align-expected.png:
* platform/mac/css1/text_properties/word_spacing-expected.png:
* platform/mac/css1/units/color_units-expected.png:
* platform/mac/css1/units/length_units-expected.png:
* platform/mac/css1/units/urls-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-010-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-017-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-024-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-height-031-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-013-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-020-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-022-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-027-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-029-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-034-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-036-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-041-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-043-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-048-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-050-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-055-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-057-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-062-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-064-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-069-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-071-expected.png:
* platform/mac/css2.1/20110323/absolute-replaced-width-076-expected.png:
* platform/mac/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-002-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-004-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-006-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-008-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-010-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-012-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-014-expected.png:
* platform/mac/css2.1/20110323/block-non-replaced-height-016-expected.png:
* platform/mac/css2.1/20110323/block-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/block-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/float-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-001-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-002-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-003-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-004-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-005-expected.png:
* platform/mac/css2.1/20110323/float-replaced-width-011-expected.png:
* platform/mac/css2.1/20110323/inline-block-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/inline-block-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-height-003-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-width-001-expected.png:
* platform/mac/css2.1/20110323/inline-replaced-width-006-expected.png:
* platform/mac/css2.1/20110323/replaced-intrinsic-ratio-001-expected.png:
* platform/mac/css2.1/20110323/width-replaced-element-001-expected.png:
* platform/mac/css2.1/t051201-c23-first-line-00-b-expected.png:
* platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
* platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.png:
* platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
* platform/mac/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
* platform/mac/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
* platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
* platform/mac/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
* platform/mac/css2.1/t1002-c5523-width-02-b-g-expected.png:
* platform/mac/css2.1/t1202-counters-08-b-expected.png:
* platform/mac/css2.1/t1202-counters-09-b-expected.png:
* platform/mac/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
* platform/mac/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
* platform/mac/css2.1/t1508-c527-font-01-b-expected.png:
* platform/mac/css2.1/t1508-c527-font-07-b-expected.png:
* platform/mac/css3/images/cross-fade-blending-expected.png:
* platform/mac/css3/images/cross-fade-invalidation-expected.png:
* platform/mac/css3/images/cross-fade-simple-expected.png:
* platform/mac/css3/images/cross-fade-sizing-expected.png:
* platform/mac/css3/images/cross-fade-tiled-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/mac/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/mac/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/mac/editing/deleting/delete-line-end-ws-002-expected.png:
* platform/mac/editing/inserting/insert-div-023-expected.png:
* platform/mac/editing/pasteboard/paste-TIFF-expected.png:
* platform/mac/editing/selection/focus_editable_html-expected.png:
* platform/mac/editing/selection/iframe-expected.png:
* platform/mac/editing/selection/replaced-boundaries-3-expected.png:
* platform/mac/editing/selection/select-all-001-expected.png:
* platform/mac/editing/selection/select-all-002-expected.png:
* platform/mac/editing/selection/select-all-003-expected.png:
* platform/mac/editing/selection/select-all-004-expected.png:
* platform/mac/editing/selection/unrendered-001-expected.png:
* platform/mac/editing/selection/unrendered-003-expected.png:
* platform/mac/editing/selection/unrendered-004-expected.png:
* platform/mac/editing/selection/unrendered-005-expected.png:
* platform/mac/editing/unsupported-content/list-delete-001-expected.png:
* platform/mac/editing/unsupported-content/list-delete-003-expected.png:
* platform/mac/editing/unsupported-content/list-type-after-expected.png:
* platform/mac/editing/unsupported-content/list-type-before-expected.png:
* platform/mac/editing/unsupported-content/table-delete-001-expected.png:
* platform/mac/editing/unsupported-content/table-delete-002-expected.png:
* platform/mac/editing/unsupported-content/table-delete-003-expected.png:
* platform/mac/editing/unsupported-content/table-type-after-expected.png:
* platform/mac/editing/unsupported-content/table-type-before-expected.png:
* platform/mac/fast/backgrounds/background-inherit-color-bug-expected.png:
* platform/mac/fast/backgrounds/background-leakage-transforms-expected.png:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.png:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize18-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize19-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize21-expected.png:
* platform/mac/fast/backgrounds/size/backgroundSize22-expected.png:
* platform/mac/fast/block/basic/016-expected.png:
* platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/mac/fast/block/basic/truncation-rtl-expected.png:
* platform/mac/fast/block/float/008-expected.png:
* platform/mac/fast/block/float/013-expected.png:
* platform/mac/fast/block/float/019-expected.png:
* platform/mac/fast/block/float/020-expected.png:
* platform/mac/fast/block/float/021-expected.png:
* platform/mac/fast/block/float/025-expected.png:
* platform/mac/fast/block/float/026-expected.png:
* platform/mac/fast/block/float/027-expected.png:
* platform/mac/fast/block/float/028-expected.png:
* platform/mac/fast/block/float/032-expected.png:
* platform/mac/fast/block/float/033-expected.png:
* platform/mac/fast/block/float/035-expected.png:
* platform/mac/fast/block/float/avoidance-percent-width-strict-expected.png:
* platform/mac/fast/block/float/br-with-clear-2-expected.png:
* platform/mac/fast/block/float/float-avoidance-expected.png:
* platform/mac/fast/block/float/nested-clearance-expected.png:
* platform/mac/fast/block/float/relative-painted-twice-expected.png:
* platform/mac/fast/block/lineboxcontain/parsing-invalid-expected.png:
* platform/mac/fast/block/margin-collapse/103-expected.png:
* platform/mac/fast/block/margin-collapse/104-expected.png:
* platform/mac/fast/block/margin-collapse/empty-clear-blocks-expected.png:
* platform/mac/fast/block/positioning/047-expected.png:
* platform/mac/fast/block/positioning/051-expected.png:
* platform/mac/fast/block/positioning/055-expected.png:
* platform/mac/fast/block/positioning/auto/007-expected.png:
* platform/mac/fast/block/positioning/auto/vertical-lr/007-expected.png:
* platform/mac/fast/block/positioning/auto/vertical-rl/007-expected.png:
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png:
* platform/mac/fast/block/positioning/negative-rel-position-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-block-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-replaced-expected.png:
* platform/mac/fast/block/positioning/relative-overflow-replaced-float-expected.png:
* platform/mac/fast/block/positioning/vertical-lr/002-expected.png:
* platform/mac/fast/block/positioning/vertical-rl/002-expected.png:
* platform/mac/fast/body-propagation/overflow/001-expected.png:
* platform/mac/fast/body-propagation/overflow/001-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/002-expected.png:
* platform/mac/fast/body-propagation/overflow/002-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/003-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/003-expected.png:
* platform/mac/fast/body-propagation/overflow/003-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/004-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/004-expected.png:
* platform/mac/fast/body-propagation/overflow/004-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/005-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/005-expected.png:
* platform/mac/fast/body-propagation/overflow/005-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/006-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/006-expected.png:
* platform/mac/fast/body-propagation/overflow/006-xhtml-expected.png:
* platform/mac/fast/body-propagation/overflow/007-declarative-expected.png:
* platform/mac/fast/body-propagation/overflow/007-expected.png:
* platform/mac/fast/body-propagation/overflow/007-xhtml-expected.png:
* platform/mac/fast/borders/border-image-massive-scale-expected.png:
* platform/mac/fast/borders/border-image-rotate-transform-expected.png:
* platform/mac/fast/borders/border-image-scale-transform-expected.png:
* platform/mac/fast/borders/border-image-scaled-expected.png:
* platform/mac/fast/borders/inline-mask-overlay-image-expected.png:
* platform/mac/fast/borders/rtl-border-01-expected.png:
* platform/mac/fast/borders/rtl-border-02-expected.png:
* platform/mac/fast/borders/rtl-border-03-expected.png:
* platform/mac/fast/box-shadow/basic-shadows-expected.png:
* platform/mac/fast/box-sizing/box-sizing-expected.png:
* platform/mac/fast/canvas/canvas-bg-expected.png:
* platform/mac/fast/canvas/canvas-text-alignment-expected.png:
* platform/mac/fast/canvas/canvas-text-baseline-expected.png:
* platform/mac/fast/canvas/image-object-in-canvas-expected.png:
* platform/mac/fast/canvas/shadow-offset-7-expected.png:
* platform/mac/fast/css-generated-content/014-expected.png:
* platform/mac/fast/css/005-expected.png:
* platform/mac/fast/css/MarqueeLayoutTest-expected.png:
* platform/mac/fast/css/background-shorthand-invalid-url-expected.png:
* platform/mac/fast/css/border-height-expected.png:
* platform/mac/fast/css/clip-text-in-scaled-div-expected.png:
* platform/mac/fast/css/color-correction-backgrounds-and-text-expected.png:
* platform/mac/fast/css/continuationCrash-expected.png:
* platform/mac/fast/css/empty-pseudo-class-expected.png:
* platform/mac/fast/css/first-child-pseudo-class-expected.png:
* platform/mac/fast/css/first-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/hsl-color-expected.png:
* platform/mac/fast/css/last-child-pseudo-class-expected.png:
* platform/mac/fast/css/last-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/line-height-overflow-expected.png:
* platform/mac/fast/css/margin-top-bottom-dynamic-expected.png:
* platform/mac/fast/css/nested-floating-relative-position-percentages-expected.png:
* platform/mac/fast/css/nested-rounded-corners-expected.png:
* platform/mac/fast/css/only-child-pseudo-class-expected.png:
* platform/mac/fast/css/only-of-type-pseudo-class-expected.png:
* platform/mac/fast/css/percentage-non-integer-expected.png:
* platform/mac/fast/css/positioned-overflow-scroll-expected.png:
* platform/mac/fast/css/shadow-multiple-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-expected.png:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.png:
* platform/mac/fast/css/text-transform-select-expected.png:
* platform/mac/fast/css/transform-default-parameter-expected.png:
* platform/mac/fast/css/word-space-extra-expected.png:
* platform/mac/fast/dom/34176-expected.png:
* platform/mac/fast/dom/52776-expected.png:
* platform/mac/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.png:
* platform/mac/fast/dom/clone-node-dynamic-style-expected.png:
* platform/mac/fast/dom/focus-contenteditable-expected.png:
* platform/mac/fast/dom/scroll-reveal-left-overflow-expected.png:
* platform/mac/fast/dom/scroll-reveal-top-overflow-expected.png:
* platform/mac/fast/dynamic/008-expected.png:
* platform/mac/fast/dynamic/anchor-lock-expected.png:
* platform/mac/fast/dynamic/insert-before-table-part-in-continuation-expected.png:
* platform/mac/fast/encoding/utf-16-big-endian-expected.png:
* platform/mac/fast/encoding/utf-16-little-endian-expected.png:
* platform/mac/fast/events/autoscroll-expected.png:
* platform/mac/fast/events/pointer-events-2-expected.png:
* platform/mac/fast/events/reveal-link-when-focused-expected.png:
* platform/mac/fast/events/standalone-image-drag-to-editable-expected.png:
* platform/mac/fast/flexbox/016-expected.png:
* platform/mac/fast/flexbox/flex-hang-expected.png:
* platform/mac/fast/forms/basic-textareas-expected.png:
* platform/mac/fast/forms/basic-textareas-quirks-expected.png:
* platform/mac/fast/forms/button-default-title-expected.png:
* platform/mac/fast/forms/button-sizes-expected.png:
* platform/mac/fast/forms/fieldset-align-expected.png:
* platform/mac/fast/forms/file/file-input-direction-expected.png:
* platform/mac/fast/forms/form-element-geometry-expected.png:
* platform/mac/fast/forms/form-hides-table-expected.png:
* platform/mac/fast/forms/input-table-expected.png:
* platform/mac/fast/forms/listbox-bidi-align-expected.png:
* platform/mac/fast/forms/search-rtl-expected.png:
* platform/mac/fast/forms/select-initial-position-expected.png:
* platform/mac/fast/forms/textAreaLineHeight-expected.png:
* platform/mac/fast/forms/textarea-scroll-height-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png:
* platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-expected.png:
* platform/mac/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout-expected.png:
* platform/mac/fast/frames/frame-scrolling-attribute-expected.png:
* platform/mac/fast/frames/iframe-scrolling-attribute-expected.png:
* platform/mac/fast/frames/inline-object-inside-frameset-expected.png:
* platform/mac/fast/gradients/background-clipped-expected.png:
* platform/mac/fast/gradients/crash-on-zero-radius-expected.png:
* platform/mac/fast/gradients/css3-color-stop-units-expected.png:
* platform/mac/fast/gradients/css3-radial-gradients-expected.png:
* platform/mac/fast/gradients/generated-gradients-expected.png:
* platform/mac/fast/gradients/simple-gradients-expected.png:
* platform/mac/fast/html/details-position-expected.png:
* platform/mac/fast/html/details-writing-mode-expected.png:
* platform/mac/fast/images/gif-large-checkerboard-expected.png:
* platform/mac/fast/images/gray-scale-png-with-color-profile-expected.png:
* platform/mac/fast/images/pdf-as-background-expected.png:
* platform/mac/fast/images/pdf-as-image-expected.png:
* platform/mac/fast/images/pdf-as-image-landscape-expected.png:
* platform/mac/fast/images/ycbcr-with-cmyk-color-profile-expected.png:
* platform/mac/fast/inline-block/tricky-baseline-expected.png:
* platform/mac/fast/inline/inline-borders-with-bidi-override-expected.png:
* platform/mac/fast/inline/inline-box-background-long-image-expected.png:
* platform/mac/fast/inline/inline-continuation-borders-expected.png:
* platform/mac/fast/inline/long-wrapped-line-expected.png:
* platform/mac/fast/invalid/residual-style-expected.png:
* platform/mac/fast/layers/overflow-scroll-auto-switch-expected.png:
* platform/mac/fast/layers/scroll-rect-to-visible-expected.png:
* platform/mac/fast/lists/001-expected.png:
* platform/mac/fast/lists/001-vertical-expected.png:
* platform/mac/fast/lists/003-expected.png:
* platform/mac/fast/lists/008-expected.png:
* platform/mac/fast/lists/008-vertical-expected.png:
* platform/mac/fast/lists/li-br-expected.png:
* platform/mac/fast/lists/ol-start-parsing-expected.png:
* platform/mac/fast/lists/olstart-expected.png:
* platform/mac/fast/media/mq-min-pixel-ratio-expected.png:
* platform/mac/fast/media/mq-relative-constraints-02-expected.png:
* platform/mac/fast/media/mq-relative-constraints-03-expected.png:
* platform/mac/fast/media/mq-relative-constraints-04-expected.png:
* platform/mac/fast/media/mq-relative-constraints-05-expected.png:
* platform/mac/fast/media/mq-relative-constraints-06-expected.png:
* platform/mac/fast/media/mq-relative-constraints-07-expected.png:
* platform/mac/fast/media/mq-relative-constraints-08-expected.png:
* platform/mac/fast/media/mq-relative-constraints-09-expected.png:
* platform/mac/fast/media/mq-width-absolute-01-expected.png:
* platform/mac/fast/media/mq-width-absolute-02-expected.png:
* platform/mac/fast/media/mq-width-absolute-03-expected.png:
* platform/mac/fast/media/mq-width-absolute-04-expected.png:
* platform/mac/fast/multicol/client-rects-expected.png:
* platform/mac/fast/multicol/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/column-rules-expected.png:
* platform/mac/fast/multicol/column-rules-stacking-expected.png:
* platform/mac/fast/multicol/columns-shorthand-parsing-expected.png:
* platform/mac/fast/multicol/float-multicol-expected.png:
* platform/mac/fast/multicol/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/float-paginate-expected.png:
* platform/mac/fast/multicol/layers-in-multicol-expected.png:
* platform/mac/fast/multicol/layers-split-across-columns-expected.png:
* platform/mac/fast/multicol/nested-columns-expected.png:
* platform/mac/fast/multicol/overflow-unsplittable-expected.png:
* platform/mac/fast/multicol/paginate-block-replaced-expected.png:
* platform/mac/fast/multicol/pagination-h-horizontal-bt-expected.png:
* platform/mac/fast/multicol/pagination-h-horizontal-tb-expected.png:
* platform/mac/fast/multicol/pagination-h-vertical-lr-expected.png:
* platform/mac/fast/multicol/pagination-h-vertical-rl-expected.png:
* platform/mac/fast/multicol/pagination-v-horizontal-bt-expected.png:
* platform/mac/fast/multicol/pagination-v-horizontal-tb-expected.png:
* platform/mac/fast/multicol/pagination-v-vertical-lr-expected.png:
* platform/mac/fast/multicol/pagination-v-vertical-rl-expected.png:
* platform/mac/fast/multicol/positioned-with-constrained-height-expected.png:
* platform/mac/fast/multicol/scrolling-overflow-expected.png:
* platform/mac/fast/multicol/shadow-breaking-expected.png:
* platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-expected.png:
* platform/mac/fast/multicol/span/span-as-immediate-columns-child-removal-expected.png:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.png:
* platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.png:
* platform/mac/fast/multicol/span/span-margin-collapsing-expected.png:
* platform/mac/fast/multicol/table-vertical-align-expected.png:
* platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-multicol-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/vertical-lr/float-paginate-expected.png:
* platform/mac/fast/multicol/vertical-lr/nested-columns-expected.png:
* platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png:
* platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-multicol-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.png:
* platform/mac/fast/multicol/vertical-rl/float-paginate-expected.png:
* platform/mac/fast/multicol/vertical-rl/nested-columns-expected.png:
* platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png:
* platform/mac/fast/overflow/002-expected.png:
* platform/mac/fast/overflow/003-expected.png:
* platform/mac/fast/overflow/005-expected.png:
* platform/mac/fast/overflow/006-expected.png:
* platform/mac/fast/overflow/007-expected.png:
* platform/mac/fast/overflow/008-expected.png:
* platform/mac/fast/overflow/childFocusRingClip-expected.png:
* platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.png:
* platform/mac/fast/overflow/float-in-relpositioned-expected.png:
* platform/mac/fast/overflow/hit-test-overflow-controls-expected.png:
* platform/mac/fast/overflow/image-selection-highlight-expected.png:
* platform/mac/fast/overflow/overflow-auto-position-absolute-expected.png:
* platform/mac/fast/overflow/overflow-auto-table-expected.png:
* platform/mac/fast/overflow/overflow-focus-ring-expected.png:
* platform/mac/fast/overflow/overflow-rtl-expected.png:
* platform/mac/fast/overflow/overflow-rtl-vertical-expected.png:
* platform/mac/fast/overflow/overflow-stacking-expected.png:
* platform/mac/fast/overflow/overflow-text-hit-testing-expected.png:
* platform/mac/fast/overflow/overflow-update-transform-expected.png:
* platform/mac/fast/overflow/overflow-with-local-background-attachment-expected.png:
* platform/mac/fast/overflow/overflow-x-y-expected.png:
* platform/mac/fast/overflow/position-fixed-transform-clipping-expected.png:
* platform/mac/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.png:
* platform/mac/fast/overflow/scrollRevealButton-expected.png:
* platform/mac/fast/overflow/scrollbar-position-update-expected.png:
* platform/mac/fast/overflow/table-overflow-float-expected.png:
* platform/mac/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
* platform/mac/fast/parser/document-write-option-expected.png:
* platform/mac/fast/reflections/reflection-direction-expected.png:
* platform/mac/fast/reflections/reflection-masks-expected.png:
* platform/mac/fast/reflections/reflection-masks-opacity-expected.png:
* platform/mac/fast/reflections/reflection-masks-outset-expected.png:
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
* platform/mac/fast/repaint/fixed-child-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-child-of-fixed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-child-of-transformed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-expected.png:
* platform/mac/fast/repaint/fixed-move-after-scroll-expected.png:
* platform/mac/fast/repaint/fixed-tranformed-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-2-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-8-expected.png:
* platform/mac/fast/repaint/line-flow-with-floats-9-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-container-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
* platform/mac/fast/repaint/overflow-scroll-body-appear-expected.png:
* platform/mac/fast/repaint/repaint-during-scroll-expected.png:
* platform/mac/fast/repaint/text-shadow-expected.png:
* platform/mac/fast/repaint/text-shadow-horizontal-expected.png:
* platform/mac/fast/replaced/005-expected.png:
* platform/mac/fast/replaced/replaced-breaking-expected.png:
* platform/mac/fast/replaced/width100percent-button-expected.png:
* platform/mac/fast/replaced/width100percent-image-expected.png:
* platform/mac/fast/selectors/166-expected.png:
* platform/mac/fast/table/023-expected.png:
* platform/mac/fast/table/027-vertical-expected.png:
* platform/mac/fast/table/034-expected.png:
* platform/mac/fast/table/038-vertical-expected.png:
* platform/mac/fast/table/040-expected.png:
* platform/mac/fast/table/040-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/002-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/004-expected.png:
* platform/mac/fast/table/border-collapsing/004-vertical-expected.png:
* platform/mac/fast/table/border-collapsing/equal-precedence-resolution-vertical-expected.png:
* platform/mac/fast/table/edge-offsets-expected.png:
* platform/mac/fast/table/empty-cells-expected.png:
* platform/mac/fast/table/height-percent-test-expected.png:
* platform/mac/fast/table/overflowHidden-expected.png:
* platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
* platform/mac/fast/table/table-display-types-vertical-expected.png:
* platform/mac/fast/table/wide-colspan-expected.png:
* platform/mac/fast/table/wide-column-expected.png:
* platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
* platform/mac/fast/text/capitalize-boundaries-expected.png:
* platform/mac/fast/text/drawBidiText-expected.png:
* platform/mac/fast/text/hyphenate-character-expected.png:
* platform/mac/fast/text/hyphenate-limit-lines-expected.png:
* platform/mac/fast/text/hyphenate-locale-expected.png:
* platform/mac/fast/text/hyphens-expected.png:
* platform/mac/fast/text/international/bidi-menulist-expected.png:
* platform/mac/fast/text/international/bidi-neutral-run-expected.png:
* platform/mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png:
* platform/mac/fast/text/international/thai-line-breaks-expected.png:
* platform/mac/fast/text/international/vertical-text-glyph-test-expected.png:
* platform/mac/fast/text/large-text-composed-char-expected.png:
* platform/mac/fast/text/midword-break-after-breakable-char-expected.png:
* platform/mac/fast/text/softHyphen-expected.png:
* platform/mac/fast/text/stroking-decorations-expected.png:
* platform/mac/fast/text/stroking-expected.png:
* platform/mac/fast/text/text-letter-spacing-expected.png:
* platform/mac/fast/text/wbr-expected.png:
* platform/mac/fast/text/whitespace/024-expected.png:
* platform/mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/mac/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png:
* platform/mac/fast/text/word-break-expected.png:
* platform/mac/fast/transforms/rotated-transform-affects-scrolling-1-expected.png:
* platform/mac/fast/transforms/rotated-transform-affects-scrolling-2-expected.png:
* platform/mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.png:
* platform/mac/fast/writing-mode/border-radius-clipping-vertical-lr-expected.png:
* platform/mac/fast/writing-mode/box-shadow-vertical-lr-expected.png:
* platform/mac/fast/writing-mode/box-shadow-vertical-rl-expected.png:
* platform/mac/fast/writing-mode/fallback-orientation-expected.png:
* platform/mac/fast/writing-mode/fieldsets-expected.png:
* platform/mac/fast/writing-mode/japanese-rl-text-with-broken-font-expected.png:
* platform/mac/fast/writing-mode/text-orientation-basic-expected.png:

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

9 years agoCreate a GraphicsLayer for the overhang areas if threaded scrolling is enabled
andersca@apple.com [Fri, 13 Jan 2012 00:30:55 +0000 (00:30 +0000)]
Create a GraphicsLayer for the overhang areas if threaded scrolling is enabled
https://bugs.webkit.org/show_bug.cgi?id=76220

Reviewed by Simon Fraser.

* page/FrameView.cpp:
Remove PLATFORM(CHROMIUM) #ifdefs.

* page/FrameView.h:
Ditto.

* platform/ScrollView.cpp:
(WebCore::ScrollView::wheelEvent):
Ditto.

* platform/ScrollableArea.h:
Ditto.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::frameViewDidChangeSize):
Ditto.

(WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
Make this return true if we have a scrolling coordinator.

(WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
Remove PLATFORM(CHROMIUM) #ifdefs. Fix a bug the overhang layer was being added above the clip layer.

(WebCore::RenderLayerCompositor::destroyRootLayer):
Remove PLATFORM(CHROMIUM) #ifdefs.

* rendering/RenderLayerCompositor.h:
Ditto.

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