1. 23 Sep, 2011 37 commits
    • commit-queue@webkit.org's avatar
      .: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests · 90680248
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      Tests: fast/dom/scroll-element-to-rect-centered.html
             fast/dom/scroll-element-to-rect.html
      
      * WebCore.exp.in:
      * page/FrameView.cpp:
      (WebCore::FrameView::scrollElementToRect):
      * page/FrameView.h:
      * testing/Internals.cpp:
      (WebCore::Internals::scrollElementToRect):
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit/chromium: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * public/WebView.h:
      (WebKit::WebView::scrollFocusedNodeIntoRect):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::scrollFocusedNodeIntoRect):
      
      Source/WebKit2: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      
      LayoutTests: Refactor WebViewImpl::scrollFocusedNodeIntoRect to a better place and add tests
      https://bugs.webkit.org/show_bug.cgi?id=68198
      
      Patch by Varun Jain <varunjain@google.com> on 2011-09-23
      Reviewed by Dimitri Glazkov.
      
      * fast/dom/scroll-element-to-rect-centered-expected.txt: Added.
      * fast/dom/scroll-element-to-rect-centered.html: Added.
      * fast/dom/scroll-element-to-rect-expected.txt: Added.
      * fast/dom/scroll-element-to-rect.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90680248
    • dino@apple.com's avatar
      Add -webkit-filter to CSSPropertyNames · 335772d5
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68675
      
      Reviewed by Simon Fraser.
      
      Add property and rudimentary parsing for -webkit-filter. The
      property value isn't preserved anywhere yet. Add
      stub definition for computed style.
      
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseFilter):
      * css/CSSParser.h:
      * css/CSSPropertyNames.in:
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::applyProperty):
      
      New test for rudimentary parsing of -webkit-filter.
      Since currently only the Apple port enables the
      feature, add this new test to the platform skip lists
      for GTK, QT and Chromium.
      
      * css3/filters/filter-property-expected.txt: Added.
      * css3/filters/filter-property.html: Added.
      * css3/filters/script-tests/TEMPLATE.html: Added.
      * css3/filters/script-tests/filter-property.js: Added.
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      335772d5
    • commit-queue@webkit.org's avatar
      chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL... · e70ec422
      commit-queue@webkit.org authored
      chrome.dll!WebCore::ApplyStyleCommand::applyBlockStyle ReadAV@NULL (64db547804532a84be2e53721e499e9e)
      https://bugs.webkit.org/show_bug.cgi?id=51639
      
      Patch by Jay Soffian <jaysoffian@gmail.com> on 2011-09-23
      Reviewed by Tony Chang.
      
      Add repro for a crash inside WebCore::ApplyStyleCommand::applyBlockStyle. Fixed by r94840.
      
      * editing/style/justify-without-enclosing-block-expected.txt: Added.
      * editing/style/justify-without-enclosing-block.xhtml: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e70ec422
    • abarth@webkit.org's avatar
      Note flaky test. · c85cd8a9
      abarth@webkit.org authored
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c85cd8a9
    • commit-queue@webkit.org's avatar
      Add a few more possiblities to the test cases for xss denial. · 241463a5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=47120
      
      Patch by Tom Sepez <tsepez@chromium.org> on 2011-09-23
      Reviewed by Adam Barth.
      
      * http/tests/security/xss-DENIED-document-baseURI-javascript-with-spaces-expected.txt: Added.
      * http/tests/security/xss-DENIED-document-baseURI-javascript-with-spaces.html: Added.
      * http/tests/security/xss-DENIED-window-open-javascript-url-with-spaces-expected.txt: Added.
      * http/tests/security/xss-DENIED-window-open-javascript-url-with-spaces.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      241463a5
    • commit-queue@webkit.org's avatar
      [WK2] [Qt] Implement MouseDown/MouseUp/MouseMoveTo functions for WebKit2 EventSender · c5aed241
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68556
      
      Implement the MouseDown/MouseUp/MouseMoveTo functions on Qt platform.
      
      Source/WebKit2:
      
      Patch by Chang Shu <cshu@webkit.org> on 2011-09-23
      Reviewed by Darin Adler.
      
      * Shared/API/c/WKGeometry.h:
      (operator==):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::mouseEventSyncForTesting): initialize "handled"
      
      Tools:
      
      Patch by Chang Shu <cshu@webkit.org> on 2011-09-23
      Reviewed by Darin Adler.
      
      * WebKitTestRunner/EventSenderProxy.h:
      * WebKitTestRunner/InjectedBundle/EventSendingController.h:
      * WebKitTestRunner/PlatformWebView.h:
      * WebKitTestRunner/mac/EventSenderProxy.mm:
      (WTR::EventSenderProxy::EventSenderProxy):
      (WTR::EventSenderProxy::leapForward):
      * WebKitTestRunner/qt/EventSenderProxyQt.cpp:
      (WTR::EventSenderProxy::EventSenderProxy):
      (WTR::getMouseButton):
      (WTR::getModifiers):
      (WTR::EventSenderProxy::updateClickCountForButton):
      (WTR::EventSenderProxy::createGraphicsSceneMouseEvent):
      (WTR::EventSenderProxy::mouseDown):
      (WTR::EventSenderProxy::mouseUp):
      (WTR::EventSenderProxy::mouseMoveTo):
      (WTR::EventSenderProxy::leapForward):
      (WTR::EventSenderProxy::sendOrQueueEvent):
      (WTR::EventSenderProxy::replaySavedEvents):
      * WebKitTestRunner/qt/PlatformWebViewQt.cpp:
      (WTR::PlatformWebView::postEvent):
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      
      LayoutTests:
      
      Unskip passed tests.
      
      Patch by Chang Shu <cshu@webkit.org> on 2011-09-23
      Reviewed by Darin Adler.
      
      * platform/qt-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5aed241
    • barraclough@apple.com's avatar
      Source/JavaScriptCore: Strict mode does not work in non-trivial nested functions. · 1440c07a
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68740
      
      Reviewed by Oliver Hunt.
      
      Function-info caching does not preserve all state that it should.
      
      * parser/JSParser.cpp:
      (JSC::JSParser::Scope::saveFunctionInfo):
      (JSC::JSParser::Scope::restoreFunctionInfo):
      (JSC::JSParser::parseFunctionInfo):
      * parser/SourceProviderCacheItem.h:
      
      LayoutTests: gh@apple.com>
      
      Strict mode does not work in non-trivial nested functions.
      https://bugs.webkit.org/show_bug.cgi?id=68740
      
      Reviewed by Oliver Hunt.
      
      Function-info caching does not preserve all state that it should.
      
      * fast/js/nested-functions-expected.txt: Added.
      * fast/js/nested-functions.html: Added.
      * fast/js/script-tests/nested-functions.js: Added.
      (runTests.test1):
      (runTests.test2):
      (runTests.test3):
      (runTests):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1440c07a
    • mitz@apple.com's avatar
      <rdar://problem/10178576> REGRESSION (r95391): Crash in -[WebCascadeList... · 0190f2cc
      mitz@apple.com authored
      <rdar://problem/10178576> REGRESSION (r95391): Crash in -[WebCascadeList objectAtIndex:] when a font-family list contains missing fonts
      https://bugs.webkit.org/show_bug.cgi?id=68737
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      Test: fast/text/combining-character-sequence-fallback-crash.html
      
      * platform/graphics/mac/ComplexTextControllerCoreText.mm:
      (-[WebCascadeList initWithFont:WebCore::character:]): Changed to intialize _count to the exact
      number of FontData instances in the fallback list rather than the number of font families in the
      font description.
      
      LayoutTests: 
      
      * fast/text/combining-character-sequence-fallback-crash-expected.txt: Added.
      * fast/text/combining-character-sequence-fallback-crash.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0190f2cc
    • commit-queue@webkit.org's avatar
      [Chromium] Fix CSS 3D corner anti-aliasing. · 8aaef514
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68087
      
      Patch by David Reveman <reveman@chromium.org> on 2011-09-23
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Render sharp corners more correctly by adding bounding box
      edges to anti-aliasing shaders.
      
      Test: platform/chromium/compositing/3d-corners.html
      
      * platform/graphics/chromium/ShaderChromium.cpp:
      (WebCore::FragmentShaderRGBATexAlphaAA::getShaderString):
      (WebCore::FragmentShaderRGBATexClampAlphaAA::getShaderString):
      (WebCore::FragmentShaderRGBATexClampSwizzleAlphaAA::getShaderString):
      (WebCore::FragmentShaderRGBATexAlphaMaskAA::getShaderString):
      * platform/graphics/chromium/cc/CCRenderSurface.cpp:
      (WebCore::CCRenderSurface::drawLayer):
      (WebCore::CCRenderSurface::drawSurface):
      * platform/graphics/chromium/cc/CCRenderSurface.h:
      * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
      (WebCore::CCTiledLayerImpl::draw):
      (WebCore::CCTiledLayerImpl::drawTiles):
      * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
      
      LayoutTests:
      
      Add a test to check sharp corner rendering of CSS 3D transformed
      elements.
      
      * platform/chromium-gpu-linux/compositing/flat-with-transformed-child-expected.checksum: Removed.
      * platform/chromium-gpu-linux/compositing/flat-with-transformed-child-expected.png: Added.
      * platform/chromium-gpu-linux/platform/chromium/compositing/3d-corners-expected.png: Added.
      * platform/chromium-gpu-linux/platform/chromium/compositing/backface-visibility-transformed-expected.png:
      * platform/chromium-gpu-linux/platform/chromium/compositing/perpendicular-layer-sorting-expected.png:
      * platform/chromium/compositing/3d-corners-expected.txt: Added.
      * platform/chromium/compositing/3d-corners.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aaef514
    • mihaip@chromium.org's avatar
      Add failing expectations for tests added by r95852. · b41f7079
      mihaip@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b41f7079
    • barraclough@apple.com's avatar
      Updating now-passing Layout test. · 12ab4878
      barraclough@apple.com authored
      Rubber stamped by geoff garen
      
      * fast/js/Object-getOwnPropertyNames-expected.txt:
      * fast/js/script-tests/Object-getOwnPropertyNames.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      12ab4878
    • inferno@chromium.org's avatar
      Unreviewed. Chromium rebaselines for r95857. · 66af5675
      inferno@chromium.org authored
      * platform/chromium-linux/fast/ruby/ruby-text-before-after-content-expected.png: Added.
      * platform/chromium-win/fast/ruby/ruby-text-before-after-content-expected.png: Added.
      * platform/chromium-win/fast/ruby/ruby-text-before-after-content-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66af5675
    • ojan@chromium.org's avatar
      remove physical flex-flow values to match the updated spec · 68237c01
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68728
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EFlexFlow):
      * css/CSSValueKeywords.in:
      * rendering/style/RenderStyleConstants.h:
      
      LayoutTests:
      
      * css3/flexbox/css-properties-expected.txt:
      * css3/flexbox/script-tests/css-properties.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68237c01
    • inferno@chromium.org's avatar
      Source/WebCore: Style not updated for :before, :after content · b16d1a4c
      inferno@chromium.org authored
      in ruby text.
      https://bugs.webkit.org/show_bug.cgi?id=68625
      
      Reviewed by Dave Hyatt.
      
      Test: fast/ruby/ruby-text-before-after-content.html
      
      * rendering/RenderRubyText.cpp:
      (WebCore::RenderRubyText::updateBeforeAfterContent):
      * rendering/RenderRubyText.h:
      
      LayoutTests: Style not updated for :before, :after content
      in ruby text.
      https://bugs.webkit.org/show_bug.cgi?id=68625
              
      Reviewed by Dave Hyatt.
      
      * fast/ruby/ruby-text-before-after-content-expected.png: Added.
      * fast/ruby/ruby-text-before-after-content-expected.txt: Added.
      * fast/ruby/ruby-text-before-after-content.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b16d1a4c
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=68719 · 1fb7d582
      hyatt@apple.com authored
              
      Push through multiple regions when an object doesn't fit in any of them. Unlike with pages and
      columns, when regions have a non-uniform height, we may need to push through multiple regions
      in order to find one that fits.
              
      Added an optimization for quickly noticing if regions do have a uniform height so that we can
      treat them like columns and pages if so.
      
      Also fixed the end line matchup to properly null out endLine when no next line box exists. The new
      layout tests I wrote to cover this feature exposed this crasher, so fixing it in order to land
      the new tests.
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Added new tests in fast/regions.
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::adjustForUnsplittableChild):
      (WebCore::RenderBlock::pushToNextPageWithMinimumLogicalHeight):
      (WebCore::RenderBlock::adjustLinePositionForPagination):
      * rendering/RenderBlock.h:
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::matchedEndLine):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::RenderFlowThread):
      (WebCore::RenderFlowThread::layout):
      * rendering/RenderFlowThread.h:
      
      LayoutTests: 
      
      * fast/regions/webkit-flow-float-pushed-to-last-region.html: Added.
      * fast/regions/webkit-flow-float-unable-to-push.html: Added.
      * platform/mac/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png: Added.
      * platform/mac/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt: Added.
      * platform/mac/fast/regions/webkit-flow-float-unable-to-push-expected.png: Added.
      * platform/mac/fast/regions/webkit-flow-float-unable-to-push-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fb7d582
    • jchaffraix@webkit.org's avatar
      Redrawing dirty parts of a large table is very slow · 38e74af0
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=64546
      
      Patch by Konstantin Scheglov <scheglov@google.com> on 2011-09-23
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Move CollapsedBorderValues into RenderTable.h.
      Calculate collapsed borders only once and re-use during paintObject().
      Invalidate cache when cell, row, row group, col, col group or table border is changed.
      
      Tests: fast/table/border-collapsing/cached-cell-append.html
             fast/table/border-collapsing/cached-cell-remove.html
             fast/table/border-collapsing/cached-change-cell-border-color.html
             fast/table/border-collapsing/cached-change-cell-border-width.html
             fast/table/border-collapsing/cached-change-col-border-color.html
             fast/table/border-collapsing/cached-change-col-border-width.html
             fast/table/border-collapsing/cached-change-colgroup-border-color.html
             fast/table/border-collapsing/cached-change-colgroup-border-width.html
             fast/table/border-collapsing/cached-change-row-border-color.html
             fast/table/border-collapsing/cached-change-row-border-width.html
             fast/table/border-collapsing/cached-change-table-border-color.html
             fast/table/border-collapsing/cached-change-table-border-width.html
             fast/table/border-collapsing/cached-change-tbody-border-color.html
             fast/table/border-collapsing/cached-change-tbody-border-width.html
      
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::RenderTable):
      (WebCore::RenderTable::styleDidChange): Invalidate cache on border change.
      (WebCore::RenderTable::layout): Invalidate cache if layout changed.
      (WebCore::RenderTable::recalcCollapsedBorders): Ensures that cache is valid.
      (WebCore::RenderTable::paintObject): Use cached collapsed borders.
      * rendering/RenderTable.h:
      (WebCore::RenderTable::invalidateCollapsedBorders): Accessor to mark cache invalid.
      (WebCore::RenderTable::currentBorderValue): Rename to use word "value".
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::styleDidChange): If border changed, invalidate cache.
      
      Rename to use word "value".
      (WebCore::addBorderStyle):
      (WebCore::RenderTableCell::collectBorderValues):
      (WebCore::compareBorderValuesForQSort):
      (WebCore::RenderTableCell::sortBorderValues):
      (WebCore::RenderTableCell::paintCollapsedBorder):
      * rendering/RenderTableCell.h:
      
      If border changed, invalidate cache.
      * rendering/RenderTableCol.cpp:
      (WebCore::RenderTableCol::styleDidChange):
      * rendering/RenderTableCol.h:
      * rendering/RenderTableRow.cpp:
      (WebCore::RenderTableRow::styleDidChange):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::styleDidChange):
      
      LayoutTests:
      
      Tests for invalidating collapsed borders cache.
      
      * fast/table/border-collapsing/cached-cell-append-expected.png: Added.
      * fast/table/border-collapsing/cached-cell-append-expected.txt: Added.
      * fast/table/border-collapsing/cached-cell-append.html: Added.
      * fast/table/border-collapsing/cached-cell-remove-expected.png: Added.
      * fast/table/border-collapsing/cached-cell-remove-expected.txt: Added.
      * fast/table/border-collapsing/cached-cell-remove.html: Added.
      * fast/table/border-collapsing/cached-change-cell-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-cell-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-cell-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-cell-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-cell-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-cell-border-width.html: Added.
      * fast/table/border-collapsing/cached-change-col-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-col-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-col-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-col-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-col-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-col-border-width.html: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-colgroup-border-width.html: Added.
      * fast/table/border-collapsing/cached-change-row-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-row-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-row-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-row-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-row-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-row-border-width.html: Added.
      * fast/table/border-collapsing/cached-change-table-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-table-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-table-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-table-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-table-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-table-border-width.html: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-color-expected.png: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-color-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-color.html: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-width-expected.png: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-width-expected.txt: Added.
      * fast/table/border-collapsing/cached-change-tbody-border-width.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38e74af0
    • jochen@chromium.org's avatar
      Clarify wording in cross origin XSL tests and enable on all platforms · 63184e94
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68683
      
      The condition for passing the test should be more clear now. Also, since the redirect case works on all platforms, the regular case should also work on all platforms.
      
      Reviewed by Alexey Proskuryakov.
      
      * http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * http/tests/security/cross-origin-xsl-BLOCKED.html:
      * http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * http/tests/security/cross-origin-xsl-redirect-BLOCKED.html:
      * platform/chromium-cg-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/chromium-cg-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/chromium-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/chromium-win/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/gtk/Skipped:
      * platform/gtk/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/gtk/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/mac-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/mac-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/qt-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/qt-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/win-wk2/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/win-wk2/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63184e94
    • mihaip@chromium.org's avatar
      Mark two more tests as flaky. · 995b46f5
      mihaip@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      995b46f5
    • mihaip@chromium.org's avatar
      Mark a test as flaky. · 8445cc8f
      mihaip@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8445cc8f
    • loislo@chromium.org's avatar
      Unreviewed. Normalize test names. · 0ebfa91e
      loislo@chromium.org authored
      * inspector/performance/resources/first-open-elements.html:
      * inspector/performance/resources/first-open-resources.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ebfa91e
    • yael.aharon@nokia.com's avatar
      Fix typo in file name from http://trac.webkit.org/changeset/95813. · 101104f8
      yael.aharon@nokia.com authored
      Unreviewed.
      
      * platform/gtk/media/video-playing-and-pause-actual.txt: Removed.
      * platform/gtk/media/video-playing-and-pause-expected.txt: Copied from LayoutTests/platform/gtk/media/video-playing-and-pause-actual.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      101104f8
    • yael.aharon@nokia.com's avatar
      Rebaseline after http://trac.webkit.org/changeset/95799 · f4b90881
      yael.aharon@nokia.com authored
      Unreviewed.
      
      * platform/mac-wk2/media/video-playing-and-pause-expected.txt: Added.
      * platform/mac/media/video-playing-and-pause-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4b90881
    • yael.aharon@nokia.com's avatar
      Rebaseline after http://trac.webkit.org/changeset/95799 · 2e764ec6
      yael.aharon@nokia.com authored
      Unreviewed.
      
      * platform/gtk/media/video-playing-and-pause-actual.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e764ec6
    • xan@webkit.org's avatar
      2011-09-23 Xan Lopez <xlopez@igalia.com> · 2c4a6cc3
      xan@webkit.org authored
              [GTK] Skip crashing test fast/workers/storage/interrupt-database.html
              https://bugs.webkit.org/show_bug.cgi?id=68700
      
              Unreviewed.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c4a6cc3
    • vsevik@chromium.org's avatar
      Web Inspector: InspectorStyleSheet should use stylesheet's original url, not final one. · d73fec12
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68631
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      Test: http/tests/inspector/styles/styles-redirected-css.html
      
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyleSheet::resourceStyleSheetText):
      
      LayoutTests:
      
      * http/tests/inspector/elements-test.js:
      (initialize_ElementTest.InspectorTest.getElementStylePropertyTreeItem):
      (initialize_ElementTest.InspectorTest.getMatchedStylePropertyTreeItem):
      (initialize_ElementTest.InspectorTest.getFirstPropertyTreeItemForSection):
      * http/tests/inspector/styles/resources/styles-redirected-css.css: Added.
      (div):
      * http/tests/inspector/styles/resources/styles-redirected-css.php: Added.
      * http/tests/inspector/styles/styles-redirected-css-expected.txt: Added.
      * http/tests/inspector/styles/styles-redirected-css.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d73fec12
    • vsevik@chromium.org's avatar
      Web Inspector: XHRs requests with the same url as main resource should have correct category. · f915e783
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68646
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      Test: http/tests/inspector/network/network-xhr-same-url-as-main-resource.html
      
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::didReceiveResponse):
      
      LayoutTests:
      
      * http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt: Added.
      * http/tests/inspector/network/network-xhr-same-url-as-main-resource.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f915e783
    • bulach@chromium.org's avatar
      [chromium] Update expectation for pservers-grad-14-b.svg on snowleopard · 77de4ff4
      bulach@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68697
      
      Unreviewed rebaseline.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77de4ff4
    • yael.aharon@nokia.com's avatar
      [Qt][Gtk] Wrong state when pausing a video in the "playing" event handler · 01f5bb70
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68589
      
      Reviewed by Philippe Normand.
      
      Source/WebCore:
      
      Test: media/video-playing-and-pause.html
      
      As suggested by Alexis Menard on IRC, query gstreamer's state instead of using a cached value
      in MediaPlayerGstreamerPrivate::paused().
      
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      (WebCore::MediaPlayerPrivateGStreamer::paused):
      
      LayoutTests:
      
      * media/video-playing-and-pause.html: Added.
      * media/video-paint-test.js:
      * platform/qt/media/video-playing-and-pause-expected.txt: Added.
      * platform/qt/media/video-playing-and-pause-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01f5bb70
    • bulach@chromium.org's avatar
      [chromium, gtk, qt] Rebaseline following r95726 · 08f266fa
      bulach@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68694
      
      Unreviewed rebaseline.
      
      * css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt.
      * css2.1/20110323/abspos-replaced-width-margin-000-expected.txt: Renamed from LayoutTests/platform/gtk/css2.1/20110323/abspos-replaced-width-margin-000-expected.txt.
      * platform/chromium/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.png: Added.
      * platform/chromium/css2.1/20110323/abspos-replaced-width-margin-000-expected.png: Added.
      * platform/qt/css2.1/20110323/abspos-non-replaced-width-margin-000-expected.txt: Removed.
      * platform/qt/css2.1/20110323/abspos-replaced-width-margin-000-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08f266fa
    • podivilov@chromium.org's avatar
      Web Inspector: skip overlapping scripts when displaying concatenated content. · d40176bb
      podivilov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68144
      
      Source/WebCore:
      
      Dynamically appended script tags have wrong offsets and cause troubles building concatenated content.
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/SourceFile.js:
      (WebInspector.ConcatenatedScriptsContentProvider.prototype._concatenateScriptsContent.appendChunk):
      (WebInspector.ConcatenatedScriptsContentProvider.prototype._concatenateScriptsContent):
      
      LayoutTests:
      
      Reviewed by Pavel Feldman.
      
      * inspector/debugger/content-providers-expected.txt:
      * inspector/debugger/content-providers.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d40176bb
    • xan@webkit.org's avatar
      2011-09-23 Xan Lopez <xlopez@igalia.com> · 10f08ccb
      xan@webkit.org authored
              [GTK] Rebaseline following r95745, r95725
      
              Unreviewed rebaseline.
      
              * platform/gtk/editing/deleting/merge-whitespace-pre-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10f08ccb
    • bulach@chromium.org's avatar
      [chromium] Rebaseline following r95745, r95725 · 34cd4397
      bulach@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68685
      
      Unreviewed rebaseline.
      
      * platform/chromium-cg-mac-leopard/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/chromium-linux/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/chromium-mac/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/chromium-win/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/chromium-win/editing/deleting/merge-whitespace-pre-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34cd4397
    • loislo@chromium.org's avatar
      Web Inspector: UI performance test for Scripts panel first open experience. · 11cc019a
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68541
      
      The test's body has dummy scripts section copied from inspector-test.jss
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/performance/resources/first-open-scripts.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11cc019a
    • commit-queue@webkit.org's avatar
      use after free in WebCore::SVGTRefElement::updateReferencedText · 33937746
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67555
      
      Patch by Rob Buis <rbuis@rim.com> on 2011-09-23
      Reviewed by Nikolas Zimmermann.
      
      Source/WebCore:
      
      Event listeners can outlive the tref element that created them when
      the tref is cloned and then garbage collected, causing a dangling pointer to the
      tref. To fix this do not install event listener until the tref is inserted into the document.
      
      Test: svg/custom/tref-clone-crash.html
      
      * svg/SVGTRefElement.cpp:
      (WebCore::SVGTRefElement::svgAttributeChanged):
      (WebCore::SVGTRefElement::insertedIntoDocument):
      * svg/SVGTRefElement.h:
      
      LayoutTests:
      
      Test that cloned tref does not cause a crash.
      
      * svg/custom/tref-clone-crash-expected.txt: Added.
      * svg/custom/tref-clone-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33937746
    • xan@webkit.org's avatar
      2011-09-23 Xan Lopez <xlopez@igalia.com> · 64fc2214
      xan@webkit.org authored
              Crash on editing/pasteboard/drag-drop-input-in-svg.svg
              https://bugs.webkit.org/show_bug.cgi?id=68686
      
              Unreviewed, skip crashing test.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64fc2214
    • kbalazs@webkit.org's avatar
      plugins/mouse-click-iframe-to-plugin.html should not use flash plugin · 51a809c9
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68601
      
      Use the test plugin that we always have.
      
      * platform/qt-wk2/Skipped: Unskip the test.
      * plugins/mouse-click-iframe-to-plugin.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51a809c9
    • barraclough@apple.com's avatar
      Source/JavaScriptCore: GetScopedVar should have value profiling · a6805302
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=68676
      
      Patch by Filip Pizlo <fpizlo@apple.com> on 2011-09-22
      Reviewed by Oliver Hunt.
              
      Added GetScopedVar value profiling and predictin propagation.
      Added GetScopeChain to CSE.
      
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::predict):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::hasPrediction):
      * dfg/DFGPropagator.cpp:
      (JSC::DFG::Propagator::propagateNodePredictions):
      (JSC::DFG::Propagator::getScopeChainLoadElimination):
      (JSC::DFG::Propagator::performNodeCSE):
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::emit_op_get_scoped_var):
      
      LayoutTests: [Qt] Unreviewed gardening, update expected file after r95745.
      
      Patch by Csaba Osztrogonác <ossy@webkit.org> on 2011-09-22
      
      * platform/qt/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6805302
  2. 22 Sep, 2011 3 commits
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening, update expected file after r95745. · c2778362
      ossy@webkit.org authored
      * platform/qt/editing/deleting/merge-whitespace-pre-expected.png:
      * platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2778362
    • ossy@webkit.org's avatar
      Unreviewed fix after r95764, update expected fail to expected pass. · f92e5231
      ossy@webkit.org authored
      * ietestcenter/Javascript/15.3.4.5-0-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f92e5231
    • tony@chromium.org's avatar
      implement -webkit-flex-order · a61f407d
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67432
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      flex-order can be an int (including negative), but we disallow the two
      smallest values so we can put the numbers into a hash set.
      
      Also, create two iterators: one that goes in render tree order (we use
      this for the first pass and to collect the possible flex order values)
      and one that goes in flex order.
      
      Test: css3/flexbox/flex-order.html
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::FlexOrderHashTraits::emptyValue):
      (WebCore::FlexOrderHashTraits::constructDeletedValue):
      (WebCore::FlexOrderHashTraits::isDeletedValue):
      (WebCore::RenderFlexibleBox::TreeOrderIterator::TreeOrderIterator): A simple iterator
          that goes in render tree order.
      (WebCore::RenderFlexibleBox::TreeOrderIterator::next):
      (WebCore::RenderFlexibleBox::TreeOrderIterator::reset):
      (WebCore::RenderFlexibleBox::TreeOrderIterator::flexOrderValues):
      (WebCore::RenderFlexibleBox::FlexOrderIterator::FlexOrderIterator): An iterator that
          goes in flex-order order.  Creating this involves sorting, so only create it once
          and pass it around.
      (WebCore::RenderFlexibleBox::FlexOrderIterator::first):
      (WebCore::RenderFlexibleBox::FlexOrderIterator::next):
      (WebCore::RenderFlexibleBox::FlexOrderIterator::reset):
      (WebCore::RenderFlexibleBox::layoutHorizontalBlock):
      (WebCore::RenderFlexibleBox::computePreferredLogicalWidth):
      (WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithmInlineDirection):
      (WebCore::RenderFlexibleBox::layoutAndPlaceChildrenInlineDirection):
      * rendering/RenderFlexibleBox.h:
      
      LayoutTests:
      
      * css3/flexbox/flex-order-expected.png: Added.
      * css3/flexbox/flex-order-expected.txt: Added.
      * css3/flexbox/flex-order.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a61f407d