1. 29 Oct, 2012 22 commits
  2. 28 Oct, 2012 6 commits
    • shinyak@chromium.org's avatar
      The shadow element is not reprojected to a nested ShadowRoot. · d972dbe0
      shinyak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99228
      
      Reviewed by Dimitri Glazkov.
      
      Source/WebCore:
      
      We support shadow reprojection; elements distributed to <shadow> element can be reprojected to <content> now.
      
      First, we have a distribution vector for each InsertionPoint, even if InsertionPoint is a shadow insertion point.
      And we update a node-distribution map. Basically We're creating a map from node to InsertionPoint in ElementShadow.
      If a node can be distributed to several InsertionPoint (e.g. in case reprojection happens),
      the InsertionPoint in older ShadowDOM is chosen.
      
      We also fix ComposedShadowTreeWalker to consider shadow reprojection.
      
      Tests: fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html
             fast/dom/shadow/shadow-reprojection-click.html
             fast/dom/shadow/shadow-reprojection-dynamic.html
             fast/dom/shadow/shadow-reprojection-fallback.html
             fast/dom/shadow/shadow-reprojection.html
             fast/dom/shadow/shadow-reprojection2.html
      
      * css/StyleResolver.cpp:
      (WebCore::shouldResetStyleInheritance): Now context.insertionPoint() returns the final insertion point where
      a node is distributed. So we don't have to trace shadow insertion point anymore here.
      (WebCore::StyleResolver::styleForElement): Since a direct child of ShadowRoot can be distributed now. In that case,
      we don't have any parentElement. The parent node is a ShadowRoot in that case.
      * dom/ComposedShadowTreeWalker.cpp:
      (WebCore::nodeCanBeDistributed): If a node can be distributed, returns true.
      (WebCore):
      (WebCore::resolveReprojection): Resolves content-reprojection and shadow-reprojection both.
      (WebCore::ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint):
      (WebCore::ComposedShadowTreeWalker::traverseParent):
      (WebCore::ComposedShadowTreeWalker::traverseParentBackToYoungerShadowRootOrHost): A case ShadowRoot is assigned
      to some InsertionPoint should be handled with in traverseSiblingOrBackToInsertionPoint. So we remove it.
      (WebCore::AncestorChainWalker::parent): Now we have a case that a direct child of ShadowRoot can be distributed.
      In that case, we should not update m_distributedNode.
      * dom/ElementShadow.cpp:
      (WebCore::ElementShadow::insertionPointFor): Since we have a distribution vector for each InsertionPoint,
      we don't have a special case that a ShadowRoot is assigned to some InsertionPoint. Actually the existing code
      is not correct now due to shadow reprojection.
      * html/shadow/ContentDistributor.cpp:
      (WebCore::ContentDistributor::populate): Populate a POOL. If a node is InsertionPoint, we fill it with the
      distributed nodes.
      (WebCore):
      (WebCore::ContentDistributor::distribute): Since we want to make a distribution vector for each InsertionPoint,
      we have to resolve a shadow InsertionPoint
      (WebCore::ContentDistributor::distributeNodeChildrenTo):
      * html/shadow/ContentDistributor.h:
      (ContentDistributor):
      * html/shadow/HTMLShadowElement.h:
      (WebCore::toHTMLShadowElement):
      (WebCore):
      * html/shadow/InsertionPoint.h:
      (WebCore::parentNodeForDistribution):
      (WebCore::parentElementForDistribution):
      (WebCore):
      
      LayoutTests:
      
      * fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection-expected.txt: Added.
      * fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html: Added. A walker test case for elements distributed
      to shadow element are reprojected.
      * fast/dom/shadow/composed-shadow-tree-walker.html:
      * fast/dom/shadow/content-reprojection-complex.html:
      * fast/dom/shadow/content-reprojection-fallback-expected.html:
      * fast/dom/shadow/content-reprojection-fallback-reprojection-expected.html:
      * fast/dom/shadow/shadow-reprojection-click-expected.txt: Added.
      * fast/dom/shadow/shadow-reprojection-click.html: Added. Does some interactive with a shadow-reprojected node.
      * fast/dom/shadow/shadow-reprojection-dynamic-expected.html: Added.
      * fast/dom/shadow/shadow-reprojection-dynamic.html: Added. Adds dynamically elements shadow-reprojected.
      * fast/dom/shadow/shadow-reprojection-expected.html: Added.
      * fast/dom/shadow/shadow-reprojection-fallback-expected.html: Added.
      * fast/dom/shadow/shadow-reprojection-fallback.html: Added. A test case for fallback elements of a shadow element
      are reprojected.
      * fast/dom/shadow/shadow-reprojection-prohibited-expected.html: Removed.
      * fast/dom/shadow/shadow-reprojection-prohibited.html: Removed.
      * fast/dom/shadow/shadow-reprojection.html: Added. A basic test case.
      * fast/dom/shadow/shadow-reprojection2-expected.html: Added.
      * fast/dom/shadow/shadow-reprojection2.html: Added. Another basic test case.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d972dbe0
    • commit-queue@webkit.org's avatar
      Webkit adds a boundary to the Content-Type: text/plain POST header · 6e1f0a37
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100445
      
      Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2012-10-28
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      Fixed a bug where an empty boundary parameter was added to Content-Type
      header when POSTing forms with enctype=text/plain.
      
      Test: http/tests/misc/form-post-textplain.html
      
      * loader/FormSubmission.cpp:
      (WebCore::FormSubmission::populateFrameLoadRequest): Add boundary parameter to
      Content-Type only when a boundary string is generated.
      
      LayoutTests:
      
      Fixed test failure and added a test case for Content-Type header.
      
      * http/tests/misc/form-post-textplain-expected.txt:
      * http/tests/misc/form-post-textplain.html:
      * http/tests/misc/resources/form-post-textplain.php:
      Added a test case for testing Content-Type POST header.
      Also fixed existing test case that attempted to test newline in the input value.
      LF in the input value is replaced with CRLF durling the construction of the form data set.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e1f0a37
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · b593b968
      tkent@chromium.org authored
      Rebaseline for http://trac.webkit.org/changeset/132753
      
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b593b968
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r132696. · 1c0c7a7c
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/132696
      https://bugs.webkit.org/show_bug.cgi?id=100609
      
      Needs a bit more clean-up on Chrome Web UI side. (Requested by
      dglazkov on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-28
      
      Source/WebCore:
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::updateFirstLetter):
      * rendering/RenderListBox.h:
      * rendering/RenderObjectChildList.cpp:
      (WebCore::RenderObjectChildList::updateBeforeAfterContent):
      
      LayoutTests:
      
      * fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.html: Removed.
      * fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.txt: Added.
      * fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements.html:
      * fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.html: Removed.
      * fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.txt: Added.
      * fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements.html:
      * fast/forms/pseudo-elements-expected.html: Removed.
      * fast/forms/pseudo-elements.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.html: Removed.
      * fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.txt: Added.
      * fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html:
      * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.html: Removed.
      * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.txt: Added.
      * fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements.html:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac-lion/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-elements-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c0c7a7c
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · a5728982
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100128
      
      Rebaseline for http://trac.webkit.org/changeset/132718 and crrev.com/164515.
      
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5728982
    • ossy@webkit.org's avatar
      [Qt] Unreviewed weekend gardening, skip a failing test, update expected files. · 1db4549f
      ossy@webkit.org authored
      * platform/qt-5.0-wk2/TestExpectations:
      * platform/qt-5.0-wk2/compositing/tiling/crash-reparent-tiled-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/tiling/huge-layer-add-remove-child-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt: Added.
      * platform/qt-5.0-wk2/http/tests/navigation/postredirect-basic-expected.txt: Added.
      * platform/qt-5.0-wk2/http/tests/navigation/postredirect-goback1-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1db4549f
  3. 27 Oct, 2012 10 commits
    • noam.rosenthal@nokia.com's avatar
      Coordinated Graphics: Animation jerkiness when rAF is enabled · 085d3fc3
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100536
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      The jerkiness comes from the fact that we schedule animations excessively; That's because
      the previous patch broke requestAnimationFrame behavior during CSS animations, since the
      frame returns right away instead of waiting till the previous frame is actually rendered.
      
      This patch makes sure that when animations are scheduled, they're only serviced after the
      UI process has actually painted the previous frame. We do so by sending a
      RequestAnimationFrame message to the UI process, which responds with AnimationFrameReady
      after the UI process paints.
      
      New test: fast/animations/request-animation-frame-too-rapid.html
      Tests that we don't receive an unreasonably high number of callbacks from
      requestAnimationFrame (> 1000FPS).
      
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit):
      (WebKit::LayerTreeCoordinatorProxy::requestAnimationFrame):
      (WebKit::LayerTreeCoordinatorProxy::animationFrameReady):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
      (LayerTreeCoordinatorProxy):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.messages.in:
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::LayerTreeRenderer):
      (WebKit::LayerTreeRenderer::paintToCurrentGLContext):
      (WebKit):
      (WebKit::LayerTreeRenderer::animationFrameReady):
      (WebKit::LayerTreeRenderer::requestAnimationFrame):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
      (LayerTreeRenderer):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit):
      (WebKit::LayerTreeCoordinator::scheduleAnimation):
      (WebKit::LayerTreeCoordinator::animationFrameReady):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
      (LayerTreeCoordinator):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.messages.in:
      
      LayoutTests:
      
      Added a test to make sure we don't respond too eagerly to requestAnimationFrame.
      
      * fast/animation/request-animation-frame-too-rapid-expected.txt: Added.
      * fast/animation/request-animation-frame-too-rapid.html: Added.
      * fast/animation/script-tests/request-animation-frame-too-rapid.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      085d3fc3
    • dbarton@mathscribe.com's avatar
      [MathML] Improve some addChild methods · 8c38681f
      dbarton@mathscribe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98791
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      MathML addChild methods need to handle any anonymous renderers correctly. Actually, most MathML elements have a fixed
      number of children, so conformant javascript won't be doing arbitrary addChild and removeChild calls. However, we don't
      want any assertions to fail, and we do want addChild to work correctly when beforeChild == 0, to build up the original
      renderer, and then replaceChild at least should work correctly after that. We therefore clean up these routines before
      giving them to the chromium fuzzers.
      
      It's best to build the anonymous wrappers just once initially if possible, so empty wrappers aren't left in the render
      tree after later removeChild calls.
      
      Test: mathml/presentation/dynamic.html added for mfrac and msqrt. There are already tests for dynamically changing
      msub/sup elements, in mathml/presentation/m*-changed.xhtml.
      
      * rendering/mathml/RenderMathMLFraction.cpp:
      (WebCore::RenderMathMLFraction::addChild):
          - The two wrappers are built initially. Also, the old RenderMathMLBlock::addChild(row, beforeChild); doesn't really
            work because beforeChild is buried inside a wrapper. This new routine allows the numerator and denominator to be
            added initially, and then later replaced with replaceChild. It's not clear whether e.g. a plain removeChild of a
            numerator should move the remaining child from the denominator to the numerator or not, so we ignore that for now.
      * rendering/mathml/RenderMathMLRoot.cpp:
      (WebCore::RenderMathMLRoot::addChild):
          - A bit of bullet-proofing for the fuzzers.
      * rendering/mathml/RenderMathMLSubSup.cpp:
      (WebCore::RenderMathMLSubSup::addChild):
          - Like RenderMathMLFraction::addChild, we create the wrappers once initially, and then fill them dynamically.
      
      LayoutTests:
      
      * mathml/presentation/dynamic-expected.html: Added.
      * mathml/presentation/dynamic.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c38681f
    • kbalazs@webkit.org's avatar
      Unreviewed gardening. · 446b897b
      kbalazs@webkit.org authored
      Removing my garbage, now from svn.
      
      * platform/qt-5.0-wk2/fast/images/png-suite/test-expected.png: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132733 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      446b897b
    • kbalazs@webkit.org's avatar
      Unreviewed gardening. · ca43e75f
      kbalazs@webkit.org authored
      Added one more png to a wrong path in my previous commit, removing it and hoping that
      the directory will not stay in svn.
      
      * platform/qt-5.0-wk2/fast/images/png-suite/test-expected.png/test-expected.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca43e75f
    • leviw@chromium.org's avatar
      Background images can incorrectly repeat with sub-pixel layout · 89962e34
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=94622
      
      Reviewed by Emil A Eklund.
      
      Source/WebCore:
      
      Attempting to better match author expectations when painting tiled background images. When under
      the effects of zoom with sub-pixel layout enabled, the drawn size of a rendered element can
      differ depending on its location. This change looks at the size of the scaled tiled background
      image size, and either ceils or floors that value depending on if tiling that value will
      result in us being one pixel or less short of covering the background size. This is a heuristic,
      as sub-pixel/zooming isn't specced.
      
      Test: fast/sub-pixel/scaled-background-image.html
      
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::applySubPixelHeuristicForTileSize):
      (WebCore):
      (WebCore::RenderBoxModelObject::calculateFillTileSize):
      
      LayoutTests:
      
      * fast/sub-pixel/scaled-background-image-expected.html: Added.
      * fast/sub-pixel/scaled-background-image.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89962e34
    • kbalazs@webkit.org's avatar
      Pixel tests need rebaseline https://bugs.webkit.org/show_bug.cgi?id=99323 · 582a64ca
      kbalazs@webkit.org authored
      Unreviewed gardening.
      
      Reland Qt-WebKit2 new expectations part 2 with fixed paths.
      
      * platform/qt-5.0-wk2/fullscreen/full-screen-iframe-zIndex-expected.png: Added.
      * platform/qt-5.0-wk2/fullscreen/full-screen-remove-ancestor-after-expected.png: Added.
      * platform/qt-5.0-wk2/fullscreen/full-screen-stacking-context-expected.png: Added.
      * platform/qt-5.0-wk2/fullscreen/full-screen-zIndex-after-expected.png: Added.
      * platform/qt-5.0-wk2/fullscreen/full-screen-zIndex-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-appendItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-basics-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-getItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-initialize-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-insertItemBefore-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-removeItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-replaceItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLengthList-xml-dom-modifications-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGLocatable-getCTM-svg-root-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGNumberList-basics-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-appendItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-clear-and-initialize-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-insertItemBefore-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-removeItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-replaceItem-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPathSegList-xml-dom-synchronization-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGPointList-basics-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGStringList-basics-expected.png: Added.
      * platform/qt-5.0-wk2/svg/dom/SVGTransformList-basics-expected.png: Added.
      * platform/qt-5.0-wk2/svg/filters/feImage-animated-transform-on-target-rect-expected.png: Added.
      * platform/qt-5.0-wk2/svg/repaint/image-href-change-expected.png: Added.
      * platform/qt-5.0-wk2/svg/repaint/image-with-clip-path-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132728 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      582a64ca
    • kbalazs@webkit.org's avatar
      Pixel tests need rebaseline https://bugs.webkit.org/show_bug.cgi?id=99323 · 2f18b3bd
      kbalazs@webkit.org authored
      Unreviewed gardening.
      
      Reland Qt-WebKit2 new expectations part 1 with fixed paths.
      
      * platform/qt-5.0-wk2/css3/filters/filter-empty-element-crash-expected.png: Added.
      * platform/qt-5.0-wk2/css3/filters/multiple-filters-invalidation-expected.png: Added.
      * platform/qt-5.0-wk2/css3/flexbox/repaint-expected.png: Added.
      * platform/qt-5.0-wk2/css3/flexbox/repaint-rtl-column-expected.png: Added.
      * platform/qt-5.0-wk2/fast/borders/border-shadow-large-radius-expected.png: Added.
      * platform/qt-5.0-wk2/fast/borders/outline-alpha-block-expected.png: Added.
      * platform/qt-5.0-wk2/fast/borders/outline-alpha-inline-expected.png: Added.
      * platform/qt-5.0-wk2/fast/box-shadow/box-shadow-clipped-slices-expected.png: Added.
      * platform/qt-5.0-wk2/fast/box-shadow/no-blur-multiple-offsets-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-composite-fill-repaint-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-composite-transformclip-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-empty-image-pattern-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-imageSmoothingEnabled-patterns-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-resize-after-paint-without-layout-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-resize-reset-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/canvas-transforms-during-path-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/gradient-add-second-start-end-stop-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/image-pattern-rotate-expected.png: Added.
      * platform/qt-5.0-wk2/fast/canvas/toDataURL-alpha-expected.png: Added.
      * platform/qt-5.0-wk2/fast/css/border-radius-non-negative-expected.png: Added.
      * platform/qt-5.0-wk2/fast/css/linear-gradient-currentcolor-expected.png: Added.
      * platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-datalist-expected.png: Added.
      * platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-datalist-zoomed-expected.png: Added.
      * platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-padding-with-datalist-expected.png: Added.
      * platform/qt-5.0-wk2/fast/forms/datalist/input-appearance-range-with-transform-expected.png: Added.
      * platform/qt-5.0-wk2/fast/forms/file/file-input-pressed-state-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-color-stop-units-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-color-stops-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-linear-angle-gradients-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-linear-right-angle-gradients-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-radial-gradients-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-radial-gradients2-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-radial-gradients3-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-repeating-linear-gradients-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-repeating-linear-gradients2-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/css3-repeating-radial-gradients-expected.png: Added.
      * platform/qt-5.0-wk2/fast/gradients/gradient-after-transparent-border-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/jpeg-with-color-profile-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/paint-subrect-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/paint-subrect-grid-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/png-suite/test-expected.png/test-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/png-with-color-profile-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/rgb-jpeg-with-adobe-marker-only-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/rgb-png-with-cmyk-color-profile-expected.png: Added.
      * platform/qt-5.0-wk2/fast/images/ycbcr-with-cmyk-color-profile-expected.png: Added.
      * platform/qt-5.0-wk2/fast/layers/scroll-with-transform-composited-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/layers/scroll-with-transform-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/absolute-position-changed-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/fixed-and-absolute-position-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/fixed-position-transparency-with-overflow-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/nested-iframe-scroll-inner-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/nested-iframe-scroll-outer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/overflow-auto-in-overflow-auto-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/overflow-hide-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/overflow-scroll-in-overflow-scroll-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/overflow-show-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-absolute-layer-with-reflection-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-fixed-layer-with-no-visible-content-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-fixed-layer-with-reflection-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-fixed-layer-with-transformed-parent-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-fixed-reflected-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-in-clipped-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-in-fixed-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-in-transformed-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-inside-table-cell-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-relative-table-inside-table-cell-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/scroll-with-transformed-parent-layer-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/table-overflow-auto-in-overflow-auto-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/table-overflow-hidden-in-overflow-hidden-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/repaint/table-overflow-scroll-in-overflow-scroll-scrolled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/replaced/outline-replaced-elements-expected.png: Added.
      * platform/qt-5.0-wk2/fast/scrolling/scrollbar-tickmarks-styled-expected.png: Added.
      * platform/qt-5.0-wk2/fast/table/border-collapsing/collapsed-border-with-col-colgroup-span-expected.png: Added.
      * platform/qt-5.0-wk2/fast/table/table-row-focus-ring-paint-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f18b3bd
    • tony@chromium.org's avatar
      Remove internals shouldDisplayTrackKind methods; these are also on internals.settings · 48b46cc5
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100564
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Remove duplicate methods from internals that was just forwarding on the call to internals.settings.
      Also fix a bug where we didn't reset these settings properly.
      
      No new tests, this is covered by existing media/track tests.
      
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup): Properly save display track settings.
      (WebCore::InternalSettings::Backup::restoreTo): Restore display track settings.
      * testing/InternalSettings.h:
      * testing/InternalSettings.idl: Use [Conditional=VIDEO_TRACK].
      * testing/Internals.cpp: Remove code.
      * testing/Internals.h: Remove code.
      * testing/Internals.idl: Remove code.
      
      LayoutTests:
      
      Update tests to use the internals.settings method.
      
      * media/track/track-language-preference-expected.txt:
      * media/track/track-language-preference.html:
      * media/track/track-prefer-captions-expected.txt:
      * media/track/track-prefer-captions.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48b46cc5
    • pdr@google.com's avatar
      Prevent NaN offset values in ElementTimeControl. · d3188d91
      pdr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100322
      
      Reviewed by Abhishek Arya.
      
      Source/WebCore:
      
      NaN values can cause ElementTimeControl to go back in time!
      If a value of NaN is passed to ElementTimeControl::beginElementAt(offset),
      subsequent sorting will cause an assert in SVGSMILElement::findInstanceTime
      because NaN values are not properly sorted. NaN SMILTime values
      should not be allowed at all, so this patch adds a check for them in
      ElementTimeControl's setters.
      
      This patch also adds preventative asserts to catch if SMILTime is ever
      initialized with NaN, or if addEndTime/addBeginTime are ever called
      with NaN values.
      
      Test: svg/custom/elementTimeControl-nan-crash.html
      
      * svg/SVGAnimationElement.cpp:
      (WebCore::SVGAnimationElement::beginElementAt):
      (WebCore::SVGAnimationElement::endElementAt):
      * svg/animation/SMILTime.h:
      (WebCore::SMILTime::SMILTime):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::addBeginTime):
      (WebCore::SVGSMILElement::addEndTime):
      
      LayoutTests:
      
      * svg/custom/elementTimeControl-nan-crash-expected.txt: Added.
      * svg/custom/elementTimeControl-nan-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132724 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3188d91
    • ossy@webkit.org's avatar
      [Qt] Unreviewed weekend gardening, skip new failing tests. · 64c2f78f
      ossy@webkit.org authored
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64c2f78f
  4. 26 Oct, 2012 2 commits
    • crogers@google.com's avatar
      Implement AudioBufferSourceNode .loopStart and .loopEnd attributes · 806c69ce
      crogers@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100170
      
      Reviewed by Kenneth Russell.
      
      Source/WebCore:
      
      AudioBufferSourceNode currently only supports looping of an entire AudioBuffer.
      Sample-based synthesis is a very common technique which requires "internal" loop-points.
      For example, the first part of the sample data might represent the attack portion of
      a synthesized instrument, which then enters a loop portion.
      
      Tests: webaudio/audiobuffersource-loop-comprehensive.html
             webaudio/audiobuffersource-loop-points.html
      
      * Modules/webaudio/AudioBufferSourceNode.cpp:
      (WebCore::AudioBufferSourceNode::AudioBufferSourceNode):
      (WebCore::AudioBufferSourceNode::process):
      (WebCore::AudioBufferSourceNode::renderFromBuffer):
      * Modules/webaudio/AudioBufferSourceNode.h:
      (AudioBufferSourceNode):
      (WebCore::AudioBufferSourceNode::loopStart):
      (WebCore::AudioBufferSourceNode::loopEnd):
      (WebCore::AudioBufferSourceNode::setLoopStart):
      (WebCore::AudioBufferSourceNode::setLoopEnd):
      * Modules/webaudio/AudioBufferSourceNode.idl:
      
      LayoutTests:
      
      * webaudio/audiobuffersource-loop-comprehensive-expected.txt: Added.
      * webaudio/audiobuffersource-loop-comprehensive.html: Added.
      * webaudio/audiobuffersource-loop-points-expected.wav: Added.
      * webaudio/audiobuffersource-loop-points.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      806c69ce
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update. · 18711a15
      tkent@chromium.org authored
      Rebaseline for recent forms changes.
      
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18711a15