1. 26 Jan, 2011 40 commits
    • aroben@apple.com's avatar
      Add assertions that CACFLayerTreeHost gains and loses an HWND only once · 5f544946
      aroben@apple.com authored
      CACFLayerTreeHost doesn't support any other use pattern.
      
      Reviewed by Sam Weinig.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::CACFLayerTreeHost): Initialize new member.
      (WebCore::CACFLayerTreeHost::setWindow): Assert that we transition from not having a window,
      to having a window, to not having a window just once over the lifetime of this object.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.h: Added m_state.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f544946
    • aroben@apple.com's avatar
      Notify layers that their animations have started when we flush the context, not when we render · 9e3fd540
      aroben@apple.com authored
      r76372 separated context flushing from rendering, but this bit of code got left behind.
      
      Reviewed by Sam Weinig.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::render): Moved code to notify the layers from here to
      notifyAnimationsStarted.
      (WebCore::CACFLayerTreeHost::flushPendingLayerChangesNow): Added a call to
      notifyAnimationsStarted after we flush the context.
      (WebCore::CACFLayerTreeHost::notifyAnimationsStarted): Added. Code came from render. Changed
      to call PlatformCALayer::animationStarted rather than calling through to the client
      directly.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.h: Added notifyAniamtionsStarted.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e3fd540
    • aroben@apple.com's avatar
      Small cleanup in MediaPlayerPrivateFullscreenWindow · ca766f78
      aroben@apple.com authored
      Reviewed by Sam Weinig.
      
      * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
      (WebCore::MediaPlayerPrivateFullscreenWindow::~MediaPlayerPrivateFullscreenWindow): Moved
      code here from close(), since this was the only place that called it after the following
      change to createWindow.
      (WebCore::MediaPlayerPrivateFullscreenWindow::createWindow): Replaced code that handled the
      case where we had already created the window with an assertion that we have not already done
      so. Our single caller (FullscreenVideoController) did not require this behavior.
      
      * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h: Removed layerView.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca766f78
    • mitz@apple.com's avatar
      Updated results for the html.css changes in r76726. The old results were prepared before · 971b4cdf
      mitz@apple.com authored
      r76726.
      
      * platform/mac/fast/text/justify-ideograph-vertical-expected.checksum:
      * platform/mac/fast/text/justify-ideograph-vertical-expected.png:
      * platform/mac/fast/text/justify-ideograph-vertical-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      971b4cdf
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 1cb179de
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              fast/text/justify-ideograph-vertical.html crashes on LINUX.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cb179de
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 78ec3bfb
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Mark the tests started failing at http://trac.webkit.org/changeset/76726 as such.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ec3bfb
    • weinig@apple.com's avatar
      Move ScrollView scroll wheel code to ScrollAnimator. · 10187a97
      weinig@apple.com authored
      Reviewed by Adam Roben.
      
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::handleWheelEvent):
      * platform/ScrollAnimator.h:
      Moved implementation of handleWheelEvent from ScrollView::wheelEvent.
      
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::wheelEvent):
      Call down to the ScrollableArea.
      
      * platform/ScrollableArea.cpp:
      (WebCore::ScrollableArea::handleWheelEvent):
      Call down to the ScrollAnimator.
      
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::scrollPosition):
      (WebCore::ScrollableArea::minimumScrollPosition):
      (WebCore::ScrollableArea::maximumScrollPosition):
      (WebCore::ScrollableArea::visibleContentRect):
      (WebCore::ScrollableArea::visibleHeight):
      (WebCore::ScrollableArea::visibleWidth):
      Add functions needed to implement wheel event in the animator.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10187a97
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/53192> Add experimental support for HTTP pipelining in CFNetwork · e2501bd4
      ddkilzer@apple.com authored
      <rdar://problem/8821760>
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      This adds support for HTTP pipelining in CFNetwork, but does not
      enable it.  To enable it post-SnowLeopard, use this command:
      
          defaults write BUNDLE.ID WebKitEnableHTTPPipelining -bool YES
      
      Once enabled, it is possible to force the same load priority
      (high) to be sent to CFNetwork to allow WebCore to handle the
      scheduling:
      
          defaults write BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh -bool YES
      
      * WebCore.exp.in: Export _wkGetHTTPPipeliningPriority and
      _wkSetHTTPPipeliningPriority.
      
      * loader/DocumentThreadableLoader.cpp:
      (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequestWithPreflight):
      Copy the priority to preflightRequest.
      
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::scheduleLoad): Refactored code
      at the end of the method to use an early return.
      
      * loader/cache/CachedResourceRequest.cpp:
      (WebCore::CachedResourceRequest::load): Set the priority on the
      ResourceRequest object based on the priority of the
      CachedResourceRequest before calling
      ResourceLoadScheduler::scheduleSubresourceLoad().
      
      * loader/icon/IconLoader.cpp:
      (WebCore::IconLoader::startLoading): Create a ResourceRequest
      object and set its priority to ResourceLoadPriorityLow before
      passing it to ResourceLoadScheduler::scheduleSubresourceLoad().
      
      * platform/mac/WebCoreSystemInterface.h:
      (wkGetHTTPPipeliningPriority): Added.
      (wkSetHTTPPipeliningPriority): Added.
      * platform/mac/WebCoreSystemInterface.mm:
      (wkGetHTTPPipeliningPriority): Added.
      (wkSetHTTPPipeliningPriority): Added.
      
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::adopt): Set m_priority when
      adopting a CrossThreadResourceRequestData.
      (WebCore::ResourceRequestBase::copyData): Set m_priority when
      creating a CrossThreadResourceRequestData.
      (WebCore::ResourceRequestBase::priority): Added.
      (WebCore::ResourceRequestBase::setPriority): Added.
      (WebCore::equalIgnoringHeaderFields): Priorities must match when
      comparing two ResourceRequest objects.
      
      * platform/network/ResourceRequestBase.h:
      (WebCore::ResourceRequestBase::ResourceRequestBase): Set default
      priority of new objects to ResourceLoadPriorityLow.
      (WebCore::ResourceRequestBase::priority): Added declaration.
      (WebCore::ResourceRequestBase::setPriority): Added declaration.
      (WebCore::isHTTPPipeliningEnabled): Added.
      (WebCore::shouldUseHTTPPipeliningPriority): Added.
      
      * platform/network/cf/ResourceRequestCFNet.cpp: Updated so that
      Mac OS X and Windows share code.
      (WebCore::initializeMaximumHTTPConnectionCountPerHost): Always
      set the HTTP connection count per host, but return an
      'unlimited' value when using HTTP pipelining.  This method used
      to be defined in ResourceRequestMac.mm for Mac OS X.
      (WebCore::readBooleanPreference): Added.  Helper method for
      reading boolean user defaults.
      (WebCore::isHTTPPipeliningEnabled): Returns value of user
      default key WebKitEnableHTTPPipelining, or false if not set.
      (WebCore::shouldUseHTTPPipeliningPriority): Returns value of
      user default key WebKitForceHTTPPipeliningPriorityHigh, or false
      if not set.
      * platform/network/cf/ResourceRequestCFNet.h: Updated so that
      Mac OS X and Windows share code.  Fixed indentation.
      (WebCore::mapHTTPPipeliningPriorityToResourceLoadPriority): Added.
      (WebCore::mapResourceLoadPriorityToHTTPPipeliningPriority): Added.
      
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest): Update
      HTTP pipelining priority on NSMutableFURLRequest object.
      (WebCore::ResourceRequest::doUpdateResourceRequest): Update
      m_priority from the NSURLRequest object.
      (WebCore::initializeMaximumHTTPConnectionCountPerHost): Removed.
      Code is now shared with Windows in ResourceRequestCFNet.cpp.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Added initialization for
      GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Added initialization for
      GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.
      
      WebKitLibraries:
      
      * WebKitSystemInterface.h:
          New methods added for HTTP pipelining support.
      (WKGetHTTPPipeliningPriority): Added.
      (WKSetHTTPPipeliningPriority): Added.
          Unrelated methods added after updating the header.
      (WKMakeScrollbarPainter): Added.
      (WKScrollbarPainterPaint): Added.
      * libWebKitSystemInterfaceLeopard.a: Updated.
      * libWebKitSystemInterfaceSnowLeopard.a: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2501bd4
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · b91537df
      rniwa@webkit.org authored
              Reviewed Chromium Mac rebaselines for r76726.
      
              * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
              * platform/chromium-mac/fast/multicol/vertical-rl: Added.
              * platform/chromium-mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
              * platform/chromium-mac/fast/table/028-vertical-expected.checksum: Added.
              * platform/chromium-mac/fast/table/028-vertical-expected.png: Added.
              * platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Added.
              * platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b91537df
    • bdakin@apple.com's avatar
      Fix for <rdar://problem/8895140> Adopt WKScrollbar metrics · 5ce11413
      bdakin@apple.com authored
      when using WKScrollbars.
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      New WebKitSystemInterface Functionality.
      * WebCore.exp.in:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      Some of the terrible static arrays are now only needed in the 
      old non-WK code, so they are if-def'd now.
      * platform/mac/ScrollbarThemeMac.mm:
              
      Just patching this function in a better way than I did
      before.
      (WebCore::updateArrowPlacement):
              
      Call into WK for the right values.
      (WebCore::ScrollbarThemeMac::scrollbarThickness):
      (WebCore::ScrollbarThemeMac::hasThumb):
      (WebCore::ScrollbarThemeMac::minimumThumbLength):
              
      Return false if there are no buttons.
      (WebCore::ScrollbarThemeMac::hasButtons):
      
      Return an empty IntRect if there are not buttons.
      (WebCore::buttonRepaintRect):
      
      Source/WebKit/mac: 
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2: 
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ce11413
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · d495d9e7
      rniwa@webkit.org authored
              Reviewed Chromium Windows/Linux rebaselines for r76726.
      
              * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-linux/fast/table/028-vertical-expected.checksum:
              * platform/chromium-linux/fast/table/028-vertical-expected.png:
              * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.checksum:
              * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.png:
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
              * platform/chromium-win/fast/table/028-vertical-expected.checksum:
              * platform/chromium-win/fast/table/028-vertical-expected.png:
              * platform/chromium-win/fast/table/028-vertical-expected.txt:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.checksum:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.png:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d495d9e7
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · 6ffcf50c
      rniwa@webkit.org authored
              Reviewed Chromium Windows/Linux rebaselines for r76726.
      
              * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/column-rules-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-count-with-rules-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ffcf50c
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · e9693fb9
      rniwa@webkit.org authored
              Reviewed Chromium Windows/Linux rebaselines for r76726.
      
              * platform/chromium-linux/fast/blockflow/vertical-baseline-alignment-expected.checksum:
              * platform/chromium-linux/fast/blockflow/vertical-baseline-alignment-expected.png:
              * platform/chromium-linux/fast/lists/002-vertical-expected.checksum:
              * platform/chromium-linux/fast/lists/002-vertical-expected.png:
              * platform/chromium-linux/fast/lists/002-vertical-expected.txt: Removed.
              * platform/chromium-linux/fast/lists/003-vertical-expected.checksum:
              * platform/chromium-linux/fast/lists/003-vertical-expected.png:
              * platform/chromium-linux/fast/multicol/vertical-lr: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/column-rules-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
              * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.checksum:
              * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.png:
              * platform/chromium-win/fast/blockflow/vertical-baseline-alignment-expected.txt:
              * platform/chromium-win/fast/lists/002-vertical-expected.checksum:
              * platform/chromium-win/fast/lists/002-vertical-expected.png:
              * platform/chromium-win/fast/lists/002-vertical-expected.txt:
              * platform/chromium-win/fast/lists/003-vertical-expected.checksum:
              * platform/chromium-win/fast/lists/003-vertical-expected.png:
              * platform/chromium-win/fast/lists/003-vertical-expected.txt:
              * platform/chromium-win/fast/multicol/vertical-lr: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-count-with-rules-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9693fb9
    • bweinstein@apple.com's avatar
      Rebaseline Windows fast/blockfow results after r76726. · 66b5fb6e
      bweinstein@apple.com authored
      * platform/win/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
      * platform/win/fast/blockflow/vertical-baseline-alignment-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66b5fb6e
    • mrobinson@webkit.org's avatar
      2011-01-26 Martin Robinson <mrobinson@igalia.com> · 3ce973c3
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Pixel dumps do not include scrollbars in output images
              https://bugs.webkit.org/show_bug.cgi?id=53216
      
              Update expected results which should show scrollbars.
      
              * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum:
              * platform/gtk/css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
              * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.checksum:
              * platform/gtk/css2.1/t0803-c5505-mrgn-02-c-expected.png:
              * platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum:
              * platform/gtk/css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
              * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.checksum:
              * platform/gtk/css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
              * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.checksum:
              * platform/gtk/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
              * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
              * platform/gtk/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
              * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.checksum:
              * platform/gtk/css2.1/t0905-c5526-fltclr-00-c-ag-expected.png:
              * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.checksum:
              * platform/gtk/css2.1/t1002-c5523-width-02-b-g-expected.png:
              * platform/gtk/css2.1/t1202-counters-08-b-expected.checksum:
              * platform/gtk/css2.1/t1202-counters-08-b-expected.png:
              * platform/gtk/css2.1/t1202-counters-09-b-expected.checksum:
              * platform/gtk/css2.1/t1202-counters-09-b-expected.png:
              * platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum:
              * platform/gtk/css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
              * platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum:
              * platform/gtk/css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
              * platform/gtk/css2.1/t1508-c527-font-07-b-expected.checksum:
              * platform/gtk/css2.1/t1508-c527-font-07-b-expected.png:
      2011-01-26  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Pixel dumps do not include scrollbars in output images
              https://bugs.webkit.org/show_bug.cgi?id=53216
      
              Show scrollbars in pixel dumps. This will fix pixel dumps for tests
              that have scrollbars.
      
              * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
              (createBitmapContextFromWebView): Take the snapshot of the containing GtkScrolledWindow
              instead of the web view itself.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ce973c3
    • mrobinson@webkit.org's avatar
      2011-01-26 Martin Robinson <mrobinson@igalia.com> · 132c61da
      mrobinson@webkit.org authored
              [GTK] Text input controls do not react properly to CSS styling
              https://bugs.webkit.org/show_bug.cgi?id=40855
      
              Unskip tests which were previously skipped due to issue #40855.
              The bug is closed now, so it's safe to rebaseline the tests and
              unskip them.
      
              * platform/gtk/Skipped: Unskip tests.
              * platform/gtk/fast/forms/basic-selects-expected.checksum:
              * platform/gtk/fast/forms/basic-selects-expected.png:
              * platform/gtk/fast/forms/basic-selects-expected.txt:
              * platform/gtk/fast/forms/basic-textareas-quirks-expected.checksum:
              * platform/gtk/fast/forms/basic-textareas-quirks-expected.png:
              * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      132c61da
    • mrobinson@webkit.org's avatar
      2011-01-26 Martin Robinson <mrobinson@igalia.com> · aaf24c20
      mrobinson@webkit.org authored
              [GTK] media/unsupported-rtsp.html fails after timing out
              https://bugs.webkit.org/show_bug.cgi?id=53056
      
              * platform/gtk/Skipped: Update the skipped list to explain why this
              test is skipped and should remain skipped.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaf24c20
    • dpranke@chromium.org's avatar
      2011-01-26 Dirk Pranke <dpranke@chromium.org> · c2257daa
      dpranke@chromium.org authored
              Reviewed by Mihai Parparita.
      
              Fix regression introduced in r76322 ... new-run-webkit-tests
              was attempting to save the image diff output as a UTF-8-encoded
              file.
      
              https://bugs.webkit.org/show_bug.cgi?id=53210
      
              * Scripts/webkitpy/layout_tests/port/webkit.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2257daa
    • weinig@apple.com's avatar
      Add events to represent the start/end of a gesture scroll · 99b7847a
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53215
      
      Reviewed by Maciej Stachowiak.
      
      Source/JavaScriptCore: 
      
      * wtf/Platform.h: Add ENABLE for gesture events. 
      
      Source/WebCore: 
      
      * WebCore.exp.in: 
      Add new file.
      
      * WebCore.xcodeproj/project.pbxproj:
      Add new file.
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleGestureEvent):
      * page/EventHandler.h:
      Add entry point for handling gesture events.
      
      * platform/PlatformGestureEvent.h: Added.
      (WebCore::PlatformGestureEvent::PlatformGestureEvent):
      (WebCore::PlatformGestureEvent::type):
      (WebCore::PlatformGestureEvent::position):
      (WebCore::PlatformGestureEvent::globalPosition):
      (WebCore::PlatformGestureEvent::timestamp):
      Add platform agnostic representation of a gesture event.
      
      Source/WebKit2: 
      
      * Scripts/webkit2/messages.py:
      * Shared/WebEvent.h:
      (WebKit::WebGestureEvent::WebGestureEvent):
      (WebKit::WebGestureEvent::position):
      (WebKit::WebGestureEvent::globalPosition):
      * Shared/WebEventConversion.cpp:
      (WebKit::WebKit2PlatformGestureEvent::WebKit2PlatformGestureEvent):
      (WebKit::platform):
      * Shared/WebEventConversion.h:
      * Shared/WebGestureEvent.cpp: Added.
      (WebKit::WebGestureEvent::WebGestureEvent):
      (WebKit::WebGestureEvent::encode):
      (WebKit::WebGestureEvent::decode):
      (WebKit::WebGestureEvent::isGestureEventType):
      * Shared/mac/WebEventFactory.h:
      * Shared/mac/WebEventFactory.mm:
      (WebKit::gestureEventTypeForEvent):
      (WebKit::WebEventFactory::createWebGestureEvent):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView shortCircuitedEndGestureWithEvent:]):
      (-[WKView beginGestureWithEvent:]):
      (-[WKView viewDidMoveToWindow]):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::handleGestureEvent):
      (WebKit::WebPageProxy::didReceiveEvent):
      * UIProcess/WebPageProxy.h:
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::handleGestureEvent):
      (WebKit::WebPage::gestureEvent):
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/WebPage.messages.in:
      Pipe gesture events down to WebCore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99b7847a
    • tkent@chromium.org's avatar
      2011-01-26 Kent Tamura <tkent@chromium.org> · 04df567e
      tkent@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [Chromium] WebFrame::forms() should not return empty WebFormElements
              https://bugs.webkit.org/show_bug.cgi?id=53204
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::forms):
               - Should iterate by forms->length(), not the number of HTMLElements.
               - Do not increment the index for "temp" if a node is not an HTMLElement.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76744 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04df567e
    • mitz@apple.com's avatar
      <rdar://problem/8446709> Allow inter-ideograph justification for CJK · 86470c87
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53184
      
      Reviewed by Dave Hyatt.
      
      Source/WebCore: 
      
      Tests: fast/text/justify-ideograph-complex.html
             fast/text/justify-ideograph-simple.html
             fast/text/justify-ideograph-vertical.html
      
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::drawTextInternal): Corrected the type of the third parameter
      passed to the TextRun constructor and added the trailingExpansionBehavior parameter.
      * platform/graphics/Font.cpp:
      (WebCore::Font::expansionOpportunityCount): Added. Returns the number of expansion opportunities
      for text justification. On entry, isAfterExpansion says whether an expansion opportunity exists
      before the first character. On return, isAfterExpansion says whether an expansion opportunity
      exists after the last character.
      * platform/graphics/Font.h: 
      * platform/graphics/GlyphBuffer.h:
      (WebCore::GlyphBuffer::expandLastAdvance): Added.
      * platform/graphics/TextRun...
      86470c87
    • mitz@apple.com's avatar
      Methods to temporarily disable size updates to the page drawing area in WKView. · 2f912205
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53206
      Part of <rdar://problem/8818585>
      
      Patch by Jing Jin <jjin@apple.com> on 2011-01-26
      Reviewed by Darin Adler.
      
      * UIProcess/API/mac/WKView.h: Added _frameSizeUpdateDisabledCount.
      * UIProcess/API/mac/WKView.mm:
      (-[WKView setFrameSize:]): Only update page size if frame size updates are enabled.
      (-[WKView _setDrawingAreaSize:]): Helper method to set the page's drawing area's size.
      (-[WKView disableFrameSizeUpdates]): Increment _frameSizeUpdateDisabledCount
      (-[WKView enableFrameSizeUpdates]): Decrement _frameSizeUpdateDisabledCount, and if the count is 0, meaning
      that no one is disabling frame size updates anymore, update the drawing area's size to match the current frame.
      (-[WKView frameSizeUpdatesDisabled]): Returns YES if at least one caller is disabling frame size updates.
      * UIProcess/API/mac/WKViewInternal.h: Declared -disableFrameSizeUpdates, -enableFrameSizeUpdates, and -frameSizeUpdatesDisabled.
      * UIProcess/API/mac/WKViewPrivate.h: Added.
      * WebKit2.xcodeproj/project.pbxproj: Added WKViewPrivate.h
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f912205
    • mitz@apple.com's avatar
      Several WKView Internal category methods are implemented in the main category. · 6ba1afda
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53195
      
      Patch by Jing Jin <jjin@apple.com> on 2011-01-26
      Rubber-stamped by Dan Bernstein.
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView _setEventBeingResent:]): Moved into implementation of WKView (Internal).
      (-[WKView _interceptKeyEvent:]): Moved into implementation of WKView (Internal).
      (-[WKView _getTextInputState:selectionEnd:underlines:WebCore::]): Moved into implementation of WKView (Internal).
      (-[WKView _setAccessibilityChildToken:]): Moved into implementation of WKView (Internal).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76741 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ba1afda
    • mrobinson@webkit.org's avatar
      2011-01-26 Martin Robinson <mrobinson@igalia.com> · 1ce4a060
      mrobinson@webkit.org authored
              Add the final set of CSS 2.1 GTK+ baselines.
      
              * platform/gtk/Skipped: Unskip the remaining CSS 2.1 tests.
              * platform/gtk/css2.1: Add the remaining baselines.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76740 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ce4a060
    • hyatt@apple.com's avatar
      Update fast/text/text-letter-spacing.html since it progressed. · f606e410
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f606e410
    • mrobinson@webkit.org's avatar
      2011-01-26 Martin Robinson <mrobinson@igalia.com> · 1bc9eae8
      mrobinson@webkit.org authored
              Add the next set of GTK+ baselines for the CSS 2.1 test suite.
      
              * platform/gtk/Skipped: Unskip the next block of tests.
              * platform/gtk/css2.1: Added CSS 2.1 test results for GTK+.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76738 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bc9eae8
    • hyatt@apple.com's avatar
      Update fast/dom test since it progressed. · 2b60d5d9
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b60d5d9
    • hyatt@apple.com's avatar
      Update fast/table results since they progressed. · 5d4dc2f1
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76736 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d4dc2f1
    • hyatt@apple.com's avatar
      Update fast/overflow results since they progressed. · 649623ea
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      649623ea
    • hyatt@apple.com's avatar
      Update fast/lists results since they progressed. · 7632ecec
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7632ecec
    • aestes@apple.com's avatar
      Inline HTMLObjectElement::hasValidClassId(). · e0fde9c6
      aestes@apple.com authored
      Rubber-stamped by Darin Adler.
      
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::hasValidClassId):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0fde9c6
    • evan@chromium.org's avatar
      2010-01-26 Evan Martin <evan@chromium.org> · f448b246
      evan@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium] crash on getBoundingClientRect in complex text
              https://bugs.webkit.org/show_bug.cgi?id=53199
      
              Add a test that reproduces the crash and verifies the resulting values
              are sane (when it didn't crash, it would get garbage values).
      
              * platform/chromium-linux/fast/text/international/complex-text-rectangle-expected.txt: Added.
              * platform/chromium-linux/fast/text/international/complex-text-rectangle.html: Added.
      2011-01-26  Evan Martin  <evan@chromium.org>
      
              Reviewed by Tony Chang.
      
              [chromium] crash on getBoundingClientRect in complex text
              https://bugs.webkit.org/show_bug.cgi?id=53199
      
              Use the correct array bound; we want the number of characters processed by
              the shaper, not the longest continuous script run length.
      
              Test: platform/chromium-linux/fast/text/international/complex-text-rectangle.html
      
              * platform/graphics/chromium/ComplexTextControllerLinux.cpp:
              (WebCore::ComplexTextController::nextScriptRun):
              * platform/graphics/chromium/ComplexTextControllerLinux.h:
              (WebCore::ComplexTextController::numCodePoints):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f448b246
    • hyatt@apple.com's avatar
      Update fast/blockflow results since they progressed. · ad5ee8e0
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad5ee8e0
    • inferno@chromium.org's avatar
      2011-01-26 Emil A Eklund <eae@chromium.org> · 9c05a61a
      inferno@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              Remove cached document reference from CSSStyleSheet and XSLStyleSheet.
              https://bugs.webkit.org/show_bug.cgi?id=52084
      
              Test: fast/dom/css-delete-doc.html
      
              * css/CSSMediaRule.cpp:
              (WebCore::CSSMediaRule::insertRule):
              (WebCore::CSSMediaRule::deleteRule):
              * css/CSSStyleSheet.cpp:
              (WebCore::CSSStyleSheet::CSSStyleSheet):
              (WebCore::CSSStyleSheet::document):
              * css/CSSStyleSheet.h:
              * xml/XSLStyleSheet.h:
              (WebCore::XSLStyleSheet::parentStyleSheet):
              * xml/XSLStyleSheetLibxslt.cpp:
              (WebCore::XSLStyleSheet::XSLStyleSheet):
              (WebCore::XSLStyleSheet::cachedResourceLoader):
              (WebCore::XSLStyleSheet::setParentStyleSheet):
              (WebCore::XSLStyleSheet::ownerDocument):
              * xml/XSLStyleSheetQt.cpp:
              (WebCore::XSLStyleSheet::XSLStyleSheet):
              (WebCore::XSLStyleSheet::cachedResourceLoader):
              (WebCore::XSLStyleSheet::ownerDocument):
      2011-01-26  Emil A Eklund  <eae@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              Remove cached document reference from CSSStyleSheet and XSLStyleSheet.
              https://bugs.webkit.org/show_bug.cgi?id=52084
      
              Added test for accessing a style sheet associated with a document that
              has been removed.
      
              * fast/dom/css-delete-doc-expected.txt: Added.
              * fast/dom/css-delete-doc.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c05a61a
    • dglazkov@chromium.org's avatar
      2011-01-25 Dimitri Glazkov <dglazkov@chromium.org> · e6101180
      dglazkov@chromium.org authored
              Reviewed by Kent Tamura.
      
              Reduce ref-count churn in shadowPseudoId.
              https://bugs.webkit.org/show_bug.cgi?id=53136
      
              Refactoring, so no new tests.
      
              * dom/Element.h:
              (WebCore::Element::shadowPseudoId): Changed signature to use const AtomicString&
              * html/ValidationMessage.cpp:
              (WebCore::ElementWithPseudoId::shadowPseudoId): Ditto.
              * html/shadow/SliderThumbElement.cpp:
              (WebCore::SliderThumbElement::shadowPseudoId): Ditto, plus moved from the header file.
              * html/shadow/SliderThumbElement.h: Ditto.
              * rendering/MediaControlElements.cpp:
              (WebCore::MediaControlMuteButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlVolumeSliderMuteButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlPlayButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlSeekForwardButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlSeekBackButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlRewindButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlReturnToRealtimeButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlToggleClosedCaptionsButtonElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlTimelineElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlVolumeSliderElement::shadowPseudoId): Ditto.
              (WebCore::MediaControlFullscreenButtonElement::shadowPseudoId): Ditto.
              * rendering/MediaControlElements.h: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6101180
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=46421, make multi-column layout work with vertical text. · 61bbedf5
      hyatt@apple.com authored
      Reviewed by Dan Bernstein.
      
      Added new tests in fast/multicol/vertical-lr and fast/multicol/vertical-rl.
      
      Source/WebCore: 
      
      * css/html.css:
      Update p, blockquote and h1-h6 to respect directionality so that column layout tests that use those
      elements work properly.
      
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::placeBoxesInBlockDirection):
      Fix a flipping bug with the computation of lineTopIncludingMargins where it could be incorrectly shrunk
      in some cases (causing lines to all stack on top of one another).
      
      * rendering/InlineTextBox.h:
      (WebCore::InlineTextBox::calculateBoundaries):
      Fix calculateBoundaries to be physical rather than logical.
      
      * rendering/LayoutState.cpp:
      (WebCore::LayoutState::addForcedColumnBreak):
      * rendering/LayoutState.h:
      Rename childY to childLogicalOffset.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::layoutBlock):
      (WebCore::RenderBlock::addOverflowFromChildren):
      (WebCore::RenderBlock::addOverflowFromFloats):
      (WebCore::RenderBlock::collapseMargins):
      (WebCore::RenderBlock::estimateLogicalTopPosition):
      (WebCore::RenderBlock::layoutBlockChild):
      (WebCore::RenderBlock::markForPaginationRelayoutIfNeeded):
      (WebCore::RenderBlock::paintColumnRules):
      (WebCore::RenderBlock::paintColumnContents):
      (WebCore::RenderBlock::paintFloats):
      (WebCore::RenderBlock::selectionGaps):
      (WebCore::RenderBlock::removeFloatingObjectsBelow):
      (WebCore::RenderBlock::addOverhangingFloats):
      (WebCore::RenderBlock::hitTestFloats):
      (WebCore::RenderBlock::hitTestColumns):
      (WebCore::RenderBlock::calcColumnWidth):
      (WebCore::RenderBlock::desiredColumnWidth):
      (WebCore::RenderBlock::columnRectAt):
      (WebCore::RenderBlock::layoutColumns):
      (WebCore::RenderBlock::adjustPointToColumnContents):
      (WebCore::RenderBlock::adjustRectForColumns):
      (WebCore::RenderBlock::flipForWritingModeIncludingColumns):
      (WebCore::RenderBlock::adjustForColumns):
      (WebCore::RenderBlock::adjustForBorderFit):
      (WebCore::RenderBlock::nextPageLogicalTop):
      (WebCore::RenderBlock::applyBeforeBreak):
      (WebCore::RenderBlock::applyAfterBreak):
      (WebCore::RenderBlock::adjustForUnsplittableChild):
      (WebCore::RenderBlock::adjustLinePositionForPagination):
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::logicalRightOffsetForContent):
      (WebCore::RenderBlock::logicalLeftOffsetForContent):
      (WebCore::RenderBlock::leftForFloatIncludingMargin):
      (WebCore::RenderBlock::topForFloatIncludingMargin):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::layoutInlineChildren):
      (WebCore::RenderBlock::determineStartPosition):
      Reworking of all the RenderBlock column functions to support flipping and vertical modes.
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::offsetFromContainer):
      (WebCore::RenderBox::flipForWritingModeIncludingColumns):
      Patch offsetFromContainer to be aware of flipped block writing modes when dealing with column layouts.
      
      * rendering/RenderBox.h:
      (WebCore::RenderBox::clientLogicalBottom):
      Fix a bug in clientLogicalBottom where it didn't add in the right border/padding.
              
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::layoutBlock):
      Better terminology for pagination.
      
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::offsetFromContainer):
      (WebCore::RenderInline::mapLocalToContainer):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paintChildLayerIntoColumns):
      (WebCore::RenderLayer::hitTestChildLayerColumns):
      (WebCore::RenderLayer::localBoundingBox):
      (WebCore::RenderLayer::boundingBox):
      Patch painting in RenderLayers to be vertical-text-aware.
          
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::mapLocalToContainer):
      Add code to be flipped block-aware with columns.
      
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::layout):
      * rendering/RenderTableRow.cpp:
      (WebCore::RenderTableRow::layout):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::layoutRows):
      Fix pagination to use better terminology.
              
      * rendering/RenderText.cpp:
      (WebCore::RenderText::absoluteQuads):
      (WebCore::RenderText::absoluteQuadsForRange):
      Fix a bug where vertical text wasn't taken into account.
      
      LayoutTests: 
      
      * fast/multicol/break-properties-expected.txt:
      * fast/multicol/break-properties.html:
      * fast/multicol/float-truncation.html:
      * fast/multicol/vertical-lr: Added.
      * fast/multicol/vertical-lr/border-padding-pagination.html: Added.
      * fast/multicol/vertical-lr/break-properties-expected.txt: Added.
      * fast/multicol/vertical-lr/break-properties.html: Added.
      * fast/multicol/vertical-lr/column-break-with-balancing.html: Added.
      * fast/multicol/vertical-lr/column-count-with-rules.html: Added.
      * fast/multicol/vertical-lr/column-rules.html: Added.
      * fast/multicol/vertical-lr/float-avoidance.html: Added.
      * fast/multicol/vertical-lr/float-multicol.html: Added.
      * fast/multicol/vertical-lr/float-paginate-complex.html: Added.
      * fast/multicol/vertical-lr/float-paginate.html: Added.
      * fast/multicol/vertical-lr/float-truncation-expected.txt: Added.
      * fast/multicol/vertical-lr/float-truncation.html: Added.
      * fast/multicol/vertical-lr/gap-non-negative-expected.txt: Added.
      * fast/multicol/vertical-lr/gap-non-negative.html: Added.
      * fast/multicol/vertical-lr/image-inside-nested-blocks-with-border-expected.txt: Added.
      * fast/multicol/vertical-lr/image-inside-nested-blocks-with-border.html: Added.
      * fast/multicol/vertical-lr/nested-columns.html: Added.
      * fast/multicol/vertical-lr/resources: Added.
      * fast/multicol/vertical-lr/resources/blimp.png: Added.
      * fast/multicol/vertical-lr/unsplittable-inline-block.html: Added.
      * fast/multicol/vertical-rl: Added.
      * fast/multicol/vertical-rl/border-padding-pagination.html: Added.
      * fast/multicol/vertical-rl/break-properties-expected.txt: Added.
      * fast/multicol/vertical-rl/break-properties.html: Added.
      * fast/multicol/vertical-rl/column-break-with-balancing.html: Added.
      * fast/multicol/vertical-rl/column-count-with-rules.html: Added.
      * fast/multicol/vertical-rl/column-rules.html: Added.
      * fast/multicol/vertical-rl/float-avoidance.html: Added.
      * fast/multicol/vertical-rl/float-multicol.html: Added.
      * fast/multicol/vertical-rl/float-paginate-complex.html: Added.
      * fast/multicol/vertical-rl/float-paginate.html: Added.
      * fast/multicol/vertical-rl/float-truncation-expected.txt: Added.
      * fast/multicol/vertical-rl/float-truncation.html: Added.
      * fast/multicol/vertical-rl/gap-non-negative-expected.txt: Added.
      * fast/multicol/vertical-rl/gap-non-negative.html: Added.
      * fast/multicol/vertical-rl/image-inside-nested-blocks-with-border-expected.txt: Added.
      * fast/multicol/vertical-rl/image-inside-nested-blocks-with-border.html: Added.
      * fast/multicol/vertical-rl/nested-columns.html: Added.
      * fast/multicol/vertical-rl/resources: Added.
      * fast/multicol/vertical-rl/resources/blimp.png: Added.
      * fast/multicol/vertical-rl/unsplittable-inline-block.html: Added.
      * platform/mac/fast/multicol/vertical-lr: Added.
      * platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/column-count-with-rules-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/column-rules-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
      * platform/mac/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl: Added.
      * platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/column-count-with-rules-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/column-rules-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
      * platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
      * platform/mac/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61bbedf5
    • bweinstein@apple.com's avatar
      WebKit2: Need API to get the frame load state of a BundleFrame · 1ed9b9f6
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53193
      
      Reviewed by John Sullivan.
      
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      (WKBundleFrameGetFrameLoadState): Call through to the FrameLoader to get the frame load state.
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76725 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ed9b9f6
    • dglazkov@chromium.org's avatar
      2011-01-26 Dimitri Glazkov <dglazkov@chromium.org> · 61920eb5
      dglazkov@chromium.org authored
              Unreviewed, rolling out r76719.
              http://trac.webkit.org/changeset/76719
              https://bugs.webkit.org/show_bug.cgi?id=53122
      
              Broke a bunch of media tests in Chromium/Qt/GTK.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61920eb5
    • tony@chromium.org's avatar
      2011-01-26 Tony Chang <tony@chromium.org> · c94d9b36
      tony@chromium.org authored
              Reviewed by Ryosuke Niwa.
      
              [gtk] strip NUL characters when copying text/html on GTK+
              https://bugs.webkit.org/show_bug.cgi?id=52508
      
              * editing/pasteboard/copy-null-characters.html: Make sure we didn't
                  change innerHTML (it should still contain the null)
              * platform/gtk/Skipped: Re-enable the test
      2011-01-26  Tony Chang  <tony@chromium.org>
      
              Reviewed by Ryosuke Niwa.
      
              [gtk] strip NUL characters when copying text/html on GTK+
              https://bugs.webkit.org/show_bug.cgi?id=52508
      
              Putting NUL characters in the text/html clipboard doesn't work in
              WebKit GTK+ (the pasted value is truncated at the NUL).  Since we're
              already stripping this character for plain text (for Windows), strip
              it in text/html too.
      
              * editing/MarkupAccumulator.h: mark function as virtual
              * editing/markup.cpp:
              (WebCore::StyledMarkupAccumulator::appendString):
              (WebCore::StyledMarkupAccumulator::takeResults): strip nulls
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c94d9b36
    • dpranke@chromium.org's avatar
      2011-01-26 Sheriff Bot <webkit.review.bot@gmail.com> · 9543fe8a
      dpranke@chromium.org authored
              Unreviewed, rolling out r76709.
              http://trac.webkit.org/changeset/76709
              https://bugs.webkit.org/show_bug.cgi?id=53194
      
              "broke python tests on non-snowleopard platforms" (Requested
              by dpranke on #webkit).
      
              * Scripts/webkitpy/layout_tests/port/factory.py:
              * Scripts/webkitpy/layout_tests/port/mock_drt.py: Removed.
              * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9543fe8a