1. 10 Jul, 2010 4 commits
  2. 09 Jul, 2010 36 commits
    • tony@chromium.org's avatar
      2010-07-09 Tony Chang <tony@chromium.org> · 7c6786c3
      tony@chromium.org authored
              Reviewed by Ojan Vafai.
      
              crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
              https://bugs.webkit.org/show_bug.cgi?id=38231
      
              * editing/execCommand/indent-pre-expected.txt: Added.
              * editing/execCommand/indent-pre.html: Added.
      2010-07-09  Tony Chang  <tony@chromium.org>
      
              Reviewed by Ojan Vafai.
      
              crash in WebCore::CompositeEditCommand::splitTreeToNode when indenting pre
              https://bugs.webkit.org/show_bug.cgi?id=38231
      
              Test: editing/execCommand/indent-pre.html
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::countParagraphs):
              (WebCore::IndentOutdentCommand::indentRegion): Split text nodes into one node per paragraph
                                                             so moveParagraph doesn't get confused.
              (WebCore::IndentOutdentCommand::splitTextNodes):
              * editing/IndentOutdentCommand.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c6786c3
    • arv@chromium.org's avatar
      2010-07-09 Erik Arvidsson <arv@chromium.org> · 26b6d1b9
      arv@chromium.org authored
              Reviewed by Darin Adler.
      
              Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
              https://bugs.webkit.org/show_bug.cgi?id=41496
      
              * fast/css/margin-start-end-expected.txt:
              * fast/css/padding-start-end-expected.txt:
              * fast/css/script-tests/margin-start-end.js: Added tests for computed style.
              * fast/css/script-tests/padding-start-end.js: Added tests for computed style.
      2010-07-09  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Darin Adler.
      
              Computed style is not implemented for padding-start, padding-end, margin-start, margin-end
              https://bugs.webkit.org/show_bug.cgi?id=41496
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSProperty.cpp:
              (WebCore::CSSProperty::resolveDirectionAwareProperty): This function resolves the property ID for a direction aware property.
              * css/CSSProperty.h:
              * css/CSSStyleSelector.cpp: Use helper function.
              (WebCore::CSSStyleSelector::applyProperty):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26b6d1b9
    • abarth@webkit.org's avatar
      2010-07-09 Adam Barth <abarth@webkit.org> · 8aec81f3
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              HTML5 tree builder should pass some LayoutTests
              https://bugs.webkit.org/show_bug.cgi?id=41991
      
              Before this patch, we weren't attaching text nodes to the render tree,
              which turns out to be important.  :)
      
              This patch fixes more than 10,000 LayoutTests.
      
              * html/HTMLConstructionSite.cpp:
              (WebCore::HTMLConstructionSite::attach):
              (WebCore::HTMLConstructionSite::attachAtSite):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aec81f3
    • commit-queue@webkit.org's avatar
      2010-07-09 Patrick Gansterer <paroga@paroga.com> · ae021f37
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              [WINCE] Buildfix for TextEncodingRegistry
              https://bugs.webkit.org/show_bug.cgi?id=41992
      
              Renamed TextCodecWince to TextCodecWinCE.
      
              * platform/text/TextEncodingRegistry.cpp:
              (WebCore::buildBaseTextCodecMaps):
              (WebCore::extendTextCodecMaps):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae021f37
    • commit-queue@webkit.org's avatar
      2010-07-09 Leon Clarke <leonclarke@google.com> · a67f42c4
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
              * fast/dom/HTMLLinkElement/prefetch.html: Added.
              * fast/dom/HTMLLinkElement/prefetch.link: Added.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              Test: fast/dom/HTMLLinkElement/prefetch.html
      
              * Configurations/FeatureDefines.xcconfig:
              * html/HTMLLinkElement.cpp:
              (WebCore::HTMLLinkElement::tokenizeRelAttribute):
              (WebCore::HTMLLinkElement::process):
              * html/HTMLLinkElement.h:
              (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
              * loader/Cache.cpp:
              (WebCore::createResource):
              * loader/CachedResource.cpp:
              (WebCore::CachedResource::data):
              (WebCore::CachedResource::didAddClient):
              * loader/CachedResource.h:
              (WebCore::CachedResource::):
              (WebCore::CachedResource::error):
              (WebCore::CachedResource::isPrefetch):
              (WebCore::CachedResource::schedule):
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/DocLoader.cpp:
              (WebCore::DocLoader::requestLinkPrefetch):
              (WebCore::DocLoader::canRequest):
              (WebCore::DocLoader::incrementRequestCount):
              (WebCore::DocLoader::decrementRequestCount):
              * loader/DocLoader.h:
              * loader/loader.cpp:
              (WebCore::cachedResourceTypeToTargetType):
              (WebCore::Loader::determinePriority):
              (WebCore::Loader::load):
              (WebCore::Loader::Host::servePendingRequests):
              (WebCore::Loader::Host::didFinishLoading):
              (WebCore::Loader::Host::didFail):
              (WebCore::Loader::Host::didReceiveResponse):
              (WebCore::Loader::Host::cancelPendingRequests):
              * loader/loader.h:
              (WebCore::Loader::):
              * platform/network/ResourceRequestBase.h:
              (WebCore::ResourceRequestBase::):
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * public/WebURLRequest.h:
              (WebKit::WebURLRequest::):
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Configurations/FeatureDefines.xcconfig:
      2010-07-09  Leon Clarke  <leonclarke@google.com>
      
              Reviewed by Adam Barth.
      
              add support for link prefetching
              https://bugs.webkit.org/show_bug.cgi?id=3652
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a67f42c4
    • jamesr@google.com's avatar
      2010-07-09 James Robinson <jamesr@chromium.org> · d911c43e
      jamesr@google.com authored
              Unreviewed build fix.  Add #include to pick up ExceptionCode values for config (like Qt) where it's not picked up indirectly.
      
              * html/HTMLCanvasElement.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d911c43e
    • jamesr@google.com's avatar
      2010-07-09 James Robinson <jamesr@chromium.org> · f0fc0049
      jamesr@google.com authored
              Reviewed by Darin Adler.
      
              Removes CanvasSurface and moves all of its functionality to HTMLCanvasElement.
              https://bugs.webkit.org/show_bug.cgi?id=42005
      
              http://trac.webkit.org/changeset/55201 introduced a new base class for HTMLCanvasElement called CanvasSurface.
              The intention was that this would allow for code sharing with the then-proposed OffscreenCanvas.  However,
              there is no OffscreenCanvas and there's unlikely to be one soon.  Additionally CanvasSurface breaks
              encapsulation pretty badly by doing "static_cast<HTMLCanvasElement* const>(this)".  Until an abstraction is
              really needed we should just use HTMLCanvasElement when we want to talk about a canvas.
      
              This patch moves all of CanvasSurface's functionality back up to HTMLCanvasElement and reorders the header
              to be a bit more logical.
      
              Refactor with no behavior change, thus no new tests.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/CanvasSurface.cpp: Removed.
              * dom/CanvasSurface.h: Removed.
              * html/HTMLCanvasElement.cpp:
              (WebCore::HTMLCanvasElement::HTMLCanvasElement):
              (WebCore::HTMLCanvasElement::willDraw):
              (WebCore::HTMLCanvasElement::setSurfaceSize):
              (WebCore::HTMLCanvasElement::toDataURL):
              (WebCore::HTMLCanvasElement::convertLogicalToDevice):
              (WebCore::HTMLCanvasElement::securityOrigin):
              (WebCore::HTMLCanvasElement::styleSelector):
              (WebCore::HTMLCanvasElement::createImageBuffer):
              (WebCore::HTMLCanvasElement::drawingContext):
              (WebCore::HTMLCanvasElement::buffer):
              (WebCore::HTMLCanvasElement::baseTransform):
              * html/HTMLCanvasElement.h:
              (WebCore::HTMLCanvasElement::setObserver):
              (WebCore::HTMLCanvasElement::width):
              (WebCore::HTMLCanvasElement::height):
              (WebCore::HTMLCanvasElement::size):
              (WebCore::HTMLCanvasElement::toDataURL):
              (WebCore::HTMLCanvasElement::setOriginTainted):
              (WebCore::HTMLCanvasElement::originClean):
              (WebCore::HTMLCanvasElement::hasCreatedImageBuffer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0fc0049
    • simon.fraser@apple.com's avatar
      2010-07-09 Simon Fraser <simon.fraser@apple.com> · a51c1c84
      simon.fraser@apple.com authored
              Reviewed by Darin Adler.
      
              Calling layoutTestController.layerTreeAsText() should update layout
              https://bugs.webkit.org/show_bug.cgi?id=41818
      
              Need to call updateLayout() before we check for any layers, not after,
              since layout will update compositing, and may create layers.
      
              * page/Frame.cpp:
              (WebCore::Frame::layerTreeAsText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a51c1c84
    • kbr@google.com's avatar
      2010-07-09 Kenneth Russell <kbr@google.com> · b35cbfdf
      kbr@google.com authored
              Reviewed by Nate Chapin.
      
              bufferSubData causes crash in WebGLBuffer::associateBufferSubData
              https://bugs.webkit.org/show_bug.cgi?id=42004
      
              Test: fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html
      
              * html/canvas/WebGLBuffer.cpp:
              (WebCore::WebGLBuffer::associateBufferData):
               - Allocate m_elementArrayBuffer for entry point taking only size.
                 Guard against allocation failures of m_elementArrayBuffer.
              (WebCore::WebGLBuffer::associateBufferSubData):
               - Guard against any possibility of crashes due to m_elementArrayBuffer being NULL.
      2010-07-09  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Nate Chapin.
      
              bufferSubData causes crash in WebGLBuffer::associateBufferSubData
              https://bugs.webkit.org/show_bug.cgi?id=42004
      
              * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data-expected.txt: Added.
              * fast/canvas/webgl/index-validation-crash-with-buffer-sub-data.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b35cbfdf
    • dumi@chromium.org's avatar
      Unreviewed, but pre-approved by Eric Seidel. · 1081015b
      dumi@chromium.org authored
      Remove unnecessary includes in header files in WebCore/css.
      https://bugs.webkit.org/show_bug.cgi?id=41941
      
      * css/CSSComputedStyleDeclaration.h:
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontFaceSource.h:
      * css/CSSPrimitiveValueMappings.h:
      * css/StyleMedia.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1081015b
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · 7e7d85fb
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Get rid of manual case maps in HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=42000
      
              No functional change, thus no tests.
      
              * html/HTMLTreeBuilder.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e7d85fb
    • tonyg@chromium.org's avatar
      2010-07-09 Tony Gentilcore <tonyg@chromium.org> · 090a6158
      tonyg@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Implement performance.timing.navigationStart
              https://bugs.webkit.org/show_bug.cgi?id=41815
      
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-expected.txt:
      2010-07-09  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Implement performance.timing.navigationStart
              https://bugs.webkit.org/show_bug.cgi?id=41815
      
              See: http://dev.w3.org/2006/webapi/WebTiming/#nt-navigation-start
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::loadWithDocumentLoader):
              * loader/FrameLoaderTypes.h:
              (WebCore::FrameLoadTimeline::FrameLoadTimeline):
              * page/Timing.cpp:
              (WebCore::Timing::navigationStart):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      090a6158
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · b583beb3
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Fix SVG tag name casing for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41998
      
              * html5lib/runner-expected-html5.txt:
      2010-07-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
              https://bugs.webkit.org/show_bug.cgi?id=41954
      
              Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
              implementation of GraphicsLayerQt::syncCompositingState and which targets
              the current layer only.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
              * platform/graphics/qt/GraphicsLayerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b583beb3
    • commit-queue@webkit.org's avatar
      2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · ce60a933
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
              https://bugs.webkit.org/show_bug.cgi?id=41954
      
              Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
              implementation of GraphicsLayerQt::syncCompositingState and which targets
              the current layer only.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
              * platform/graphics/qt/GraphicsLayerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce60a933
    • commit-queue@webkit.org's avatar
      2010-07-09 David Kozub <zub@linux.fjfi.cvut.cz> · 8108e085
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Fix build by adding missing html/TimeRanges.idl to CMakeLists.txt.
      
              https://bugs.webkit.org/show_bug.cgi?id=41945
      
              No functional changes, thus no tests.
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8108e085
    • eric@webkit.org's avatar
      2010-07-09 Eric Seidel <eric@webkit.org> · 3791196d
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Implement SVG attribute case mapping for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41949
      
              Update results now that we pass 3 more tests.
      
              * html5lib/runner-expected-html5.txt:
      2010-07-09  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Implement SVG attribute case mapping for HTMLTreeBuilder
              https://bugs.webkit.org/show_bug.cgi?id=41949
      
              Tested by html5lib/runner.html.
      
              * html/HTMLTreeBuilder.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3791196d
    • aestes@apple.com's avatar
      2010-07-09 Andy Estes <aestes@apple.com> · 2f9a8b55
      aestes@apple.com authored
              Reviewed by Adele Peterson.
      
              Remove the workaround for a Core Animation bug on platforms where the
              bug has been fixed.
              https://bugs.webkit.org/show_bug.cgi?id=41927
              <rdar://problem/7920153>
      
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): Add
              a compile-time check for platforms that have a Core Animation bug that
              needs working around.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f9a8b55
    • tonyg@chromium.org's avatar
      2010-07-08 Tony Gentilcore <tonyg@chromium.org> · e86499a2
      tonyg@chromium.org authored
              Reviewed by Nate Chapin.
      
              Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing
              https://bugs.webkit.org/show_bug.cgi?id=41332
      
              Expectations are set to FAIL because disabled by default. Passes with --web-timing.
      
              * fast/dom/script-tests/webtiming.js: Added.
              (sleepFiftyMilliseconds):
              (shouldBeGreaterThanOrEqual):
              (checkTimingBeforeLoad):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-expected.txt: Added.
              * fast/dom/webtiming.html: Added.
      2010-07-08  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Nate Chapin.
      
              Implement unloadEventEnd, loadEventStart, and loadEventEnd for Web Timing
              https://bugs.webkit.org/show_bug.cgi?id=41332
      
              Test: fast/dom/webtiming.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::loadWithDocumentLoader):
              * loader/FrameLoader.h:
              (WebCore::FrameLoader::frameLoadTimeline):
              * loader/FrameLoaderTypes.h:
              (WebCore::FrameLoadTimeline::FrameLoadTimeline):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::dispatchLoadEvent):
              * page/Timing.cpp:
              (WebCore::Timing::navigationStart):
              (WebCore::Timing::unloadEventEnd):
              (WebCore::Timing::loadEventStart):
              (WebCore::Timing::loadEventEnd):
              * page/Timing.h:
              * page/Timing.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e86499a2
    • dumi@chromium.org's avatar
      Unreviewed, but pre-approved by Eric Seidel. · e19619b1
      dumi@chromium.org authored
      Remove all unnecessary includes from the header files in WebCore/accessibility/.
      https://bugs.webkit.org/show_bug.cgi?id=41941
      
      * accessibility/AXObjectCache.h:
      * accessibility/AccessibilityListBox.cpp:
      * accessibility/AccessibilityListBox.h:
      * accessibility/AccessibilityMenuList.h:
      * accessibility/mac/AccessibilityObjectWrapper.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e19619b1
    • commit-queue@webkit.org's avatar
      2010-07-09 Patrick Gansterer <paroga@paroga.com> · d0256fc0
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              [WINCE] Buildfix for EventHandlerWin
              https://bugs.webkit.org/show_bug.cgi?id=41909
      
              Use Clipboard.h instead of ClipboardWin.h on WinCE.
      
              * page/win/EventHandlerWin.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0256fc0
    • commit-queue@webkit.org's avatar
      2010-07-09 Sheriff Bot <webkit.review.bot@gmail.com> · ef878554
      commit-queue@webkit.org authored
              Unreviewed, rolling out r62946.
              http://trac.webkit.org/changeset/62946
              https://bugs.webkit.org/show_bug.cgi?id=41965
      
              AppCache inspector support should be enabled in WebKit ToT.
              (Requested by pfeldman_ on #webkit).
      
              * inspector/front-end/StoragePanel.js:
              (WebInspector.StoragePanel):
              (WebInspector.StoragePanel.prototype.reset):
              (WebInspector.StoragePanel.prototype.addApplicationCache):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef878554
    • commit-queue@webkit.org's avatar
      2010-07-09 François Sausset <sausset@gmail.com> · d183ef22
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Test for the newly implemented MathML mathcolor & mathbackground attributes
              https://bugs.webkit.org/show_bug.cgi?id=41895
      
              * mathml/presentation/attributes.xhtml: Added.
              * platform/mac/mathml/presentation/attributes-expected.checksum: Added.
              * platform/mac/mathml/presentation/attributes-expected.png: Added.
              * platform/mac/mathml/presentation/attributes-expected.txt: Added.
      2010-07-09  François Sausset  <sausset@gmail.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Implement MathML mathcolor & mathbackground attributes
              https://bugs.webkit.org/show_bug.cgi?id=41895
      
              Test: mathml/presentation/attributes.xhtml
      
              * dom/MappedAttributeEntry.h:
              (WebCore::):
              * mathml/MathMLElement.cpp:
              (WebCore::MathMLElement::MathMLElement):
              (WebCore::MathMLElement::mapToEntry):
              (WebCore::MathMLElement::parseMappedAttribute):
              * mathml/MathMLElement.h:
              * mathml/mathattrs.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d183ef22
    • xji@chromium.org's avatar
      2010-07-09 Xiaomei Ji <xji@chromium.org> · d6be5636
      xji@chromium.org authored
              Reviewed by David Levin.
      
              Fix characters with unicode-bidi-mirror property are not correctly
              mirrored in Linux.
              https://bugs.webkit.org/show_bug.cgi?id=41305
      
              Since harfbuzz does not do mirroring, chromium should iterate each
              character in the string and mirror it if needed before passing the
              string to harfbuzz for shaping.
      
              Test: fast/text/international/bidi-mirror-he-ar.html
      
              * platform/graphics/chromium/FontLinux.cpp:
              (WebCore::TextRunWalker::TextRunWalker):
              (WebCore::TextRunWalker::~TextRunWalker):
              (WebCore::TextRunWalker::mirrorCharacters):
      
      2010-07-09  Xiaomei Ji  <xji@chromium.org>
      
              Reviewed by David Levin.
      
              Fix characters with unicode-bidi-mirror property are not correctly
              mirrored in Linux.
              https://bugs.webkit.org/show_bug.cgi?id=41305
      
              Since harfbuzz does not do mirroring, chromium should iterate each
              character in the string and mirror it if needed before passing the
              string to harfbuzz for shaping.
      
              * fast/text/international/bidi-mirror-he-ar.html: Added.
              * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.checksum:
              * platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.png:
              * platform/mac-snowleopard/platform/mac/fast/text: Added.
              * platform/mac-snowleopard/platform/mac/fast/text/international: Added.
              * platform/mac-snowleopard/platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
              * platform/mac-tiger/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
              * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
              * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
              * platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6be5636
    • andersca@apple.com's avatar
      Instantiate Netscape plug-ins, pass geometry information to Plugin · 037d9b4a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=41960
      
      Reviewed by Simon Fraser.
      
      WebCore:
      
      * WebCore.exp.in:
      Export ScrollView::contentsToWindow.
      
      WebKit2:
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      Handle NPNVsupportsCoreGraphicsBool and NPNVsupportsCocoaBool.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::NetscapePlugin):
      Set npp.ndata.
      
      (WebKit::NetscapePlugin::initialize):
      Try to instantiate the plug-in by calling NPP_New.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      Store the NetscapePluginModule and the NPP struct.
      
      * WebProcess/Plugins/Netscape/NetscapePluginModule.h:
      Add a getter for the NPPluginFuncs vtable.
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::frameRectsChanged):
      Make sure to call viewGeometryDidChange.
      
      (WebKit::PluginView::setParent):
      Ditto.
      
      (WebKit::PluginView::viewGeometryDidChange):
      Convert the frame rect to window coordinates and pass it to the plug-in.
      
      * WebProcess/Plugins/PluginView.h:
      Add function declarations.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      037d9b4a
    • commit-queue@webkit.org's avatar
      2010-07-09 Patrick Gansterer <paroga@paroga.com> · 3fefa9b7
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              [WINCE] Buildfix for FrameWince after r47440
              https://bugs.webkit.org/show_bug.cgi?id=41904
      
              * page/wince/FrameWince.cpp: Added property svn:eol-style.
              (WebCore::computePageRectsForFrame):
              (WebCore::imageFromSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fefa9b7
    • vitalyr@chromium.org's avatar
      2010-07-09 Vitaly Repeshko <vitalyr@chromium.org> · 5375e78a
      vitalyr@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [v8] Call JS gc in a fresh context to avoid retaining the current one.
              https://bugs.webkit.org/show_bug.cgi?id=41963
              http://crbug.com/46571
      
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::collectGarbage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5375e78a
    • kbr@google.com's avatar
      2010-07-09 Kenneth Russell <kbr@google.com> · 0793a879
      kbr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              Crash with uniform array test
              https://bugs.webkit.org/show_bug.cgi?id=36028
      
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              (WebCore::vertexAttribAndUniformHelperf):
              (WebCore::uniformHelperi):
              (WebCore::uniformMatrixHelper):
               - Fixed type tests and casting of incoming arrays.
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getUniform):
               - Fixed crash when null WebGLUniform is passed to getUniform.
      2010-07-09  Kenneth Russell  <kbr@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Crash with uniform array test
              https://bugs.webkit.org/show_bug.cgi?id=36028
      
              * fast/canvas/webgl/gl-uniform-arrays-expected.txt:
               - Updated test expectations.
              * fast/canvas/webgl/gl-uniform-arrays.html:
               - Separated calling wrong uniform*fv entry point from calling with non-array.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0793a879
    • cfleizach@apple.com's avatar
      AX: text editing not spoken by VO on web view contenteditable textbox · 3e980f35
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=41912
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      Test: platform/mac/accessibility/selection-value-changes-for-aria-textbox.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::renderObjectIsObservable):
      
      LayoutTests: 
      
      * platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt: Added.
      * platform/mac/accessibility/selection-value-changes-for-aria-textbox.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e980f35
    • commit-queue@webkit.org's avatar
      2010-07-09 Michael Nordman <michaeln@google.com> · 71efdccd
      commit-queue@webkit.org authored
              Reviewed by Dumitru Daniliuc.
      
              Add a layout test to verify the expected number of progress events are raised by the appcache,
              and that those events have properly set 'lengthComputable', 'loaded', and 'total' attributes.
              Also update a couple of other tests that depend on counting the number of progress events to
              determine success or failure to now expect the additional final progress event that is being
              raised.
              https://bugs.webkit.org/show_bug.cgi?id=37602
      
              * http/tests/appcache/foreign-iframe-main-expected.txt:
              * http/tests/appcache/progress-counter-expected.txt: Added.
              * http/tests/appcache/progress-counter.html: Added.
              * http/tests/appcache/resources/different-https-origin-resource.html:
              * http/tests/appcache/resources/progress-counter.manifest: Added.
      2010-07-09  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Dumitru Daniliuc.
      
              Use class ProgressEvent when raising appcache related progress events and
              set the 'total', 'loaded', and 'lengthComputable' attributes.
              Also raise the final progress event with the 'total' and 'loaded' attribute
              values are equal to one another to keep pace with the spec for this feature.
              https://bugs.webkit.org/show_bug.cgi?id=37602
      
              Test: http/tests/appcache/progress-counter.html
      
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::ApplicationCacheGroup):
              (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
              (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
              (WebCore::ApplicationCacheGroup::startLoadingEntry):
              (WebCore::CallCacheListenerTask::create):
              (WebCore::CallCacheListenerTask::performTask):
              (WebCore::CallCacheListenerTask::CallCacheListenerTask):
              (WebCore::ApplicationCacheGroup::postListenerTask):
              * loader/appcache/ApplicationCacheGroup.h:
              (WebCore::ApplicationCacheGroup::postListenerTask):
              * loader/appcache/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
              (WebCore::ApplicationCacheHost::stopDeferringEvents):
              (WebCore::ApplicationCacheHost::dispatchDOMEvent):
              * loader/appcache/ApplicationCacheHost.h:
              (WebCore::ApplicationCacheHost::DeferredEvent::DeferredEvent):
      2010-07-09  Michael Nordman  <michaeln@google.com>
      
              Reviewed by Dumitru Daniliuc.
      
              Use class ProgressEvent when raising appcache related progress events and
              set the 'total', 'loaded', and 'lengthComputable' attributes.
              Also raise the final progress event with the 'total' and 'loaded' attribute
              values are equal to one another to keep pace with the spec for this feature.
              https://bugs.webkit.org/show_bug.cgi?id=37602
      
              * src/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):
              (WebCore::ApplicationCacheHost::stopDeferringEvents):
              (WebCore::ApplicationCacheHost::dispatchDOMEvent):
              * src/ApplicationCacheHostInternal.h:
              (WebCore::ApplicationCacheHostInternal::notifyEventListener):
              (WebCore::ApplicationCacheHostInternal::notifyProgressEventListener):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71efdccd
    • commit-queue@webkit.org's avatar
      2010-07-09 Sebastian Dröge <sebastian.droege@collabora.co.uk> · 501bb83d
      commit-queue@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              Bug 41340 - [GStreamer] Subtle race condition during seeks
              https://bugs.webkit.org/show_bug.cgi?id=41340
      
              * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
              (webKitWebSrcStop):
              (webKitWebSrcNeedDataMainCb):
              (webKitWebSrcNeedDataCb):
              (webKitWebSrcEnoughDataMainCb):
              (webKitWebSrcEnoughDataCb):
              (webKitWebSrcSeekDataCb):
              (StreamingClient::didFinishLoading):
              Fix two subtle race conditions that can happen during seeks:
              - The timeout callback could be called before the callback ID is
                assigned to the instance private data. This causes the ID to
                be set after the callback has finished and breaks all future
                processing.
              - The source must not go EOS while a seek is pending because
                this confuses appsrc due to the different threads involved here.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      501bb83d
    • hausmann@webkit.org's avatar
      [Qt] Removed hard-coded enabled default of video support · 2e6dd995
      hausmann@webkit.org authored
      Reviewed by Tor Arne Vestbø.
      
      Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.Properly detect video/audio instead of defaulting to true.
      
      * WebCore.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e6dd995
    • hausmann@webkit.org's avatar
      [Qt] Prospective build fix. · e8483f39
      hausmann@webkit.org authored
      Reviewed by Tor Arne Vestbø.
      
      Moved the media element detection from WebCore.pro into WebCore.pri, where
      all the features are detected. This is also used by build-webkit to determine
      the defaults, which may be the reason for the build breakage.
      
      * WebCore.pri:
      * WebCore.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8483f39
    • benm@google.com's avatar
      [Arm] Missing NaN check in XPath substring function · 0c112c01
      benm@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=41862
      
      Reviewed by Steve Block.
      
      WebCore: 
      
      Test: fast/xpath/substring-nan-position.html
      
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::FunSubstring::evaluate): Add an isnan()
          to the value returned from evaluating the position
          argument and early out and return the empty string.
      
      LayoutTests: 
      
      This layout test checks for the case described in the bug
      and some related edge cases that do currently already pass
      but only through a fluke.
      
      * fast/xpath/substring-nan-position-expected.txt: Added.
      * fast/xpath/substring-nan-position.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c112c01
    • hausmann@webkit.org's avatar
      [Qt] Re-enable support for QtMultimediaKit as backend for the media elements · 353f317c
      hausmann@webkit.org authored
      Reviewed by Tor Arne Vestbø.
      
      Experimental support is re-enabled if QtMobility is available and the Qt
      version is 4.7 or above.
      
      * WebCore.pro:
      * platform/graphics/MediaPlayer.cpp:
      * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
      (WebCore::MediaPlayerPrivate::supportsType): Adapt to latest QtMultimediaKit API changes.
      (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
      (WebCore::MediaPlayerPrivate::totalBytes):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      353f317c
    • pfeldman@chromium.org's avatar
      2010-07-09 Pavel Feldman <pfeldman@chromium.org> · e44c40d1
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: do not show default tooltip when detailed network info is available.
      
              https://bugs.webkit.org/show_bug.cgi?id=41957
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel):
              (WebInspector.ResourcesPanel.prototype.reset):
              (WebInspector.ResourcesPanel.prototype.showResource):
              (WebInspector.ResourcesPanel.prototype._getPopoverAnchor):
              (WebInspector.ResourcesPanel.prototype._showPopover):
              (WebInspector.ResourceTimeCalculator.prototype.computeBarGraphLabels):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e44c40d1
    • commit-queue@webkit.org's avatar
      2010-07-09 François Sausset <sausset@gmail.com> · 35ab3468
      commit-queue@webkit.org authored
              Reviewed by Beth Dakin.
      
              Add test to be sure that only <mi> elements use italic fonts by default.
              Update test with fractions to take into account the correct behaviour of mtext (regular instead of italic).
              https://bugs.webkit.org/show_bug.cgi?id=41626
      
              * mathml/presentation/tokenElements.xhtml: Added.
              * platform/mac/mathml/presentation/fractions-expected.checksum:
              * platform/mac/mathml/presentation/fractions-expected.png:
              * platform/mac/mathml/presentation/fractions-expected.txt:
              * platform/mac/mathml/presentation/tokenElements-expected.checksum: Added.
              * platform/mac/mathml/presentation/tokenElements-expected.png: Added.
              * platform/mac/mathml/presentation/tokenElements-expected.txt: Added.
      2010-07-09  François Sausset  <sausset@gmail.com>
      
              Reviewed by Beth Dakin.
      
              Correct the default font variant of mtext (regular instead of italic).
              https://bugs.webkit.org/show_bug.cgi?id=41626
      
              Add test to be sure that only <mi> elements use italic fonts by default.
              Update test with fractions to take into account the correct behaviour of mtext (regular instead of italic).
      
              * css/mathml.css:
              (mi):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35ab3468