1. 24 Apr, 2009 40 commits
    • kmccullough@apple.com's avatar
      2009-04-24 Kevin McCullough <kmccullough@apple.com> · 2e9e48bc
      kmccullough@apple.com authored
              Reviewed by Dan Bernstein.
      
              We should not show the deletion UI for blockquotes in mail but they do 
              show now that we only check for one visible border.
      
              * editing/DeleteButtonController.cpp:
              (WebCore::isDeletableElement):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42852 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2e9e48bc
    • mrowe@apple.com's avatar
      2009-04-24 Rob Raguet-Schofield <ragfield@gmail.com> · cf45a5a7
      mrowe@apple.com authored
              Rubber-stamped by Mark Rowe.
      
              * wtf/CurrentTime.h: Fix a typo in a comment.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42851 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cf45a5a7
    • mitz@apple.com's avatar
      - address Hyatt's review comments on the last patch · 6a6f954a
      mitz@apple.com authored
              * rendering/RenderLayer.cpp:
              (WebCore::performOverlapTests):
              (WebCore::RenderLayer::paintLayer):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42850 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6a6f954a
    • mitz@apple.com's avatar
      Reviewed by Dave Hyatt. · 420cbcfa
      mitz@apple.com authored
              - fix https://bugs.webkit.org/show_bug.cgi?id=5909
                <rdar://problem/5863349> overlapping element leaves trail when
                scrolling iframe
      
              * WebCore.xcodeproj/project.pbxproj: Added OverlapTestRequestClient.h.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::reset): Initialize m_isOverlapped.
              (WebCore::FrameView::useSlowRepaints): Also check m_isOverlapped.
              (WebCore::FrameView::removeSlowRepaintObject): Use useSlowRepaints()
              so overlapping is taken into account.
              (WebCore::FrameView::setIsOverlapped): Added. Sets m_isOverlapped and
              enables or disables copy-on-scroll accordingly.
      
              * page/FrameView.h:
              Added setIsOverlapped() and m_isOverlapped.
      
              * rendering/OverlapTestRequestClient.h: Added. During foreground painting,
              an OverlapTestRequestClient can make a request to test if any subsequently-
              painted layers overlap a rect. The test result is delivered to the
              requestClient via setOverlapTestResult().
              (WebCore::OverlapTestRequestClient::~OverlapTestRequestClient):
      
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::paint): Pass an OverlapTestRequestMap to
              paintLayer(). When done painting, inform any remaining requestClients that
              they are not overlapped.
      
              (WebCore::RenderLayer::paintLayer): Take an OverlapTestRequestMap and
              pass it down to child and reflection layers. Inform requestClients if this
              layer overlaps their requested rects.
      
              * rendering/RenderLayer.h:
      
              * rendering/RenderObject.h:
              (WebCore::RenderObject::PaintInfo::PaintInfo): Added an
              OverlapTestRequestMap member.
      
              * rendering/RenderReplica.cpp:
              (WebCore::RenderReplica::paint): For now, pass a 0 OverlapTestRequestMap
              to paintLayer().
      
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::paint): For FrameViews, request an overlap test
              with the frame.
              (WebCore::RenderWidget::setOverlapTestResult): Call
              FrameView::setIsOverlapped() with the result of the overlap test.
      
              * rendering/RenderWidget.h: Made RenderWidget an OverlapTestRequestClient.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42849 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      420cbcfa
    • simon.fraser@apple.com's avatar
      2009-04-24 Pierre d'Herbemont <pdherbemont@apple.com> · e5c0cdde
      simon.fraser@apple.com authored
              Reviewed by Simon Fraser
      
              https://bugs.webkit.org/show_bug.cgi?id=25380
      
              Fixed a race condition on the first 'played' attribute test start.
      
              Previously we were starting nearly right away to play, and probably
              before receiving the 'canplay' event. Now we ensure we'll wait for
              that 'canplay' event before attempting to play.
      
              * media/video-played-expected.txt: Updated
              * media/video-played.html:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42848 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e5c0cdde
    • ggaren@apple.com's avatar
      2009-04-24 Geoffrey Garen <ggaren@apple.com> · bbb0a673
      ggaren@apple.com authored
              Rubber stamped by Eric Seidel.
              
              Updated test to turn the buildbot green after Eric's last check-in.
      
              * platform/mac/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42847 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bbb0a673
    • hyatt@apple.com's avatar
      2009-04-24 David Hyatt <hyatt@apple.com> · ca528bf3
      hyatt@apple.com authored
              Reviewed by Simon Fraser, Dan Bernstein.
      
              Speed up the PLT by devirtualizing the height() function on InlineBox.  virtualizing it in order to make the height() computation dynamic caused
              a ~0.5% slowdown.  This patch does the following to get the speed back:
              
              (a) Devirtualizes isText and forces inline box creators to set the bit as needed.  This actually resulted in simplified code, since ListMarkerBox could
              then be removed.
              (b) Reduces the height() call count.  In some cases the code was repeatedly calling height(), which used to be fine when the function was just an inline
              member variable access.  The call sites have been patched to cut down on extra height() calls now that it is more expensive.
              (c) Devirtualize height() except on SVG boxes.  For all non-SVG, the height() function on InlineBox handles the computation.  For SVG boxes, a new bit has
              been set on InlineBoxes (isSVG()) that indicates that the virtual svgBoxHeight() function should be called to retrieve the height instead.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              * rendering/InlineBox.cpp:
              (WebCore::InlineBox::height):
              * rendering/InlineBox.h:
              (WebCore::InlineBox::InlineBox):
              (WebCore::InlineBox::isSVG):
              (WebCore::InlineBox::setIsSVG):
              (WebCore::InlineBox::isText):
              (WebCore::InlineBox::setIsText):
              (WebCore::InlineBox::svgBoxHeight):
              * rendering/InlineFlowBox.cpp:
              (WebCore::InlineFlowBox::placeBoxesVertically):
              (WebCore::InlineFlowBox::paintBoxDecorations):
              (WebCore::InlineFlowBox::paintMask):
              * rendering/InlineFlowBox.h:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/ListMarkerBox.cpp: Removed.
              * rendering/ListMarkerBox.h: Removed.
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::createInlineBox):
              * rendering/RenderSVGInline.cpp:
              (WebCore::RenderSVGInline::createFlowBox):
              * rendering/RenderSVGInlineText.cpp:
              (WebCore::RenderSVGInlineText::createTextBox):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::createRootBox):
              * rendering/RenderText.cpp:
              (WebCore::RenderText::createInlineTextBox):
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.h:
              (WebCore::SVGInlineFlowBox::svgBoxHeight):
              * rendering/SVGInlineTextBox.h:
              (WebCore::SVGInlineTextBox::svgBoxHeight):
              * rendering/SVGRootInlineBox.h:
              (WebCore::SVGRootInlineBox::svgBoxHeight):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42846 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ca528bf3
    • eric@webkit.org's avatar
      Reviewed by Adam Roben. · 49c8a1ba
      eric@webkit.org authored
              Add PrettyPatch support to run-webkit-tests
      
              * Scripts/run-webkit-tests:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42845 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      49c8a1ba
    • oliver@apple.com's avatar
      Build fix · 7d11de0c
      oliver@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@42844 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7d11de0c
    • dglazkov@chromium.org's avatar
      2009-04-24 Dimitri Glazkov <dglazkov@chromium.org> · 9dbbce43
      dglazkov@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=25370
              Introduce ScriptEventListener to refactor away direct references to
              JSLazyEventListener in WebCore code.
      
              * GNUmakefile.am: Added ScriptEventListener to project.
              * WebCore.pro: Ditto.
              * WebCore.vcproj/WebCore.vcproj: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * bindings/js/JSDOMGlobalObject.cpp: Removed unused JSLazyEventListener include.
              * bindings/js/JSLazyEventListener.cpp: Moved createAttributeEventListener helpers
                  to ScriptEventListener.
              * bindings/js/JSLazyEventListener.h: Ditto.
              * bindings/js/ScriptController.cpp: Removed unused JSLazyEventListener include.
              * bindings/js/ScriptEventListener.cpp: Added.
              * bindings/js/ScriptEventListener.h: Added.
              * bindings/v8/ScriptEventListener.cpp: Added.
              * bindings/v8/ScriptEventListener.h: Added.
              * dom/Document.cpp: Renamed JSLazyEventListener include to ScriptEventListener.
              * html/HTMLBodyElement.cpp: Ditto.
              * html/HTMLButtonElement.cpp: Ditto.
              * html/HTMLElement.cpp: Ditto.
              * html/HTMLFormElement.cpp: Ditto.
              * html/HTMLFrameElementBase.cpp: Ditto.
              * html/HTMLFrameSetElement.cpp: Ditto.
              * html/HTMLImageElement.cpp: Ditto.
              * html/HTMLInputElement.cpp: Ditto.
              * html/HTMLObjectElement.cpp: Ditto.
              * html/HTMLScriptElement.cpp: Ditto.
              * html/HTMLSelectElement.cpp: Ditto.
              * html/HTMLTextAreaElement.cpp: Ditto.
              * svg/SVGElement.cpp: Ditto.
              * svg/SVGSVGElement.cpp: Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9dbbce43
    • oliver@apple.com's avatar
      <rdar://problem/6050421> JavaScript register file should remap to release... · 0b189b32
      oliver@apple.com authored
      <rdar://problem/6050421> JavaScript register file should remap to release physical pages accumulated during deep recursion
      
      Reviewed by Geoff Garen
      
      We now track the maximum extent of the RegisterFile, and when we reach the final
      return from JS (so the stack portion of the registerfile becomes empty) we see
      if that extent is greater than maxExcessCapacity.  If it is we use madvise or
      VirtualFree to release the physical pages that were backing the excess.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42842 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0b189b32
    • darin@apple.com's avatar
      2009-04-24 Darin Adler <darin@apple.com> · 25850f6c
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              Bug 25355: Crash when Creating New Tab or New Window when set to open Same Page
              https://bugs.webkit.org/show_bug.cgi?id=25355
              rdar://problem/6823543
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::loadItem): Added a null check.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42841 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      25850f6c
    • eric@webkit.org's avatar
      Reviewed by Simon Fraser. · 3add8337
      eric@webkit.org authored
              Fix RenderSVGImage to dump with full bounds and style information.
              https://bugs.webkit.org/show_bug.cgi?id=25377
      
              No functional changes, we're just now including more info in render tree dumps.
      
              * rendering/RenderObject.h:
              (WebCore::RenderObject::isSVGImage):
              * rendering/RenderSVGImage.h:
              (WebCore::RenderSVGImage::isSVGImage):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::write):
              * rendering/SVGRenderTreeAsText.cpp:
              (WebCore::operator<<):
              (WebCore::write):
              * rendering/SVGRenderTreeAsText.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42840 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3add8337
    • andersca@apple.com's avatar
      2009-04-24 Anders Carlsson <andersca@apple.com> · 1142aba0
      andersca@apple.com authored
              Reviewed by Darin Adler.
      
              Fix <rdar://problem/6761635>.
              
              Make sure to keep an extra reference to the instance proxy in case the plug-in host crashes while
              we're waiting for a reply.
              
              * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
              (WebKit::NetscapePluginInstanceProxy::destroy):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42839 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1142aba0
    • levin@chromium.org's avatar
      2009-04-24 David Levin <levin@chromium.org> · f8d4117e
      levin@chromium.org authored
              Reviewed by NOBODY (chromium build fix).
      
              Rename "isInline" => "isAttribute" in v8 bindings (jsc was done in r42699).
      
              * bindings/v8/V8AbstractEventListener.cpp:
              (WebCore::V8AbstractEventListener::V8AbstractEventListener):
              (WebCore::V8AbstractEventListener::invokeEventHandler):
              * bindings/v8/V8AbstractEventListener.h:
              * bindings/v8/V8EventListenerList.cpp:
              (WebCore::V8EventListenerList::add):
              (WebCore::V8EventListenerList::remove):
              (WebCore::V8EventListenerList::clear):
              * bindings/v8/V8LazyEventListener.h:
              (WebCore::V8LazyEventListener::virtualisAttribute):
              * bindings/v8/custom/V8CustomEventListener.cpp:
              (WebCore::V8EventListener::V8EventListener):
              * bindings/v8/custom/V8CustomEventListener.h:
              (WebCore::V8EventListener::create):
              (WebCore::V8EventListener::virtualisAttribute):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42838 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f8d4117e
    • xan@webkit.org's avatar
      2009-04-24 Johan Bilien <jobi@via.ecp.fr> · 1df59845
      xan@webkit.org authored
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=25373
              Popup menu has the wrong size when popped up near the edge
              of the screen
      
              * webkit/webkitwebview.cpp:
              (webkit_web_view_forward_context_menu_event): Let GTK place
              the popup menu instead of trying to do better and failing
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42837 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1df59845
    • simon.fraser@apple.com's avatar
      2009-04-24 Pierre d'Herbemont <pdherbemont@apple.com> · e6f34b7d
      simon.fraser@apple.com authored
              Reviewed by Simon Fraser
      
              <rdar://problem/6805928> Re-export layout test MPEG-4 file to remove unusual edit
      
              Use better mp4 test file for media tests. The original mp4 file had an unusual
              edit (non-zero start time) which is not supported by all media engines. The new
              movie should also give more useful pixel test results.
      
              * media/content/test.mp4: Update the movie.
              * media/progress-event-total-expected.txt: Update test results to match movie duration and
              content changes.
              * media/progress-event-total.html: Ditto.
              * media/video-currentTime-set-expected.txt: Ditto.
              * media/video-loop-expected.txt: Ditto.
              * platform/mac/media/video-aspect-ratio-expected.checksum: Ditto.
              * platform/mac/media/video-aspect-ratio-expected.png: Ditto.
              * platform/mac/media/video-controls-rendering-expected.checksum: Ditto.
              * platform/mac/media/video-controls-rendering-expected.png: Ditto.
              * platform/mac/media/video-display-toggle-expected.checksum: Ditto.
              * platform/mac/media/video-display-toggle-expected.png: Ditto.
              * platform/mac/media/video-empty-source-expected.checksum: Ditto.
              * platform/mac/media/video-layer-crash-expected.checksum: Ditto.
              * platform/mac/media/video-layer-crash-expected.png: Ditto.
              * platform/mac/media/video-transformed-expected.checksum: Ditto.
              * platform/mac/media/video-transformed-expected.png: Ditto.
              * platform/mac/media/video-zoom-expected.checksum: Ditto.
              * platform/mac/media/video-zoom-expected.png: Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e6f34b7d
    • sfalken@apple.com's avatar
      Fix nightly for Windows x64 users. · af835c2f
      sfalken@apple.com authored
              Installed browser location is written to a slightly different registry key in that case.
              
              * FindSafari/FindSafari.cpp:
              (getInstalledWebKitDirectory):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42835 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      af835c2f
    • kmccullough@apple.com's avatar
      2009-04-24 Kevin McCullough <kmccullough@apple.com> · 75973ee7
      kmccullough@apple.com authored
              When I moved the files I forgot to update the location of the image!
      
              * platform/mac/editing/deleting/deletionUI-differing-background-expected.txt: Added.
              * platform/mac/editing/deleting/deletionUI-differing-background.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      75973ee7
    • dglazkov@chromium.org's avatar
      2009-04-24 Nate Chapin <japhet@google.com> · 0ca8ac39
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25343
              Fix Chromium/Skia bug where -webkit-box-shadow with 0,0 offset
              ignores blur.
      
              * WebCore\platform\graphics\skia\GraphicsContextSkia.cpp
               (WebCore::GraphicsContext::setPlatformShadow): Add check against
               blur before clearing looper.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42833 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0ca8ac39
    • kmccullough@apple.com's avatar
      2009-04-24 Kevin McCullough <kmccullough@apple.com> · 8bf14faa
      kmccullough@apple.com authored
              - Build fix.  Removed this test until I can figure out why it's failing.
      
              * platform/mac-leopard/editing/deleting/deletionUI-differing-background-expected.txt: Removed.
              * platform/mac/editing/deleting/deletionUI-differing-background-expected.txt: Removed.
              * platform/mac/editing/deleting/deletionUI-differing-background.html: Removed.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42832 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8bf14faa
    • dglazkov@chromium.org's avatar
      WebCore: · a8c98d0c
      dglazkov@chromium.org authored
      2009-04-24  Eric Roman  <eroman@chromium.org>
      
              Reviewed by Darin Adler.
      
              Initialize TextIterator::m_textLength to 0.
      
              This assures that TextIterator::length() will return 0 for cases when TextIterator's constructor returns early (because there is nothing to iterate over in the range).
      
              <https://bugs.webkit.org/show_bug.cgi?id=25335>
      
              Test: editing/selection/doubleclick-whitespace-img-crash.html
      
              * editing/TextIterator.cpp:
              (WebCore::TextIterator::TextIterator):
      
      LayoutTests:
      
      2009-04-24  Eric Roman  <eroman@chromium.org>
      
              Reviewed by Darin Adler.
      
              Add a test for <https://bugs.webkit.org/show_bug.cgi?id=25335>.
      
              To pass, this test must not access invalid memory when run (won't necessarily manifest as a crash for failures).
      
              * editing/selection/doubleclick-whitespace-img-crash-expected.txt: Added.
              * editing/selection/doubleclick-whitespace-img-crash.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42831 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a8c98d0c
    • simon.fraser@apple.com's avatar
      2009-04-24 Simon Fraser <simon.fraser@apple.com> · 927b9b41
      simon.fraser@apple.com authored
              Source changes reviewed by Darin Adler
      
              https://bugs.webkit.org/show_bug.cgi?id=22242
      
              Update WebKitSystemInterface for Mac with fixes for video controller drawing.
      
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceTiger.a:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42830 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      927b9b41
    • dglazkov@chromium.org's avatar
      2009-04-24 Fumitoshi Ukai <ukai@google.com> · 56fe46b9
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25329
              Add indexed access method in v8 binding of ClientRectList.
      
              * bindings/v8/custom/V8ClientRectListCustom.cpp: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42829 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      56fe46b9
    • dglazkov@chromium.org's avatar
      WebCore: · a33e9bcf
      dglazkov@chromium.org authored
      2009-04-24  Fumitoshi Ukai  <ukai@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25257
              Use null for unspecified event listener attributes of XMLHttpRequest
              and XMLHttpRequestUpload in v8 binding.
      
              cf. http://www.whatwg.org/specs/web-apps/current-work/#event-handler-attributes
              An event handler attribute, unless otherwise specified, can either
              have the value null or be set to a Function object.
              Initially, an event handler attribute must be set to null.
      
              Test: fast/xmlhttprequest/xmlhttprequest-default-attributes.html
      
              * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
              (WebCore::ACCESSOR_GETTER): Changed to use v8::Null().
              * bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp:
              (WebCore::ACCESSOR_GETTER): Ditto.
      
      LayoutTests:
      
      2009-04-24  Fumitoshi Ukai  <ukai@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=25257
              Verify XMLHttpRequest has correct attribute value by default.
      
              * fast/xmlhttprequest/resources/xmlhttprequest-default-attributes.js: Added.
              * fast/xmlhttprequest/xmlhttprequest-default-attributes-expected.txt: Added.
              * fast/xmlhttprequest/xmlhttprequest-default-attributes.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42828 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a33e9bcf
    • christian@webkit.org's avatar
      2009-04-24 Christian Dywan <christian@twotoasts.de> · 62689b7c
      christian@webkit.org authored
              Rubber-stamped by Gustavo Noronha.
      
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::webkit_web_settings_class_init): Reword the
              description of the enable-spell-checking property and correct the
              mentioning of the default language used.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42827 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      62689b7c
    • kmccullough@apple.com's avatar
      2009-04-24 Kevin McCullough <kmccullough@apple.com> · c10e3030
      kmccullough@apple.com authored
              Speculative fix for leopard build-bot until I have a fix on leopard.
      
              * platform/mac-leopard/editing: Added.
              * platform/mac-leopard/editing/deleting: Added.
              * platform/mac-leopard/editing/deleting/deletionUI-differing-background-expected.txt: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42826 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c10e3030
    • darin@apple.com's avatar
      2009-04-24 Darin Adler <darin@apple.com> · ba77aa8a
      darin@apple.com authored
              Reviewed by Adam Roben.
      
              <rdar://problem/6663836> CrashTracer: crashes in Safari at com.apple.WebCore • WebCore::reportException + 1513
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::reportException): Added a null check.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42825 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ba77aa8a
    • beidson@apple.com's avatar
      2009-04-24 Brady Eidson <beidson@apple.com> · ccffe640
      beidson@apple.com authored
              Reviewed by Dan Bernstein
      
              Currently working on a bug where a WebHistoryItem was being used after being dealloc'ed.
              I added this assertion to help catch the case as soon as it happens instead of random
              issues downstream.  Figured it's worth checking in by itself.
      
              * History/WebHistoryItem.mm:
              (core): ASSERT that the WebCore::HistoryItem inside this WebHistoryItem is supposed to have
                this WebHistoryItem as a wrapper.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42824 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ccffe640
    • simon.fraser@apple.com's avatar
      2009-04-24 Simon Fraser <simon.fraser@apple.com> · 1b8fea7f
      simon.fraser@apple.com authored
              Reviewed by Darin Adler
      
              https://bugs.webkit.org/show_bug.cgi?id=23219
      
              Add support for transtions and animations of background-position, -webkit-background-size,
              -webkit-mask-position and -webkit-mask-size.
      
              Tests: transitions/background-transitions.html
                     transitions/mask-transitions.html
      
              * page/animation/AnimationBase.cpp:
              (WebCore::blendFunc):
              Add a blend func for LengthSize.
      
              (WebCore::ensurePropertyMap):
              Add wrappers for the new properties.
      
              (WebCore::addShorthandProperties):
              Add a shorthand property for CSSPropertyBackgroundPosition to map to
              CSSPropertyBackgroundPositionX and CSSPropertyBackgroundPositionY,
              add CSSPropertyWebkitMask for CSSPropertyWebkitMaskPosition, and add
              CSSPropertyWebkitMaskPosition for CSSPropertyWebkitMaskPositionX and
              CSSPropertyWebkitMaskPositionY.
      
              * rendering/style/RenderStyle.h:
              (WebCore::InheritedFlags::setBackgroundXPosition):
              (WebCore::InheritedFlags::setBackgroundYPosition):
              (WebCore::InheritedFlags::setBackgroundSize):
              (WebCore::InheritedFlags::setMaskXPosition):
              (WebCore::InheritedFlags::setMaskYPosition):
              (WebCore::InheritedFlags::setMaskSize):
              Add setters for the properties that can be animated now.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42823 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1b8fea7f
    • adele@apple.com's avatar
      2009-04-24 Adele Peterson <adele@apple.com> · 4ae31525
      adele@apple.com authored
              Reviewed by Dan Bernstein.
      
              Updating these pixel results to the generated results on Leopard.
      
              * platform/mac/editing/inserting/5510537-expected.checksum:
              * platform/mac/editing/inserting/5510537-expected.png:
              * platform/mac/editing/inserting/6703873-expected.checksum:
              * platform/mac/editing/inserting/6703873-expected.png:
              * platform/mac/editing/selection/select-all-iframe-expected.checksum:
              * platform/mac/editing/selection/select-all-iframe-expected.png:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42822 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4ae31525
    • adele@apple.com's avatar
      WebCore: · 2da84157
      adele@apple.com authored
      2009-04-24  Adele Peterson  <adele@apple.com>
      
              Reviewed by Darin Adler.
      
              Fix for <rdar://problem/5089327> Newline gets stripped when pasting whole lines in certain markup
      
              Test: editing/pasteboard/paste-blockquote-after-blockquote.html
      
              When we have matching quote levels, its ok to merge the starts of the inserted and existing blocks more frequently.
              But we should only merge here if the selection start was inside a mail blockquote.  This prevents against removing a 
              blockquote from newly pasted quoted content that was pasted into an unquoted position.  If that unquoted position happens 
              to be right after another blockquote, we don't want to merge and risk stripping a valid block (and newline) from the pasted content.
      
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::shouldMergeStart): Also added an early return to always return false when we're already moving paragraphs.
              (WebCore::ReplaceSelectionCommand::doApply): Removed redundant check for when we're moving paragraphs.
              * editing/ReplaceSelectionCommand.h:
      
      LayoutTests:
      
      2009-04-24  Adele Peterson  <adele@apple.com>
      
              Reviewed by Darin Adler.
      
              Test for <rdar://problem/5089327> Newline gets stripped when pasting whole lines in certain markup
      
              * editing/pasteboard/paste-blockquote-after-blockquote.html: Added.
              * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.checksum: Added.
              * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.png: Added.
              * platform/mac/editing/pasteboard/paste-blockquote-after-blockquote-expected.txt: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42821 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2da84157
    • kov@webkit.org's avatar
      2009-04-24 Diego Escalante Urrelo <diegoe@gnome.org> · 270fc232
      kov@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15616
              [GTK] Add spell checking
      
              Implement EditorClient::ignoreWordInSpellDocument,
              EditorClient::learnWord and EditorClient::getGuessesForWord. This
              enables the corresponding user actions.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::ignoreWordInSpellDocument):
              (WebKit::EditorClient::learnWord):
              (WebKit::EditorClient::getGuessesForWord):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42820 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      270fc232
    • kov@webkit.org's avatar
      2009-04-24 Diego Escalante Urrelo <diegoe@gnome.org> · c4b039ad
      kov@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15616
              [GTK] Add spell checking
      
              Implement EditorClient::checkSpellingOfString; enabling spell checking
              to actually happen, this is the basis for other spelling functions.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::checkSpellingOfString):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42819 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c4b039ad
    • kov@webkit.org's avatar
      2009-04-24 Diego Escalante Urrelo <diegoe@gnome.org> · 6d7b2f0d
      kov@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15616
              [GTK] Add spell checking
      
              Add enchant support for spell-checking-languages property to work
              properly.
      
              * GNUmakefile.am:
              * configure.ac:
      
      WebKit/gtk
      
      2009-04-24  Diego Escalante Urrelo  <diegoe@gnome.org>
      
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15616
              [GTK] Add spell checking
      
              Add spell-checking-languages property to WebKitWebSettings.
      
              * webkit/webkitprivate.h:
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::):
              (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
              (_WebKitWebSettingsPrivate::webkit_web_settings_init):
              (_WebKitWebSettingsPrivate::webkit_web_settings_finalize):
              (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
              (_WebKitWebSettingsPrivate::webkit_web_settings_get_spell_languages):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42818 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6d7b2f0d
    • kov@webkit.org's avatar
      2009-04-24 Diego Escalante Urrelo <diegoe@gnome.org> · 1bf7a34e
      kov@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              https://bugs.webkit.org/show_bug.cgi?id=15616
              [GTK] Add spell checking
      
              Add enable-spell-checking property to WebKitWebSettings and implement
              EditorClient::isContinuousSpellCheckingEnabled and
              EditorClient::toggleContinuousSpellChecking to allow the UI to
              enable check as you type spell checking.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
              (WebKit::EditorClient::toggleContinuousSpellChecking):
              * webkit/webkitwebsettings.cpp:
              (_WebKitWebSettingsPrivate::):
              (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
              (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
              (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42817 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1bf7a34e
    • ariya@webkit.org's avatar
      2009-04-24 Ariya Hidayat <ariya.hidayat@nokia.com> · e09116b4
      ariya@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Added Qt-specific expected result for color conversion.
      
              This is to compensate the lack of color profile in Qt to do
              color conversion, hence CMYK 0,0,0,1 always give pure black (#000)
              instead of very dark black.
      
              * platform/qt/fast/canvas/set-colors-expected.txt: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42816 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e09116b4
    • hausmann@webkit.org's avatar
      2009-04-24 Simon Hausmann <simon.hausmann@nokia.com> · 6e9f40dd
      hausmann@webkit.org authored
              Rubber-stamped by Ariya Hidayat.
      
              Fix qdoc warning about link to QAction::isEnabled.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42815 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6e9f40dd
    • hausmann@webkit.org's avatar
      2009-04-24 Simon Hausmann <simon.hausmann@nokia.com> · 591ddf46
      hausmann@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              Added support for generating API docs in the Qt build using "make docs"
      
              Added code snippets and overview from the Qt sources references in the API docs.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      591ddf46
    • adele@apple.com's avatar
      2009-04-23 Adele Peterson <adele@apple.com> · 1ff4ccc9
      adele@apple.com authored
              Reviewed by Dan Bernstein.
      
              Updating test to make it easier to see the blockquote in the results.
      
              * editing/pasteboard/paste-blockquote-into-blockquote-3.html:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-3-expected.checksum:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-3-expected.png:
              * platform/mac/editing/pasteboard/paste-blockquote-into-blockquote-3-expected.txt:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@42813 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1ff4ccc9