1. 27 Aug, 2013 40 commits
    • commit-queue@webkit.org's avatar
      Improve multicol intrinsic width calculation · 1115308a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116677
      
      Patch by Morten Stenshorne <mstensho@opera.com> on 2013-08-27
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Test: fast/css-intrinsic-dimensions/multicol.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::computeIntrinsicLogicalWidths):
      (WebCore::RenderBlock::adjustIntrinsicLogicalWidthsForColumns):
      * rendering/RenderBlock.h:
      
      LayoutTests:
      
      * css3/unicode-bidi-isolate-basic.html: The expectation seems to
      be that the columns should be as many as necessary and narrow as
      possible, and that the multicol container's width should be that
      of one column. The previous CSS didn't really ask for this,
      although that's how it happened to be rendered without this fix.
      * fast/css-intrinsic-dimensions/multicol-expected.txt: Added.
      * fast/css-intrinsic-dimensions/multicol.html: Added.
      * fast/multicol/positioned-with-constrained-height-expected.html: Copied from LayoutTests/fast/multicol/positioned-with-constrained-height.html.
      * fast/multicol/positioned-with-constrained-height.html: Turn into a reftest.
      * platform/efl/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
      * platform/efl/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
      * platform/gtk/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
      * platform/gtk/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
      * platform/mac/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
      * platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
      * platform/qt/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
      * platform/qt/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1115308a
    • rwlbuis@webkit.org's avatar
      feImage fails if referenced node contains radialGradient declaration · ae8c3acf
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118735
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Only call parent's updateRelativeLengthsInformation for graphics elements.
      
      Tests: svg/custom/feImage-pserver-with-percentage-expected.svg
             svg/custom/feImage-pserver-with-percentage.svg
      
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::updateRelativeLengthsInformation):
      
      LayoutTests:
      
      Add testcase from bug with small adjustments.
      
      * svg/custom/feImage-pserver-with-percentage-expected.svg: Added.
      * svg/custom/feImage-pserver-with-percentage.svg: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae8c3acf
    • darin@apple.com's avatar
      No need for generalPasteboard (aside from "global selection mode") · 66de1c18
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120367
      
      Reviewed by Alexey Proskuryakov.
      
      * editing/Editor.cpp:
      (WebCore::Editor::pasteAsPlainTextBypassingDHTML):
      (WebCore::Editor::dispatchCPPEvent):
      (WebCore::Editor::cut):
      (WebCore::Editor::copy):
      (WebCore::Editor::paste):
      (WebCore::Editor::pasteAsPlainText):
      (WebCore::Editor::copyURL):
      (WebCore::Editor::copyImage):
      Use Pasteboard::createForCopyAndPaste rather than the single general pasteboard
      for editing operations.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66de1c18
    • luciano.wolf@openbossa.org's avatar
      100% cpu usage for "transition: opacity" animation · a3b075f7
      luciano.wolf@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120012
      
      Reviewed by Noam Rosenthal.
      
      Schedule animation timer after scheduling a layer flush. This way it
      won't overwrite animation timer with "0", thus avoiding 100% cpu usage.
      
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
      (WebKit::CoordinatedLayerTreeHost::scheduleAnimation):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3b075f7
    • cfleizach@apple.com's avatar
      <https://webkit.org/b/120117> AX: <noscript> contents are exposed as static text · 09630020
      cfleizach@apple.com authored
      Reviewed by Tim Horton.
      
      Source/WebCore: 
      
      If <noscript> is not being used (because there is script) then we need to ignore its contents for AX.
      
      Test: accessibility/noscript-ignored.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::addCanvasChildren):
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::canHaveChildren):
      
      LayoutTests: 
      
      * accessibility/noscript-ignored-expected.txt: Added.
      * accessibility/noscript-ignored.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09630020
    • andersca@apple.com's avatar
      Fix build. · e0c78159
      andersca@apple.com authored
      * Plugins/Hosted/ProxyInstance.h:
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodNamed):
      (WebKit::ProxyInstance::fieldNamed):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0c78159
    • andersca@apple.com's avatar
      Stop using deleteAllValues in CClass · bfcc8784
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120376
      
      Reviewed by Andreas Kling.
      
      * bridge/c/c_class.cpp:
      (JSC::Bindings::CClass::CClass):
      (JSC::Bindings::CClass::~CClass):
      (JSC::Bindings::CClass::methodNamed):
      (JSC::Bindings::CClass::fieldNamed):
      * bridge/c/c_class.h:
      * bridge/jsc/BridgeJSC.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfcc8784
    • benjamin@webkit.org's avatar
      Clean ClassList and DOMSettableTokenList · 1190b0b7
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120344
      
      Reviewed by Ryosuke Niwa.
      
      This patch cleans ClassList and DOMSettableTokenList to make it simpler to update
      SpaceSplitString:
      - Move the implementation of virtual functions to the cpp file.
      - Clean the #includes.
      - Make the implemented pure virtual methods final.
      - Make the element() accessor const.
      
      * html/ClassList.cpp:
      (WebCore::ClassList::create):
      (WebCore::ClassList::element):
      (WebCore::ClassList::value):
      (WebCore::ClassList::setValue):
      (WebCore::ClassList::classNames):
      * html/ClassList.h:
      * html/DOMSettableTokenList.cpp:
      (WebCore::DOMSettableTokenList::create):
      (WebCore::DOMSettableTokenList::ref):
      (WebCore::DOMSettableTokenList::deref):
      (WebCore::DOMSettableTokenList::length):
      (WebCore::DOMSettableTokenList::value):
      * html/DOMSettableTokenList.h:
      * html/DOMTokenList.h:
      (WebCore::DOMTokenList::element):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1190b0b7
    • commit-queue@webkit.org's avatar
      Replace currentTime() with monotonicallyIncreasingTime() in WebCore · 7aee36d3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119958
      
      Patch by Arunprasad Rajkumar <arurajku@cisco.com> on 2013-08-27
      Reviewed by Alexey Proskuryakov.
      
      WTF::currentTime() is prone to NTP and manual adjustments, so use
      WTF::monotonicallyIncreasingTime() to measure elapsed time.
      
      It is a continuation of r154201.
      
      Source/WebCore:
      
      * history/CachedPage.cpp:
      (WebCore::CachedPage::CachedPage):
      (WebCore::CachedPage::hasExpired):
      * html/parser/HTMLParserScheduler.h:
      (WebCore::HTMLParserScheduler::checkForYieldBeforeToken):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::parse):
      (WebCore::CrossOriginPreflightResultCacheItem::allowsRequest):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::setState):
      * loader/ProgressTracker.cpp:
      (WebCore::ProgressTracker::incrementProgress):
      * loader/cache/CachedCSSStyleSheet.cpp:
      (WebCore::CachedCSSStyleSheet::restoreParsedStyleSheet):
      * loader/cache/CachedImage.cpp:
      (WebCore::CachedImage::didDraw):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::pruneLiveResourcesToSize):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::iconDatabaseSyncThread):
      (WebCore::IconDatabase::syncThreadMainLoop):
      (WebCore::IconDatabase::readFromDatabase):
      (WebCore::IconDatabase::writeToDatabase):
      (WebCore::IconDatabase::cleanupSyncThread):
      * page/animation/AnimationBase.cpp:
      (WebCore::AnimationBase::freezeAtTime):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
      * platform/graphics/GraphicsLayerAnimation.cpp:
      (WebCore::GraphicsLayerAnimation::computeTotalRunningTime):
      (WebCore::GraphicsLayerAnimation::resume):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::createImageForTimeInRect):
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
      (WebCore::MediaPlayerPrivateAVFoundationObjC::createImageForTimeInRect):
      (WebCore::MediaPlayerPrivateAVFoundationObjC::createPixelBuffer):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::suspendAnimations):
      * platform/graphics/ca/PlatformCALayer.h:
      (WebCore::PlatformCALayer::currentTimeToMediaTime):
      * platform/graphics/ca/mac/LayerPool.mm:
      (WebCore::LayerPool::addLayer):
      (WebCore::LayerPool::decayedCapacity):
      (WebCore::LayerPool::pruneTimerFired):
      * platform/graphics/ca/mac/PlatformCALayerMac.mm:
      (mediaTimeToCurrentTime):
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::notifyAnimationsStarted):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::printTree):
      * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
      (WebCore::GraphicsLayerTextureMapper::addAnimation):
      * platform/graphics/texmap/TextureMapperFPSCounter.cpp:
      (WebCore::TextureMapperFPSCounter::TextureMapperFPSCounter):
      (WebCore::TextureMapperFPSCounter::updateFPSAndDisplay):
      * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::addAnimation):
      * platform/network/DNSResolveQueue.cpp:
      (WebCore::DNSResolveQueue::isUsingProxy):
      * plugins/win/PluginMessageThrottlerWin.cpp:
      (WebCore::PluginMessageThrottlerWin::appendMessage):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::didPaintBacking):
      (WebCore::RenderLayerCompositor::updateCompositingLayers):
      * rendering/RenderProgress.cpp:
      (WebCore::RenderProgress::animationProgress):
      (WebCore::RenderProgress::updateAnimationState):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::elapsed):
      (WebCore::SMILTimeContainer::begin):
      (WebCore::SMILTimeContainer::pause):
      (WebCore::SMILTimeContainer::resume):
      (WebCore::SMILTimeContainer::setElapsed):
      
      Source/WTF:
      
      * wtf/CurrentTime.h: Edited comment.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7aee36d3
    • roger_fong@apple.com's avatar
      NRWT on AppleWin port should delete semaphore lock files during cleanup tasks. · 6d96e5f5
      roger_fong@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120370.
      
      Reviewed by Brent Fulgham.
      
      * Scripts/webkitpy/port/win.py:
      (WinPort.delete_sem_locks):
      (WinPort.setup_test_run):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d96e5f5
    • commit-queue@webkit.org's avatar
      Web Inspector: Debugger should have Continue to Here Context Menu · 577f5a24
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120189
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-08-27
      Reviewed by Timothy Hatcher.
      
      When paused in the debugger and presenting a Context Menu in the
      gutter, include a "Continue to Here" option. This requires a
      script/line/column location combination.
      
      * UserInterface/DebuggerManager.js:
      (WebInspector.DebuggerManager.prototype.continueToLocation):
      * UserInterface/Resource.js:
      (WebInspector.Resource.prototype.scriptForLocation):
      * UserInterface/SourceCodeTextEditor.js:
      (WebInspector.SourceCodeTextEditor.prototype.continueToLocation):
      (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      577f5a24
    • robert@webkit.org's avatar
      cell width / offsetTop incorrect · f9766b13
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=11582
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      The offsetTop and offsetLeft of sections, rows and cells should include the table's border. There are separate
      problems with the offset[Top|Left] of table sections and the offsetLeft of rows which are covered under bugs 119020
      and 119021 respectively - here we stick to just fixing the inclusion of the border as it doesn't require rebaselining
      a lot of tests.
      
      Test: fast/table/offset-top-includes-border.html
      
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::adjustedPositionRelativeToOffsetParent):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::layoutRows):
      
      LayoutTests:
      
      * fast/dom/Element/offsetTop-table-cell-expected.txt:
      * fast/dom/Element/offsetTop-table-cell.html:
      * fast/table/offset-top-includes-border-expected.txt: Added.
      * fast/table/offset-top-includes-border.html: Added.
      * platform/mac/editing/selection/5057506-2-expected.txt:
      * platform/mac/editing/selection/5057506-expected.txt:
      * platform/qt/editing/selection/5057506-2-expected.txt:
      * platform/qt/editing/selection/5057506-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9766b13
    • commit-queue@webkit.org's avatar
      [BlackBerry] Rotate device from landscape to portrait during youtube streaming... · fb648092
      commit-queue@webkit.org authored
      [BlackBerry] Rotate device from landscape to portrait during youtube streaming will cause device screen flash with video list page
      https://bugs.webkit.org/show_bug.cgi?id=120364
      
      Patch by Jacky Jiang <zhajiang@blackberry.com> on 2013-08-27
      Reviewed by Rob Buis.
      Internally reviewed by Arvid Nilsson.
      
      Source/WebCore:
      
      JIRA 461232
      When rotating device from landscape mode to portrait mode, we updated
      texture contents based on landscape mode front visibility and back
      visibility on WebKit thread at the very beginning and the landscape mode
      tiles wouldn't be able to cover the portrait mode screen which resulted
      in the screen flash.
      It's hard to compute front visibility information on WebKit thread because
      it doesn't know where the layers will be on the screen. Therefore, the
      front visibility won't be updated until the first time we draw textures
      on compositing thread.
      The patch traverses through LayerWebKitThread and LayerCompositingThread
      and discards back visibility and front visibility respectively if there
      is a pending orientation. In this way, we can pick up layerTilerPrefillRect
      as visibleRect instead of the visibleRect from the stale visibilities
      and add more tiles for uncovered screen when updating texture contents
      on WebKit thread.
      The patch also fixes a bug that we prune tiles based on the stale
      m_requiredTextureSize in pruneTextures(). We should prune tiles based
      on the updated pendingTextureSize instead.
      
      * platform/graphics/blackberry/LayerCompositingThread.cpp:
      (WebCore::LayerCompositingThread::discardFrontVisibility):
      * platform/graphics/blackberry/LayerCompositingThread.h:
      * platform/graphics/blackberry/LayerCompositingThreadClient.h:
      (WebCore::LayerCompositingThreadClient::discardFrontVisibility):
      * platform/graphics/blackberry/LayerRenderer.cpp:
      (WebCore::LayerRenderer::discardFrontVisibility):
      * platform/graphics/blackberry/LayerRenderer.h:
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::discardFrontVisibility):
      (WebCore::LayerTiler::processTextureJob):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::discardBackVisibility):
      * platform/graphics/blackberry/LayerTiler.h:
      * platform/graphics/blackberry/LayerWebKitThread.cpp:
      (WebCore::LayerWebKitThread::discardBackVisibility):
      * platform/graphics/blackberry/LayerWebKitThread.h:
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
      (BlackBerry::WebKit::WebPagePrivate::discardLayerVisibilities):
      (BlackBerry::WebKit::WebPagePrivate::discardFrontVisibilityCompositingThread):
      * Api/WebPageCompositor.cpp:
      (BlackBerry::WebKit::WebPageCompositorPrivate::discardFrontVisibility):
      * Api/WebPageCompositor_p.h:
      * Api/WebPage_p.h:
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::discardBackVisibility):
      * WebKitSupport/FrameLayers.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb648092
    • antti@apple.com's avatar
      Better mutation and event assertions for descendant iterators · 9c732100
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120368
      
      Reviewed by Andreas Kling.
      
      Add mutation assertions to all functions.
      Drop the no-event-dispatch assertion when the iterator reaches the end. This reduces need for iterator scoping
      just to avoid assertions.
      
      * dom/ChildIterator.h:
      (WebCore::::domTreeHasMutated):
      (WebCore::::operator):
      (WebCore::=):
      * dom/DescendantIterator.h:
      (WebCore::::domTreeHasMutated):
      (WebCore::::operator):
      (WebCore::=):
      * dom/Document.cpp:
      (WebCore::Document::childrenChanged):
              
          Make idiomatic.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c732100
    • ossy@webkit.org's avatar
      [WK2][Soup] Add WebFrameNetworkingContext::webFrameLoaderClient() after r154490 · bde98c8e
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120353
      
      Reviewed by Alexey Proskuryakov.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
      (WebKit::WebFrameNetworkingContext::webFrameLoaderClient):
      * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bde98c8e
    • reni@webkit.org's avatar
      Missing null-check of parent renderer in WebCore::HTMLEmbedElement::rendererIsNeeded() · 16476e78
      reni@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120343
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Null-check the parent renderer of HTMLEmbedElement in WebCore::HTMLEmbedElement::rendererIsNeeded()
      and early return.
      
      Test: fast/html/HTMLEmbedElement_without_parent_renderer_assert_crash.html
      
      * html/HTMLEmbedElement.cpp:
      (WebCore::HTMLEmbedElement::rendererIsNeeded):
      
      LayoutTests:
      
      Test for the handling of null parent renderer.
      
      * fast/html/HTMLEmbedElement_without_parent_renderer_assert_crash-expected.txt: Added.
      * fast/html/HTMLEmbedElement_without_parent_renderer_assert_crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16476e78
    • commit-queue@webkit.org's avatar
      [GTK] Missing DRT AccessibilityUIElement::addNotificationListener implementation · 018efa13
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119883
      
      Tools:
      
      Implemented the notification listener for AccessibilityUIElement. The signal is generated
      by AXObjectCache::postPlatformNotification() and received by axObjectEventListener().
      axObjectEventListener will then invoke JSObjectCallAsFunction() with the respective
      callback function. The global callback function and callbacks for specific elements are
      stored in a HashMap in AccessibilityCallbacksAtk.cpp.
      
      Patch by Denis Nomiyama <d.nomiyama@samsung.com> on 2013-08-27
      Reviewed by Chris Fleizach.
      
      * DumpRenderTree/AccessibilityUIElement.h: Added a notification handler for GTK+
      * DumpRenderTree/atk/AccessibilityCallbacks.h: Added addAccessibilityNotificationListener()
      and removeAccessibilityNotificationListener()
      * DumpRenderTree/atk/AccessibilityCallbacksAtk.cpp:
      (axObjectEventListener): Call JS callback for global notification or for a specific element
      (disconnectAccessibilityCallbacks): Only disconnect if logging is off and there is no
      notification handler
      (addAccessibilityNotificationHandler): Add notification listener to the list
      (removeAccessibilityNotificationHandler): Remove notification listener from the list
      * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
      (AccessibilityController::setLogAccessibilityEvents): Set logging off before disconnecting
      * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.cpp: Added.
      (AccessibilityNotificationHandler::AccessibilityNotificationHandler): Create handler
      (AccessibilityNotificationHandler::~AccessibilityNotificationHandler): Destroy handler.
      Remove handler from the list and disconnect callbacks
      (AccessibilityNotificationHandler::setNotificationFunctionCallback): Set the notification
      callback and connect callbacks to signals
      * DumpRenderTree/atk/AccessibilityNotificationHandlerAtk.h: Added.
      (AccessibilityNotificationHandler::setPlatformElement): Set platform element
      (AccessibilityNotificationHandler::platformElement): Get platform element
      (AccessibilityNotificationHandler::notificationFunctionCallback): Get notification callback
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (AccessibilityUIElement::addNotificationListener): Create notification handler, set the
      platform element and the notification callback
      (AccessibilityUIElement::removeNotificationListener):
      * DumpRenderTree/efl/CMakeLists.txt: Added AccessibilityNotificationHandlerAtk.cpp/h
      * GNUmakefile.am: Added AccessibilityNotificationHandlerAtk.cpp/h
      
      LayoutTests:
      
      Unskipped the checkbox notification test in a11y and added the expected results.
      
      Patch by Denis Nomiyama <d.nomiyama@samsung.com> on 2013-08-27
      Reviewed by Chris Fleizach.
      
      * platform/gtk/TestExpectations: Unskipped the checkbox notification test in a11y.
      * platform/gtk/accessibility/aria-checkbox-sends-notification-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018efa13
    • bfulgham@apple.com's avatar
      [Windows] Correct method call for characteristic update. · ba1f6989
      bfulgham@apple.com authored
      Reviewed by Eric Carlson.
      
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::MediaPlayerPrivateAVFoundationCF::tracksChanged):
      [Windows] Correct method call (should have been "characteristicsChanged", not
      "player()->characteristicChanged()"
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba1f6989
    • bfulgham@apple.com's avatar
      [Windows] some track language tags are not recognized · 3cdc77bf
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120335
      
      Reviewed by Eric Carlson.
      
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: Revise implementation
      to match logic in platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjc.mm
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3cdc77bf
    • akling@apple.com's avatar
      Clumsily fix Gtk+ build. Not my proudest moment. · 39206f75
      akling@apple.com authored
      * rendering/svg/RenderSVGResourceFilter.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39206f75
    • akling@apple.com's avatar
      Fix Qt build. · 4cb13f39
      akling@apple.com authored
      * rendering/svg/RenderSVGResourceFilter.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cb13f39
    • akling@apple.com's avatar
      RenderView::availableLogicalHeight() should be self-contained. · 71dd4b2a
      akling@apple.com authored
      <https://webkit.org/b/120356>
      
      Reviewed by Antti Koivisto.
      
      Instead of checking isRenderView() in RenderBox::availableLogicalHeightUsing()
      and doing an early return, do everything needed without leaving RenderView instead.
      Document style never has min-/max-height so there's no need to apply constraints.
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::availableLogicalHeightUsing):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::availableLogicalHeight):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71dd4b2a
    • akling@apple.com's avatar
      Simplify some more Settings access where we have a Frame in reach. · 300a8929
      akling@apple.com authored
      <https://webkit.org/b/120256>
      
      Reviewed by Darin Adler.
      
      RenderObjects can always find Settings through the Frame.
      
      * rendering/InlineTextBox.cpp:
      (WebCore::InlineTextBox::paint):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::paintFillLayerExtended):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::applyResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      300a8929
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Delete unnecessary empty directory. · 7b9e3522
      kadam@inf.u-szeged.hu authored
      Unreviewed gardening.
      
      * platform/qt-5.0-wk2/tables: Removed.
      * platform/qt-5.0-wk2/tables/layering: Removed.
      * platform/qt-5.0-wk2/tables/mozilla: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/bugs: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/collapsing_borders: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/core: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/dom: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/marvin: Removed.
      * platform/qt-5.0-wk2/tables/mozilla/other: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/bugs: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/collapsing_borders: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/core: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/dom: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/marvin: Removed.
      * platform/qt-5.0-wk2/tables/mozilla_expected_failures/other: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b9e3522
    • akling@apple.com's avatar
      RenderView::flowThreadController() should return a reference. · ad1a31b9
      akling@apple.com authored
      <https://webkit.org/b/120363>
      
      Reviewed by Antti Koivisto.
      
      This function does lazy construction and always returns an object.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad1a31b9
    • akling@apple.com's avatar
      HTMLAppletElement: Use child iterator to walk <param> children. · f343e23a
      akling@apple.com authored
      <https://webkit.org/b/120361>
      
      Reviewed by Antti Koivisto.
      
      Take Antti's fancy new child iterator for a quick spin.
      
      * html/HTMLAppletElement.cpp:
      (WebCore::HTMLAppletElement::updateWidget):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f343e23a
    • commit-queue@webkit.org's avatar
      [EFL] Added new accessibility expectations after r154332 · 5d00ef30
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120359
      
      Unreviewed EFL gardening.
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-08-27
      
      * platform/efl-wk1/accessibility/file-upload-button-stringvalue-expected.txt: Added.
      * platform/efl-wk2/accessibility/file-upload-button-stringvalue-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d00ef30
    • commit-queue@webkit.org's avatar
      [gstreamer] Make sure gstreamer source element is thread-safe · 069420f5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115352
      
      Patch by Andre Moreira Magalhaes <andre.magalhaes@collabora.co.uk> on 2013-08-27
      Reviewed by Philippe Normand.
      
      Source/WebCore:
      
      GStreamer source element may be created by any gstreamer element on any thread by calling
      gst_element_make_from_uri with the URIs handled by the source element.
      This patch makes sure the gstreamer source element is thread-safe to avoid issues with it
      being created outside the main thread.
      
      * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
      (webkit_web_src_init):
      (webKitWebSrcDispose):
      (webKitWebSrcFinalize):
      (webKitWebSrcSetProperty):
      (webKitWebSrcGetProperty):
      (removeTimeoutSources):
      (webKitWebSrcStop):
      (webKitWebSrcStart):
      (webKitWebSrcChangeState):
      (webKitWebSrcQueryWithParent):
      (webKitWebSrcGetUri):
      (webKitWebSrcSetUri):
      (webKitWebSrcNeedDataMainCb):
      (webKitWebSrcNeedDataCb):
      (webKitWebSrcEnoughDataMainCb):
      (webKitWebSrcEnoughDataCb):
      (webKitWebSrcSeekMainCb):
      (webKitWebSrcSeekDataCb):
      (webKitWebSrcSetMediaPlayer):
      (StreamingClient::StreamingClient):
      (StreamingClient::~StreamingClient):
      (StreamingClient::createReadBuffer):
      (StreamingClient::handleResponseReceived):
      (StreamingClient::handleDataReceived):
      (StreamingClient::handleNotifyFinished):
      (CachedResourceStreamingClient::CachedResourceStreamingClient):
      (CachedResourceStreamingClient::~CachedResourceStreamingClient):
      (CachedResourceStreamingClient::loadFailed):
      (CachedResourceStreamingClient::setDefersLoading):
      (CachedResourceStreamingClient::getOrCreateReadBuffer):
      (CachedResourceStreamingClient::responseReceived):
      (CachedResourceStreamingClient::dataReceived):
      (CachedResourceStreamingClient::notifyFinished):
      (ResourceHandleStreamingClient::ResourceHandleStreamingClient):
      (ResourceHandleStreamingClient::~ResourceHandleStreamingClient):
      (ResourceHandleStreamingClient::loadFailed):
      (ResourceHandleStreamingClient::setDefersLoading):
      (ResourceHandleStreamingClient::getOrCreateReadBuffer):
      (ResourceHandleStreamingClient::willSendRequest):
      (ResourceHandleStreamingClient::didReceiveResponse):
      (ResourceHandleStreamingClient::didReceiveData):
      (ResourceHandleStreamingClient::didFinishLoading):
      (ResourceHandleStreamingClient::didFail):
      (ResourceHandleStreamingClient::wasBlocked):
      (ResourceHandleStreamingClient::cannotShowURL):
      Make element thread-safe, add support to use the element without a player associated (e.g.
      the DASH plugin using the webkitsrc to download fragments), use GMutexLocker to simplify
      locks and other general improvements.
      
      Source/WTF:
      
      Add convenience class that simplifies locking and unlocking a GMutex.
      
      * GNUmakefile.list.am:
      * wtf/gobject/GMutexLocker.h: Added.
      (WebCore::GMutexLocker::GMutexLocker):
      (WebCore::GMutexLocker::~GMutexLocker):
      (WebCore::GMutexLocker::lock):
      (WebCore::GMutexLocker::unlock):
      (WebCore::GMutexLocker::mutex):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      069420f5
    • antti@apple.com's avatar
      Remove branch from DescendantIteratorAdapter::begin() when invoking for ContainerNode · 4e851ef4
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120358
      
      Reviewed by Andreas Kling.
      
      * dom/ContainerNode.h:
              
          Delete isContainerNode() so it can't be called if there is static knowledge that the object is a ContainerNode.
      
      * dom/DescendantIterator.h:
      (WebCore::::DescendantIterator):
      
          Make DescendantIterator use Node* as root instead of ContainerNode*. It is only used for equality comparison.
      
      (WebCore::::begin):
              
          Remove branch. Rely on ElementTraversal specialization for ContainerNodes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e851ef4
    • commit-queue@webkit.org's avatar
      Web Inspector: Column Breakpoint not working, may be off by 1 · 979f0e61
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120334
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-08-27
      Reviewed by David Kilzer.
      
      Source/WebCore:
      
      JavaScriptCore changed to 1-based column numbers at some point. We
      need to update the ScriptDebugger assumption that they were 0-based.
      
      Test: inspector-protocol/debugger/column-breakpoint.html
      
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::createCallFrame):
      (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
      
      LayoutTests:
      
      Write a protocol test for setting a breakpoint at a line:column.
      
      * inspector-protocol/debugger/column-breakpoint-expected.txt: Added.
      * inspector-protocol/debugger/column-breakpoint.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      979f0e61
    • commit-queue@webkit.org's avatar
      [EFL] Added new accessibility expectations after r153798. · fae8c8a4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120354
      
      Unreviewed EFL gardening.
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-08-27
      
      * platform/efl-wk1/accessibility/image-link-expected.txt: Added.
      * platform/efl-wk1/accessibility/image-map2-expected.txt: Added.
      * platform/efl-wk1/accessibility/table-cell-spans-expected.txt: Added.
      * platform/efl-wk1/accessibility/table-cells-expected.txt: Added.
      * platform/efl-wk2/accessibility/image-link-expected.txt: Added.
      * platform/efl-wk2/accessibility/image-map2-expected.txt: Added.
      * platform/efl-wk2/accessibility/table-cell-spans-expected.txt:
      * platform/efl-wk2/accessibility/table-cells-expected.txt:
      * platform/efl/TestExpectations:
      * platform/efl/accessibility/image-link-expected.txt: Removed.
      * platform/efl/accessibility/image-map2-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fae8c8a4
    • antti@apple.com's avatar
      Switch some more code to element child/descendant iterators · 39d6d4a6
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120355
      
      Reviewed by Andreas Kling.
      
      Move from Traversal<ElementType>::next() and Traversal<ElementType>::nextSibling() to iterators.
      
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * dom/Document.cpp:
      (WebCore::Document::removeTitle):
      (WebCore::Document::updateBaseURL):
      (WebCore::Document::processBaseElement):
      * dom/TreeScope.cpp:
      (WebCore::TreeScope::labelElementForId):
      (WebCore::TreeScope::findAnchor):
      * html/HTMLFieldSetElement.cpp:
      (WebCore::HTMLFieldSetElement::invalidateDisabledStateUnder):
      (WebCore::HTMLFieldSetElement::childrenChanged):
      * html/HTMLLabelElement.cpp:
      (WebCore::HTMLLabelElement::control):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::cancelPendingEventsAndCallbacks):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::parametersForPlugin):
      * rendering/FilterEffectRenderer.cpp:
      (WebCore::FilterEffectRenderer::buildReferenceFilter):
      * svg/SVGFilterPrimitiveStandardAttributes.h:
      (WebCore::isSVGFilterPrimitiveStandardAttributes):
      (WebCore::SVGFilterPrimitiveStandardAttributes):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::updateDocumentOrderIndexes):
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::hasSingleSecurityOrigin):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39d6d4a6
    • akling@apple.com's avatar
      FocusController::focusedOrMainFrame() should return a reference. · ef7cefa6
      akling@apple.com authored
      <https://webkit.org/b/120339>
      
      Reviewed by Antti Koivisto.
      
      Now that Page::mainFrame() returns a reference, we can make this return a reference
      too, since there's always either a focused or a main frame.
      
      One hectogram of null checks removed as a result.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef7cefa6
    • kov@webkit.org's avatar
      [l10n] Updated Polish translation of WebKitGTK+ · a5dea8b3
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119986
      
      Patch by Piotr Drąg <piotrdrag@gmail.com> on 2013-08-27
      Reviewed by Gustavo Noronha Silva.
      
      * pl.po: updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5dea8b3
    • akling@apple.com's avatar
      Document's renderer is always a RenderView. · fa64c887
      akling@apple.com authored
      <https://webkit.org/b/120304>
      
      Reviewed by Darin Adler.
      
      Let's enforce this better by storing a RenderView* instead of a plain RenderObject*.
      We should switch callers that grab at Document::renderer() to calling renderView()
      instead, but that's better done separately.
      
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::~Document):
      (WebCore::Document::setRenderView):
      (WebCore::Document::createRenderTree):
      (WebCore::Document::detach):
      (WebCore::Document::setInPageCache):
      * dom/Document.h:
      (WebCore::Document::renderView):
      (WebCore::Document::renderer):
      * html/parser/HTMLResourcePreloader.cpp:
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::setStyle):
      * rendering/RenderView.h:
      * svg/SVGSVGElement.cpp:
      (WebCore::SVGSVGElement::updateCurrentTranslate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa64c887
    • g.czajkowski@samsung.com's avatar
      grammar-markers.html and grammar-markers-hidpi.html pass even if element does... · d2a110f7
      g.czajkowski@samsung.com authored
      grammar-markers.html and grammar-markers-hidpi.html pass even if element does not have grammar marker
      https://bugs.webkit.org/show_bug.cgi?id=119797
      
      Reviewed by Ryosuke Niwa.
      
      After tenth attempts of verifying the grammar marker, the tests call'notifyDone'
      even if grammar marker was not be found.
      
      Both grammar-marker.html and grammar-marker-hidpi.html call the text checker
      asynchronously. Therefore, we need to wait until either the grammar marker
      is found or number of attempts is reached.
      
      Dump more information whether the grammar marker was found to be sure that
      the tests do not pass when the element does not have the marker.
      
      * editing/spelling/grammar-markers-expected.txt:
      * editing/spelling/grammar-markers-hidpi-expected.txt:
      Update the expectations.
      
      * editing/spelling/grammar-markers-hidpi.html:
      * editing/spelling/grammar-markers.html:
      Dump more information.
      Additionally, pass 'document' to hasGrammarMarker instead of
      'target' as the method does not work for target/source elements.
      
      * platform/mac/editing/spelling/grammar-markers-expected.png:
      * platform/mac/editing/spelling/grammar-markers-hidpi-expected.png: Added.
      Update the expectations for Mac.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2a110f7
    • allan.jensen@digia.com's avatar
      Font's fast code path doesn't handle partial runs correctly when kerning or ligatures are enabled · 5fb0af8e
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100050
      
      Reviewed by Darin Adler.
      
      Renamed m_characterIndex to m_characterIndexOfGlyph and gave it an inline size of 10,
      which covers around 66% of all cases. The rest of the cases are now preallocated to the
      upper limit which is length of the original TextRun.
      
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::getGlyphsAndAdvancesForSimpleText):
      (WebCore::Font::selectionRectForSimpleText):
      (WebCore::Font::offsetForPositionForSimpleText):
      * platform/graphics/WidthIterator.cpp:
      (WebCore::WidthIterator::WidthIterator):
      (WebCore::WidthIterator::advanceInternal):
      * platform/graphics/WidthIterator.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fb0af8e
    • ch.dumez@sisa.samsung.com's avatar
      Implement DOM3 wheel event · 181483e1
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=94081
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Add support for DOM Level 3 WheelEvent:
      http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent
      
      Firefox, IE10 and since recently Blink already support it so
      it increases our cross-browser compatibility.
      
      The non-standard 'mousewheel' event is still supported for backward
      compatibility. Note that the deltas returned by the mousewheel and
      the wheel events are not identical:
      - They have opposite signs.
      - The wheel event reports the actual amount of pixels that should be
      scrolled while the legacy mousewheel event reports a factor of the
      number of mouse wheel ticks (using a constant multiplier).
      
      Tests: fast/events/wheelevent-basic.html
             fast/events/wheelevent-constructor.html
             fast/events/wheelevent-mousewheel-interaction.html
      
      * dom/Document.h:
      * dom/Document.idl:
      * dom/Element.h:
      * dom/Element.idl:
      * dom/EventNames.h:
      * dom/EventTarget.cpp:
      (WebCore::legacyType):
      (WebCore::EventTarget::shouldObserveLegacyType):
      (WebCore::EventTarget::setupLegacyTypeObserverIfNeeded):
      (WebCore::EventTarget::fireEventListeners):
      * dom/EventTarget.h:
      * dom/Node.cpp:
      (WebCore::Node::didMoveToNewDocument):
      (WebCore::tryAddEventListener):
      (WebCore::tryRemoveEventListener):
      (WebCore::Node::defaultEventHandler):
      * dom/WheelEvent.cpp:
      (WebCore::WheelEventInit::WheelEventInit):
      (WebCore::WheelEvent::WheelEvent):
      (WebCore::WheelEvent::initWheelEvent):
      * dom/WheelEvent.h:
      (WebCore::WheelEvent::deltaX):
      (WebCore::WheelEvent::deltaY):
      (WebCore::WheelEvent::deltaZ):
      (WebCore::WheelEvent::wheelDelta):
      (WebCore::WheelEvent::wheelDeltaX):
      (WebCore::WheelEvent::wheelDeltaY):
      * dom/WheelEvent.idl:
      * html/HTMLAttributeNames.in:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::eventNameForAttributeName):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::addEventListener):
      (WebCore::DOMWindow::removeEventListener):
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      * page/EventHandler.cpp:
      (WebCore::EventHandler::defaultWheelEventHandler):
      * plugins/blackberry/PluginViewBlackBerry.cpp:
      (WebCore::PluginView::handleWheelEvent):
      * svg/SVGElementInstance.cpp:
      * svg/SVGElementInstance.h:
      * svg/SVGElementInstance.idl:
      
      LayoutTests:
      
      Add several layout tests to check support for DOM3 wheel event.
      
      * fast/events/wheelevent-basic-expected.txt: Added.
      * fast/events/wheelevent-basic.html: Added.
      * fast/events/wheelevent-constructor-expected.txt: Added.
      * fast/events/wheelevent-constructor.html: Added.
      * fast/events/wheelevent-mousewheel-interaction-expected.txt: Added.
      * fast/events/wheelevent-mousewheel-interaction.html: Added.
      * platform/efl/fast/events/wheelevent-basic-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      181483e1
    • allan.jensen@digia.com's avatar
      Assertion while scrolling news.google.com · e57434c7
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115303
      
      Reviewed by Anders Carlsson.
      
      Do not relayout when accessing script elements during painting.
      
      * html/HTMLEmbedElement.cpp:
      (WebCore::HTMLEmbedElement::renderWidgetForJSBindings):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e57434c7
    • hausmann@webkit.org's avatar
      [Qt] Let Page create the main Frame. · 754dada6
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120349
      
      Adjust to latest changes in WebCore::Page to create the main frame.
      
      Patch by Arunprasad Rajkumar <arurajku@cisco.com> on 2013-08-27
      Reviewed by Simon Hausmann.
      
      * WebCoreSupport/QWebFrameAdapter.cpp:
      (QWebFrameData::QWebFrameData):
      * WebCoreSupport/QWebPageAdapter.cpp:
      (QWebPageAdapter::initializeWebCorePage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      754dada6