1. 14 Jan, 2012 4 commits
  2. 13 Jan, 2012 36 commits
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=71230 · d1b8ae29
      bdakin@apple.com authored
      Clicking where the overlay scroll track would be should not scroll the page
      -and corresponding-
      <rdar://problem/9585424>
      
      Reviewed by Alexey Proskuryakov.
      
      These new functions indicate whether the scrollbar should participate in hit 
      testing. Non-overlay scrollbars always should, so they return true. Overlay 
      scrollbars consult the animator, which checks the current alpha. 
      * platform/ScrollAnimator.h:
      (WebCore::ScrollAnimator::shouldScrollbarParticipateInHitTesting):
      * platform/Scrollbar.cpp:
      (WebCore::Scrollbar:: shouldParticipateInHitTesting):
      * platform/Scrollbar.h:
      * platform/mac/ScrollAnimatorMac.h:
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac:: shouldScrollbarParticipateInHitTesting):
      
      In these hit-testing functions, only hit-test when the scrollbar should 
      participate.
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::scrollbarAtPoint):
      * rendering/RenderEmbeddedObject.cpp:
      (WebCore::RenderEmbeddedObject::nodeAtPoint):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::hitTestOverflowControls):
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::isPointInOverflowControl):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1b8ae29
    • mitz@apple.com's avatar
      REGRESSION: svg/custom/use-instanceRoot-event-listeners.xhtml &... · da321e6c
      mitz@apple.com authored
      REGRESSION: svg/custom/use-instanceRoot-event-listeners.xhtml & svg/custom/pointer-events-invalid-fill.svg broken on the Bots
      https://bugs.webkit.org/show_bug.cgi?id=76254
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::beginLoadTimerFired): Added a call to
      CachedResourceLoader::loadDone() after decrementing the request count. This allows the
      frame loader to see that the request count is zero and dispatch didFinishLoad. 
      
      LayoutTests: 
      
      * svg/custom/pointer-events-invalid-fill.svg: Force layout before sending a mouse event.
      Otherwise, the WebHTMLView may have zero size, causing the hit test in
      -[EventSendingController mouseMoveToX:Y:] to yield the clip view and the event to go nowhere.
      * svg/custom/resources/use-instanceRoot-event-listeners.js: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da321e6c
    • jer.noble@apple.com's avatar
      WebAudio: Optimize calculateNormalizationScale(). · dcd14a79
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74372
      
      Reviewed by Eric Carlson.
      
      No new tests; optimization of existing code, so covered by existing test cases.
      
      * platform/audio/Reverb.cpp:
      (WebCore::calculateNormalizationScale): Replace implementation with optimized vector
          math operation.
      (WebCore::Reverb::Reverb):
      * platform/audio/VectorMath.cpp:
      (WebCore::VectorMath::vsvesq): Vector math operation for squared sum of elements.
      * platform/audio/VectorMath.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcd14a79
    • thakis@chromium.org's avatar
      Remove a unused variable. · 5e416169
      thakis@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76307
      
      Reviewed by James Robinson.
      
      * platform/mac/ScrollElasticityController.mm:
      (WebCore::ScrollElasticityController::snapRubberBandTimerFired):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e416169
    • abarth@webkit.org's avatar
      Remove --dry-run support from webkit-patch · c8797caf
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76300
      
      Reviewed by Dirk Pranke.
      
      This is the rest of the patch from Bug 76300.  I landed it separtely
      because main.py had some stray conflict markers that I needed to clean
      up first.
      
      * Scripts/webkitpy/test/main.py:
      (Tester.parse_args):
      (Tester._run_tests):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8797caf
    • japhet@chromium.org's avatar
      Source/WebCore: Revert most of the multipart changes in · 726abc0e
      japhet@chromium.org authored
      http://trac.webkit.org/changeset/104756.
      https://bugs.webkit.org/show_bug.cgi?id=76297
      
      Reviewed by Alexey Proskuryakov.
      
      http/tests/multipart/invalid-image-data.html
      should stop asserting on chromium win dbg.
      
      * loader/SubresourceLoader.cpp:
      (WebCore::SubresourceLoader::didReceiveResponse):
      (WebCore::SubresourceLoader::didReceiveData):
      (WebCore::SubresourceLoader::sendDataToResource):
      
      LayoutTests: http/tests/multipart/invalid-image-data.html should no longer
      be crashing on chromium win dbg.
      https://bugs.webkit.org/show_bug.cgi?id=76297
      
      Reviewed by Alexey Proskuryakov.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      726abc0e
    • abarth@webkit.org's avatar
      test-webkitpy does not run · 6f318f23
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76318
      
      Unreviewed.
      
      Looks like some conflict markers got left in the file.
      
      * Scripts/webkitpy/test/main.py:
      (Tester.run):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f318f23
    • abarth@webkit.org's avatar
      Remove --dry-run support from webkit-patch · 00858fe0
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76300
      
      Reviewed by Dirk Pranke.
      
      We don't use this functionality for anything, and it doesn't really
      work.  Someone in #webkit tried using it and and got sad/confused.  We
      should just remove it.
      
      * Scripts/webkitpy/common/checkout/scm/git.py:
      (Git.push_local_commits_to_server):
      * Scripts/webkitpy/common/checkout/scm/scm.py:
      (SCM.__init__):
      * Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
      (_shared_test_commit_with_message):
      (GitSVNTest.test_commit_text_parsing):
      * Scripts/webkitpy/common/checkout/scm/svn.py:
      (SVN.commit_with_message):
      * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
      (Bugzilla.__init__):
      (Bugzilla.quips):
      (Bugzilla.authenticate):
      (Bugzilla.add_attachment_to_bug):
      (Bugzilla.add_patch_to_bug):
      (Bugzilla.create_bug):
      (Bugzilla.clear_attachment_flags):
      (Bugzilla.set_flag_on_attachment):
      (Bugzilla.obsolete_attachment):
      (Bugzilla.add_cc_to_bug):
      (Bugzilla.post_comment_to_bug):
      (Bugzilla.close_bug_as_fixed):
      (Bugzilla.reassign_bug):
      (reopen_bug):
      * Scripts/webkitpy/test/main.py:
      (Tester.parse_args):
      (Tester.run_tests):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00858fe0
    • levin@chromium.org's avatar
      check-webkit-style: should encourage the use of Own* classes for Windows DC. · a805439d
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76227
      
      Reviewed by Dirk Pranke.
      
      Source/JavaScriptCore:
      
      * wtf/win/HWndDCWin.h:
      (WTF::HwndDC::HwndDC): Add a way to do GetDCEx.
      There are no users, but I want to catch this in check-webkit-style
      and tell any users to use HwndDC to avoid leaks.
      
      Tools:
      
      * Scripts/webkitpy/style/checkers/cpp.py:
      (check_for_leaky_patterns): The new check.
      (process_line): Added a call to the new check.
      (CppChecker): Added the new error type.
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      (CppStyleTestBase):
      (CppStyleTestBase.perform_leaky_pattern_check):
      The check for only leaky pattern errors.
      (LeakyPatternTest): Test cases.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104995 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a805439d
    • lforschler@apple.com's avatar
      Versioning. · a314f000
      lforschler@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a314f000
    • jer.noble@apple.com's avatar
      WebAudio: Use float instead of double values for gain operations. · 373c0081
      jer.noble@apple.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      373c0081
    • commit-queue@webkit.org's avatar
      Don't use pending activity notification in IntentRequest · 352097b8
      commit-queue@webkit.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      352097b8
    • commit-queue@webkit.org's avatar
      EQUALPOWER panner incorrectly computes gain · adb1a151
      commit-queue@webkit.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adb1a151
    • andersca@apple.com's avatar
      Implement TiledCoreAnimationDrawingArea::setLayerTreeStateIsFrozen · fe8f2a26
      andersca@apple.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe8f2a26
    • ojan@chromium.org's avatar
      Unreviewed, rolling out r104972. · 096c3ea2
      ojan@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      096c3ea2
    • andersca@apple.com's avatar
      Disable implicit animations when setting the root compositing layer · 8aef037f
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=76304
      
      Reviewed by Sam Weinig.
      
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aef037f
    • dpranke@chromium.org's avatar
      fix changelog · b31a9199
      dpranke@chromium.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b31a9199
    • alexis.menard@openbossa.org's avatar
      Unreviewed build fix for Qt SnowLeopard build bot. · 521bdd85
      alexis.menard@openbossa.org authored
      This is a workaround for the moment.
      
      * wtf/Platform.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      521bdd85
    • dpranke@chromium.org's avatar
      test-webkitpy: should support classes and individual test names as well as modules · e7bcad41
      dpranke@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7bcad41
    • andersca@apple.com's avatar
      -[WebTileCacheLayer setNeedsDisplay] doesn't trigger invalidation · 656f3313
      andersca@apple.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      656f3313
    • dpranke@chromium.org's avatar
      test-webkitpy: should support classes and individual test names as well as modules · ebc86ec0
      dpranke@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebc86ec0
    • levin@chromium.org's avatar
      Header file is missing header guard. · ae983d47
      levin@chromium.org authored
      Reviewed by Dirk Pranke.
      
      * wtf/win/HWndDCWin.h: Added the guards.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae983d47
    • dpranke@chromium.org's avatar
      test-webkitpy: add basic code coverage support · 303ccad5
      dpranke@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      303ccad5
    • dpranke@chromium.org's avatar
      StatusBubbleTest.test_build_bubble is failing · 86d1977c
      dpranke@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86d1977c
    • simon.fraser@apple.com's avatar
      Add new baselines for various compositing tests which didn't have Mac results. · d974b29d
      simon.fraser@apple.com authored
      * 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: http://svn.webkit.org/repository/webkit/trunk@104973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d974b29d
    • ojan@chromium.org's avatar
      Implement flex-align · 30de3dc6
      ojan@chromium.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30de3dc6
    • jamesr@google.com's avatar
      [chromium] Update chromium image baselines for cross-fade-invalidation · 4415685a
      jamesr@google.com authored
      * 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: http://svn.webkit.org/repository/webkit/trunk@104971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4415685a
    • commit-queue@webkit.org's avatar
      Eval in strict mode does not need dynamic checks · b37acad7
      commit-queue@webkit.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b37acad7
    • jamesr@google.com's avatar
      Fix an obviously incorrect expected result image. · 8d720bb1
      jamesr@google.com authored
      Patch by Simon Fraser <simon.fraser@apple.com> on 2012-01-13
      
      * platform/mac/css3/images/cross-fade-invalidation-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d720bb1
    • simon.fraser@apple.com's avatar
      Fix an obviously incorrect expected result image. · ddabf872
      simon.fraser@apple.com authored
      * platform/mac/css3/images/cross-fade-invalidation-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ddabf872
    • kkristof@inf.u-szeged.hu's avatar
      nrwt should use multiple http shards · ce3e5759
      kkristof@inf.u-szeged.hu authored
      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: http://svn.webkit.org/repository/webkit/trunk@104967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce3e5759
    • simon.fraser@apple.com's avatar
      Rename GraphicsContext* argument in various RenderLayer methods · 4c1c41fe
      simon.fraser@apple.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c1c41fe
    • mihnea@adobe.com's avatar
      [CSSRegions]Add back region style code removed in r104036 · 969c4cf6
      mihnea@adobe.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      969c4cf6
    • kbr@google.com's avatar
      Unreviewed build fix; added project.pbxproj changes lost in r104954. · 1e397002
      kbr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75906
      
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e397002
    • jocelyn.turcotte@nokia.com's avatar
      TextureMapper: Extract layer transform logic to a LayerTransform class. · 6bd3b633
      jocelyn.turcotte@nokia.com authored
      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: http://svn.webkit.org/repository/webkit/trunk@104961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bd3b633
    • commit-queue@webkit.org's avatar
      [EFL] SecurityPolicy whitelist interface should be exposed to EWebKit · a740ea9c
      commit-queue@webkit.org authored
      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: http://svn.webkit.org/repository/webkit/trunk@104960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a740ea9c