1. 23 Apr, 2013 39 commits
    • roger_fong@apple.com's avatar
      AppleWin VS2010 build fix. · a409cef0
      roger_fong@apple.com authored
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a409cef0
    • benjamin@webkit.org's avatar
      Remove unused code of RefCounted after chromium removal · 6810e3ac
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115009
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
      Reviewed by Ryosuke Niwa.
      
      * wtf/RefCounted.h:
      (WTF::RefCountedBase::refCount):
      (RefCountedBase):
      It looks like addressOfCount() is no longer needed.
      Also change the type back to unsigned as it make more sense.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6810e3ac
    • benjamin@webkit.org's avatar
      Remove wxWebKit support from the Tools · 1d9488de
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115005
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-23
      Reviewed by Andreas Kling.
      
      The wxWebKit port is no longer actively maintained by Kevin
      on webkit.org. Remove the code until new maintainers resume the work.
      
      * DumpRenderTree/DumpRenderTree.h:
      * DumpRenderTree/config.h:
      * DumpRenderTree/wscript: Removed.
      * DumpRenderTree/wx/DumpRenderTreeWx.cpp: Removed.
      * DumpRenderTree/wx/DumpRenderTreeWx.h: Removed.
      * DumpRenderTree/wx/GCControllerWx.cpp: Removed.
      * DumpRenderTree/wx/TestRunnerWx.cpp: Removed.
      * DumpRenderTree/wx/WorkQueueItemWx.cpp: Removed.
      * Scripts/build-dumprendertree:
      * Scripts/build-jsc:
      (buildMyProject):
      * Scripts/build-webkit:
      * Scripts/old-run-webkit-tests:
      * Scripts/run-launcher:
      * Scripts/webkitdirs.pm:
      (argumentsForConfiguration):
      (determineConfigurationProductDir):
      (determinePassedArchitecture):
      (builtDylibPathForName):
      (determineIsQt):
      (isAppleWebKit):
      (launcherPath):
      (launcherName):
      (checkRequiredSystemConfig):
      * Scripts/webkitpy/common/config/contributionareas.py:
      * waf/build/build_utils.py: Removed.
      * waf/build/settings.py: Removed.
      * waf/build/waf_extensions.py: Removed.
      * waf/build/wxpresets.py: Removed.
      * wx/browser/browser.cpp: Removed.
      * wx/browser/wscript: Removed.
      * wx/install-unix-extras: Removed.
      * wx/packaging/build-debian-installer.py: Removed.
      * wx/packaging/build-mac-installer.py: Removed.
      * wx/packaging/build-win-installer.py: Removed.
      * wx/packaging/debian/changelog: Removed.
      * wx/packaging/debian/compat: Removed.
      * wx/packaging/debian/control: Removed.
      * wx/packaging/debian/copyright: Removed.
      * wx/packaging/debian/python-webkitwx.install: Removed.
      * wx/packaging/debian/rules: Removed.
      * wx/packaging/wxWebKitInstaller.iss.in: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d9488de
    • ddkilzer@apple.com's avatar
      RetainPtr.h should compile with -Wshorten-64-to-32 · a6559a70
      ddkilzer@apple.com authored
      <http://webkit.org/b/115047>
      
      Reviewed by Anders Carlsson.
      
      Fixes the following warning:
      
          RetainPtr.h:318:20: error: implicit conversion loses integer precision: 'CFHashCode' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
                      return CFHash(o.get());
                      ~~~~~~ ^~~~~~~~~~~~~~~
      
      * wtf/RetainPtr.h:
      (WTF::RetainPtrObjectHash::hash): Cast return value of CFHash()
      to unsigned.  This has no effect on 32-bit architectures, but
      takes the lower 32-bits of the CFHashCode (unsigned long) on
      64-bit architectures, which is what happens implicitly now.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6559a70
    • commit-queue@webkit.org's avatar
      [BlackBerry] Invalid assert in InputHandler::requestCheckingOfString() · be2b80bb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114952
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-23
      Reviewed by Rob Buis.
      
      Do not assume that Batch requests are only created whe input field
      is focused, the Editor can also create Batch requests when pasting
      a selection.
      
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::requestCheckingOfString):
      Remove invalid assert.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be2b80bb
    • commit-queue@webkit.org's avatar
      Remove fast/js/i18n-bindings-locale.html · 23f5ab4c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115024
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-23
      Reviewed by Geoffrey Garen.
      
      Remove V8-i18n-extension test(r78095) from all ports.
      
      * fast/js/i18n-bindings-locale-expected.txt: Removed.
      * fast/js/i18n-bindings-locale.html: Removed.
      * fast/js/script-tests/i18n-bindings-locale.js: Removed.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23f5ab4c
    • roger_fong@apple.com's avatar
      AppleWin build fix. · b999ef99
      roger_fong@apple.com authored
      * inspector/InspectorAllInOne.cpp:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::create):
      (WebCore):
      * inspector/InspectorMemoryAgent.h:
      (InspectorMemoryAgent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b999ef99
    • zoltan@webkit.org's avatar
      [CSS Exclusions] shape-inside overflow should be pushed to the outside of the content box · 3bd77f58
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114526
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      The specification has changed to define shape-outside as the inverse of an exclusion. Overflowing content
      should not overlap the shape, and it should be pushed outside the content box. This change affects several
      tests, but only one new has been added. In this change I'm not intended to include the behavior change for
      shape-inside on CSS Regions, I'm going to fix that in a follow up patch.
      
      Tests: fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Modified.
             fast/exclusions/shape-inside/shape-inside-bottom-edge.html: Modified.
             fast/exclusions/shape-inside/shape-inside-empty.html: Modified.
             fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Added.
             fast/exclusions/shape-inside/shape-inside-overflow.html: Modified.
             fast/exclusions/shape-inside/shape-inside-percentage.html: Modified.
             fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004.html: Modified.
      
      * rendering/ExclusionShapeInfo.h:
      (WebCore::ExclusionShapeInfo::clearSegments): Shape-outside's code uses shape-inside codepaths, when that happens we need to provide a
      way to reset the m_segments member.
      (WebCore::ExclusionShapeInfo::shapeContainingBlockHeight): The containing block's height is stored in m_shapeLogicalHeight, I added a
      function to get this value when we need it to calculate the content box's bottom position.
      (ExclusionShapeInfo):
      (WebCore::ExclusionShapeInfo::lineOverlapsShapeBounds):
      (WebCore::ExclusionShapeInfo::lineWithinShapeBounds):  Add function to test whether a whole line is within a shape or not.
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::layoutRunsAndFloatsInRange): Overflowing content should start under the content box.
      (WebCore::RenderBlock::LineBreaker::nextLineBreak): Since we use shape-inside codepaths for shape-outside in layoutRunsAndFloatsInRange function
      and for shape-outside is not a requirement to check the line's bottom position is within the shape we might end up with some extra segments here.
      In this case we should clear segments, since we don't want to apply any horizontal offsets on the overflowing content.
      
      LayoutTests:
      
      Update and add tests for the new behavior.
      
      * fast/exclusions/resources/rounded-rectangle.js:
      (generateString): Modify the function to not generate overflow content.
      * fast/exclusions/shape-inside/shape-inside-bottom-edge-expected.html:
      * fast/exclusions/shape-inside/shape-inside-bottom-edge.html:
      * fast/exclusions/shape-inside/shape-inside-empty-expected.html:
      * fast/exclusions/shape-inside/shape-inside-empty.html:
      * fast/exclusions/shape-inside/shape-inside-overflow-expected.html:
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html: Added.
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html: Added.
      * fast/exclusions/shape-inside/shape-inside-overflow.html:
      * fast/exclusions/shape-inside/shape-inside-percentage-expected.html:
      * fast/exclusions/shape-inside/shape-inside-percentage.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-004.html:
      * fast/regions/shape-inside/shape-inside-on-additional-regions-expected.html:
      * fast/regions/shape-inside/shape-inside-on-additional-regions.html: This test is not intented to test the overflow behavior from
      shape-inside on regions, so I set the shape's height to the container's height.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bd77f58
    • mhahnenberg@apple.com's avatar
      Objective-C API: Update public header documentation · e73a7c3c
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114841
      
      Reviewed by Geoffrey Garen.
      
      Added documentation for the newly added object lifetime-related stuff.
      
      * API/JSManagedValue.h:
      * API/JSVirtualMachine.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e73a7c3c
    • robert@webkit.org's avatar
      checkLayout() should error out if no data-expected* attributes were found · ec4d7423
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114900
      
      Reviewed by Ojan Vafai.
      
      If checkLayout() doesn't find any attributes checking the node's layout then error out
      instead of assuming the test has passed. This will ensure data-* attributes containing
      typos don't register as a pass.
      
      * fast/check-layout-error-no-attributes-expected.txt: Added.
      * fast/check-layout-error-no-attributes.html: Added.
      * resources/check-layout.js:
      (.):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec4d7423
    • commit-queue@webkit.org's avatar
      [BlackBerry] Simplify BackForwardListBlackBerry::clear · 767437ef
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115029
      
      Patch by Xan Lopez <xlopez@igalia.com> on 2013-04-23
      Reviewed by Carlos Garcia Campos.
      
      Simplify the implementation of the clear method. Instead of asking
      the WebCore implementation to search each item and delete it, set
      the capacity of the list to zero directly, which will do the same
      thing but more efficiently.
      
      No change in behavior, no new tests.
      
      * WebCoreSupport/BackForwardListBlackBerry.cpp:
      (WebCore::BackForwardListBlackBerry::clear):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      767437ef
    • zeno.albisser@digia.com's avatar
      [Qt] Fix test_build_check for Qt on Mac after r148075. · 97d048b8
      zeno.albisser@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115038
      
      Reviewed by Csaba Osztrogonác.
      
      * Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
      (RunTest.test_build_check):
          run-webkit-tests is supposed to fail, if it is run on a different
          platform than specified on the command line.
          However, Qt allows exactly this for Qt-platforms to allow comparing
          of test results of different baselines.
          Before r148075 "chromium-linux-x86" was used for testing.
          This patch changes the port_name to gtk when running the test on mac.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97d048b8
    • antti@apple.com's avatar
      Avoid computing style twice when element has no existing style · 18096a19
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115042
      
      Reviewed by Andreas Kling.
              
      We currently compute element style twice if we end up having to reattach, first in recalcStyle and then
      again during attach(). We can easily avoid this in common case where the element has no existing style
      (usually because it is display:none). 
      
      * dom/Element.cpp:
      (WebCore::Element::recalcStyle):
              
          Don't compute the style and diff if there is no existing style. There is nothing to diff against.
          Instead just call reattach() directly, we ended up doing that anyway with the existing code.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18096a19
    • commit-queue@webkit.org's avatar
      [BlackBerry] Do not access BackForwardListImpl from DRT · b15a093b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115041
      
      Patch by Xan Lopez <xlopez@igalia.com> on 2013-04-23
      Reviewed by Carlos Garcia Campos.
      
      Source/WebKit/blackberry:
      
      Export the necessary functionality in our BackForwardList port
      client in order for DRT to work.
      
      * WebCoreSupport/BackForwardListBlackBerry.cpp:
      (WebCore::BackForwardListBlackBerry::backListWithLimit):
      (WebCore):
      (WebCore::BackForwardListBlackBerry::forwardListWithLimit):
      (WebCore::BackForwardListBlackBerry::capacity):
      * WebCoreSupport/BackForwardListBlackBerry.h:
      (BackForwardListBlackBerry):
      
      Tools:
      
      Use the right class to access the bflist functionality.
      
      * DumpRenderTree/blackberry/DumpRenderTree.cpp:
      (BlackBerry::WebKit::dumpBackForwardListForWebView):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b15a093b
    • commit-queue@webkit.org's avatar
      WebSocket: Return type of send() should be void if hybi-10 protocol is chosen · a0c86a09
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65850
      
      Patch by Lamarque V. Souza <Lamarque.Souza@basyskom.com> on 2013-04-23
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      WebSocket API draft changed the return type of send() from boolean to void based on Simon
      Pieters' post to WHATWG. Firefox 8 and IE 10 already follow the specification, hence it should
      make sense for us to do the same when hybi protocol is used.
      
      Original patch by Yuta Kitamura  <yutak@chromium.org>
      
      Tests: http/tests/websocket/tests/hybi/bufferedAmount-after-close.html (updated)
             http/tests/websocket/tests/hybi/send-after-close-on-unload.html (updated)
      
      * Modules/websockets/WebSocket.cpp:
      (WebCore::WebSocket::send):
      * Modules/websockets/WebSocket.h:
      * Modules/websockets/WebSocket.idl:
      
      LayoutTests:
      
      Update tests and test results because WebSocket.send() now returns undefined when
      the hybi WebSocket protocol is used.
      
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close-expected.txt:
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy-expected.txt:
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close-in-busy.html:
      * http/tests/websocket/tests/hybi/bufferedAmount-after-close.html:
      * http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt:
      * http/tests/websocket/tests/hybi/send-after-close-on-unload.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148968 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0c86a09
    • carlosgc@webkit.org's avatar
      ScrollbarThemeComposite depends on Page/FrameView/ChromeClient · 79596616
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=21361
      
      Reviewed by Andreas Kling.
      
      Remove unused header includes.
      
      * platform/ScrollbarThemeComposite.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79596616
    • carlosgc@webkit.org's avatar
      [GTK] Add webkit_uri_request_get_http_headers to WebKit2 GTK+ API · 897d5e92
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112160
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * platform/network/soup/GOwnPtrSoup.cpp:
      (WTF::SoupMessageHeaders): Add freeOwnedGPtr implementation for
      SoupMessageHeaders.
      (WTF):
      * platform/network/soup/GOwnPtrSoup.h:
      (WTF):
      * platform/network/soup/ResourceRequest.h:
      (ResourceRequest):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessageHeaders): New function
      to update the given SoupMessageHeaders with the ResourceRequest
      headers.
      (WebCore::ResourceRequest::updateFromSoupMessageHeaders): New
      function to update the ResourceRequest headers with the given
      SoupMessageHeaders.
      (WebCore::ResourceRequest::updateSoupMessage): Use
      updateSoupMessageHeaders() to update the headers.
      (WebCore::ResourceRequest::toSoupMessage): Ditto.
      (WebCore::ResourceRequest::updateFromSoupMessage): Use
      updateFromSoupMessageHeaders to update the headers.
      
      Source/WebKit2:
      
      It allows to load requests with custom headers, or to update the
      headers of a request before being sent to the server in the
      WebKitWebPage::send-request callback.
      
      * UIProcess/API/gtk/WebKitURIRequest.cpp:
      (_WebKitURIRequestPrivate): Add SoupMessageHeaders.
      (webkit_uri_request_get_http_headers): Return the HTTP headers of
      the request as a SoupMessageHeaders if the request is HTTP. A new
      SoupMessageHeaders is created on demand using the existing headers
      of the request.
      (webkitURIRequestGetResourceRequest): Instead of returning a const
      reference of the internal ResourceRequest, set a request passed as
      a reference and update its HTTP headers using the
      SoupMessageHeaders if present.
      * UIProcess/API/gtk/WebKitURIRequest.h:
      * UIProcess/API/gtk/WebKitURIRequestPrivate.h:
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_load_request): Update to the new
      webkitURIRequestGetResourceRequest API.
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add
      webkit_uri_request_get_http_headers symbol.
      * UIProcess/API/gtk/tests/TestLoaderClient.cpp:
      (testWebPageURI):
      (testURIRequestHTTPHeaders):
      (serverCallback):
      (beforeAll):
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
      (willSendRequestForFrame): Update to the new
      webkitURIRequestGetResourceRequest API.
      
      Tools:
      
      * MiniBrowser/gtk/GNUmakefile.am: Add missing libsoup flags to
      CPPFLAGS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      897d5e92
    • akling@apple.com's avatar
      Clear StyleResolver state before returning from styleForElement(). · 0cc3dc0b
      akling@apple.com authored
      <http://webkit.org/b/115035>
      
      Reviewed by Antti Koivisto.
      
      From Blink r148687 by <inferno@chromium.org>.
      
      Source/WebCore:
      
      A cached element pointer in the resolver state was causing confusion because
      in some cases a subsequent call to styleForElement() would use a pointer to
      a different object that is at the same memory address as the previous one.
      
      Test: fast/css/reload-non-styled-element-crash.html
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::styleForElement):
      
      LayoutTests:
      
      * fast/css/reload-non-styled-element-crash-expected.txt: Added.
      * fast/css/reload-non-styled-element-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cc3dc0b
    • akling@apple.com's avatar
      XSSAuditor performance regression due to threaded parser changes. · f6e0cc15
      akling@apple.com authored
      <http://webkit.org/b/115037>
      <rdar://problem/13716069>
      
      Reviewed by Anders Carlsson.
      
      From Blink r148792 by <abarth@chromium.org>:
      
      The refactoring we did for the threaded parser introduced a performance
      regression in innerHTML because we'd boot up the XSSAuditor for fragment
      parsing. This CL returns to our earlier behavior of not booting up the
      XSSAuditor when parsing fragments.
      
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::HTMLDocumentParser):
      * html/parser/XSSAuditor.cpp:
      (WebCore::XSSAuditor::initForFragment):
      * html/parser/XSSAuditor.h:
      (XSSAuditor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6e0cc15
    • mikhail.pozdnyakov@intel.com's avatar
      [WK2] Make EFL WKView API shareable between ports · eb28eb93
      mikhail.pozdnyakov@intel.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114734
      
      Reviewed by Anders Carlsson.
      
      Source/WebKit2:
      
      EFL-independent part of WKView API (and its implementation) is now
      shareable between ports that use Coordinated Graphics and put to
      CoordinatedGraphics folders.
      
      * PlatformEfl.cmake:
      * UIProcess/API/C/CoordinatedGraphics/WKView.cpp: Renamed from Source/WebKit2/UIProcess/API/C/efl/WKView.cpp.
      (WKViewCreate):
      (WKViewInitialize):
      (WKViewGetSize):
      (WKViewSetSize):
      (WKViewSetViewClient):
      (WKViewIsFocused):
      (WKViewSetIsFocused):
      (WKViewIsVisible):
      (WKViewSetIsVisible):
      (WKViewGetContentScaleFactor):
      (WKViewSetContentScaleFactor):
      (WKViewGetContentPosition):
      (WKViewSetContentPosition):
      (WKViewSetUserViewportTranslation):
      (WKViewUserViewportToContents):
      (WKViewPaintToCurrentGLContext):
      (WKViewGetPage):
      (WKViewSetDrawsBackground):
      (WKViewGetDrawsBackground):
      (WKViewSetDrawsTransparentBackground):
      (WKViewGetDrawsTransparentBackground):
      (WKViewSetThemePath):
      (WKViewSuspendActiveDOMObjectsAndAnimations):
      (WKViewResumeActiveDOMObjectsAndAnimations):
      (WKViewSetShowsAsSource):
      (WKViewGetShowsAsSource):
      (WKViewExitFullScreen):
      * UIProcess/API/C/CoordinatedGraphics/WKView.h: Renamed from Source/WebKit2/UIProcess/API/C/efl/WKView.h.
      * UIProcess/API/C/efl/WKViewEfl.cpp: Added.
      (WKViewPaintToCairoSurface):
      (WKViewCreateSnapshot):
      * UIProcess/API/C/efl/WKViewEfl.h: Added.
      * UIProcess/API/efl/EwkView.cpp:
      (EwkView::EwkView):
      * UIProcess/API/efl/EwkView.h:
      * UIProcess/CoordinatedGraphics/WebView.cpp: Renamed from Source/WebKit2/UIProcess/efl/WebView.cpp.
      (WebKit):
      (WebKit::WebView::WebView):
      (WebKit::WebView::~WebView):
      (WebKit::WebView::initialize):
      (WebKit::WebView::setSize):
      (WebKit::WebView::setFocused):
      (WebKit::WebView::setVisible):
      (WebKit::WebView::setUserViewportTranslation):
      (WebKit::WebView::userViewportToContents):
      (WebKit::WebView::paintToCurrentGLContext):
      (WebKit::WebView::setThemePath):
      (WebKit::WebView::setDrawsBackground):
      (WebKit::WebView::drawsBackground):
      (WebKit::WebView::setDrawsTransparentBackground):
      (WebKit::WebView::drawsTransparentBackground):
      (WebKit::WebView::suspendActiveDOMObjectsAndAnimations):
      (WebKit::WebView::resumeActiveDOMObjectsAndAnimations):
      (WebKit::WebView::setShowsAsSource):
      (WebKit::WebView::showsAsSource):
      (WebKit::WebView::exitFullScreen):
      (WebKit::WebView::initializeClient):
      (WebKit::WebView::didChangeContentsSize):
      (WebKit::WebView::transformFromScene):
      (WebKit::WebView::transformToScene):
      (WebKit::WebView::coordinatedGraphicsScene):
      (WebKit::WebView::updateViewportSize):
      (WebKit::WebView::dipSize):
      (WebKit::WebView::createDrawingAreaProxy):
      (WebKit::WebView::setViewNeedsDisplay):
      (WebKit::WebView::displayView):
      (WebKit::WebView::scrollView):
      (WebKit::WebView::viewSize):
      (WebKit::WebView::isViewWindowActive):
      (WebKit::WebView::isViewFocused):
      (WebKit::WebView::isViewVisible):
      (WebKit::WebView::isViewInWindow):
      (WebKit::WebView::processDidCrash):
      (WebKit::WebView::didRelaunchProcess):
      (WebKit::WebView::pageClosed):
      (WebKit::WebView::toolTipChanged):
      (WebKit::WebView::setCursor):
      (WebKit::WebView::setCursorHiddenUntilMouseMoves):
      (WebKit::WebView::registerEditCommand):
      (WebKit::WebView::clearAllEditCommands):
      (WebKit::WebView::canUndoRedo):
      (WebKit::WebView::executeUndoRedo):
      (WebKit::WebView::screenToWindow):
      (WebKit::WebView::windowToScreen):
      (WebKit::WebView::doneWithKeyEvent):
      (WebKit::WebView::doneWithTouchEvent):
      (WebKit::WebView::createPopupMenuProxy):
      (WebKit::WebView::createContextMenuProxy):
      (WebKit::WebView::createColorChooserProxy):
      (WebKit::WebView::setFindIndicator):
      (WebKit::WebView::enterAcceleratedCompositingMode):
      (WebKit::WebView::exitAcceleratedCompositingMode):
      (WebKit::WebView::updateAcceleratedCompositingMode):
      (WebKit::WebView::didCommitLoadForMainFrame):
      (WebKit::WebView::didFinishLoadingDataForCustomRepresentation):
      (WebKit::WebView::customRepresentationZoomFactor):
      (WebKit::WebView::setCustomRepresentationZoomFactor):
      (WebKit::WebView::flashBackingStoreUpdates):
      (WebKit::WebView::findStringInCustomRepresentation):
      (WebKit::WebView::countStringMatchesInCustomRepresentation):
      (WebKit::WebView::updateTextInputState):
      (WebKit::WebView::handleDownloadRequest):
      (WebKit::WebView::convertToDeviceSpace):
      (WebKit::WebView::convertToUserSpace):
      (WebKit::WebView::didChangeViewportProperties):
      (WebKit::WebView::pageDidRequestScroll):
      (WebKit::WebView::didRenderFrame):
      (WebKit::WebView::pageTransitionViewportReady):
      * UIProcess/CoordinatedGraphics/WebView.h: Renamed from Source/WebKit2/UIProcess/efl/WebView.h.
      (WebCore):
      (WebKit):
      (WebView):
      (WebKit::WebView::size):
      (WebKit::WebView::isFocused):
      (WebKit::WebView::isVisible):
      (WebKit::WebView::setContentScaleFactor):
      (WebKit::WebView::contentScaleFactor):
      (WebKit::WebView::setContentPosition):
      (WebKit::WebView::contentPosition):
      (WebKit::WebView::pageRef):
      (WebKit::WebView::page):
      * UIProcess/CoordinatedGraphics/WebViewClient.cpp: Renamed from Source/WebKit2/UIProcess/efl/WebViewClient.cpp.
      (WebKit):
      (WebKit::WebViewClient::viewNeedsDisplay):
      (WebKit::WebViewClient::didChangeContentsSize):
      (WebKit::WebViewClient::webProcessCrashed):
      (WebKit::WebViewClient::webProcessDidRelaunch):
      (WebKit::WebViewClient::didChangeContentsPosition):
      (WebKit::WebViewClient::didRenderFrame):
      (WebKit::WebViewClient::didCompletePageTransition):
      (WebKit::WebViewClient::didChangeViewportAttributes):
      (WebKit::WebViewClient::didChangeTooltip):
      * UIProcess/CoordinatedGraphics/WebViewClient.h: Renamed from Source/WebKit2/UIProcess/efl/WebViewClient.h.
      (WebCore):
      (WebKit):
      * UIProcess/efl/WebViewEfl.cpp: Added.
      (WebKit):
      (WebKit::WebView::create):
      (WebKit::WebViewEfl::WebViewEfl):
      (WebKit::WebViewEfl::setEwkView):
      (WebKit::WebViewEfl::paintToCairoSurface):
      (WebKit::WebViewEfl::createPopupMenuProxy):
      (WebKit::WebViewEfl::createContextMenuProxy):
      (WebKit::WebViewEfl::setCursor):
      (WebKit::WebViewEfl::updateTextInputState):
      (WebKit::WebViewEfl::handleDownloadRequest):
      * UIProcess/efl/WebViewEfl.h: Added.
      (WebKit):
      (WebViewEfl):
      (WebKit::WebViewEfl::ewkView):
      
      Tools:
      
      * TestWebKitAPI/PlatformEfl.cmake:
      * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
      
          Updated project files accordingly to updated WKView API files
          structure.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb28eb93
    • akling@apple.com's avatar
      Add Benjamin Poulain's @apple.com address to his entry. Unreviewed. · 50461b8e
      akling@apple.com authored
      
      * Scripts/webkitpy/common/config/contributors.json:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50461b8e
    • akling@apple.com's avatar
      Speed up ElementData::getAttributeItem(), which is hot. · 971dffb5
      akling@apple.com authored
      <http://webkit.org/b/115031>
      
      Reviewed by Antti Koivisto.
      
      From Blink r148622 by <cevans@chromium.org>.
      
      The previous version had a couple of issues:
      - Incurred new WTF::Vector::operator[] checks.
      - Had a branch in _every_ loop iteration that checked whether the storage was Vector or array[] backed.
      
      Both these issues are fixed, and CloneNodes.html seems reliably at +2%.
      I also believe GetElement.html is maybe +1%.
      
      For WebKit, also applied the same optimization to getAttributeItemIndex().
      
      * dom/Element.h:
      (WebCore::ElementData::attributeBase):
      (WebCore::ElementData::getAttributeItemIndex):
      (WebCore::ElementData::getAttributeItem):
      (WebCore::ElementData::attributeItem):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148961 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      971dffb5
    • allan.jensen@digia.com's avatar
      Baselines for fast/css/image-rendering.html · 1c96c9fe
      allan.jensen@digia.com authored
      Unreviewed gardening.
      
      * fast/css/image-rendering-expected.png: Added.
      * fast/css/image-rendering-expected.txt: Added.
      * platform/gtk-wk1/fast/css/image-rendering-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c96c9fe
    • charles.wei@torchmobile.com.cn's avatar
      [BlackBerry] Need to send out change event for date/color picker · 0454b81b
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=114942
      
      Reviewed by Carlos Garcia Campos.
      
      We need to instruct the FormControlElements to send out 'change' event
      when the user makes the selection and closes the PagePopup for date/color.
      
      * WebCoreSupport/ColorPickerClient.cpp:
      (WebCore::ColorPickerClient::setValueAndClosePopup):
      * WebCoreSupport/DatePickerClient.cpp:
      (WebCore::DatePickerClient::setValueAndClosePopup):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0454b81b
    • allan.jensen@digia.com's avatar
      Remove the text expecation again to force the bots to fail and generate png expectations. · ff24f636
      allan.jensen@digia.com authored
      Unreviewed ungardening.
      
      * fast/css/image-rendering-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff24f636
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. Rebaselining after r148944. · 84ed7f11
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations:
      * platform/gtk/fast/table/giantRowspan-expected.txt:
      * platform/gtk/fast/table/giantRowspan2-expected.png:
      * platform/gtk/fast/table/giantRowspan2-expected.txt:
      * platform/gtk/tables/mozilla/bugs/bug133756-1-expected.txt:
      * platform/gtk/tables/mozilla/bugs/bug133756-2-expected.png:
      * platform/gtk/tables/mozilla/bugs/bug133756-2-expected.txt:
      * platform/gtk/tables/mozilla/bugs/bug220536-expected.png:
      * platform/gtk/tables/mozilla/bugs/bug220536-expected.txt:
      * platform/gtk/tables/mozilla/bugs/bug8858-expected.txt:
      * platform/gtk/tables/mozilla/core/bloomberg-expected.png:
      * platform/gtk/tables/mozilla/core/bloomberg-expected.txt:
      * platform/gtk/tables/mozilla/core/row_span-expected.png:
      * platform/gtk/tables/mozilla/core/row_span-expected.txt:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug23847-expected.png:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug23847-expected.txt:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug65372-expected.png:
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug65372-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148957 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84ed7f11
    • graouts@apple.com's avatar
      Initial advance of text runs should be taken into account · d66f4a30
      graouts@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114949
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Keep track of complex text runs' initial advance by adding a new
      member to GlyphBuffer and adding the initial advance of any non-first
      text run to the advance of the last glyph added for the previous text run.
      Additionally, we now correctly handle advance values in the y-axis.
      
      Test: fast/text/complex-initial-advance.html
      
      * WebCore.exp.in:
      Add support for new WebKitSystemInterface API.
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::drawGlyphBuffer):
      Take into account the buffer's initial advance in the y-axis to adjust
      the point at which to draw the buffers. Additionally, keep track of advances
      on the y-axis as well as the x-axis (which we already were doing) as we iterate
      through glyphs and adjust the start point.
      (WebCore::Font::drawEmphasisMarks):
      Adopt change of GlyphBuffer::advanceAt() return type.
      * platform/graphics/GlyphBuffer.h:
      Removing the WINCE-specific GlyphBufferAdvance struct since heights are now necessary.
      (WebCore::GlyphBufferAdvance::GlyphBufferAdvance):
      New default constructor for GlyphBufferAdvance to support the m_initialAdvance member.
      (WebCore::GlyphBuffer::setInitialAdvance):
      (WebCore::GlyphBuffer::initialAdvance):
      New APIs to get and set the initial advance for a glyph buffer.
      (WebCore::GlyphBuffer::advanceAt):
      Return a GlyphBufferAdvance rather than a float which used to be only
      the glyph buffer's x-axis advance. This is necessary to handle deltas
      on the y-axis as well (see WebCore::Font::drawGlyphBuffer).
      * platform/graphics/GlyphBuffer.h:
      (GlyphBuffer):
      (WebCore::GlyphBuffer::setInitialAdvance):
      * platform/graphics/WidthIterator.cpp:
      (WebCore::WidthIterator::advanceInternal):
      (WebCore::WidthIterator::advanceOneCharacter):
      Adopt change of GlyphBuffer::advanceAt() return type.
      * platform/graphics/cairo/FontCairo.cpp:
      (WebCore::Font::drawGlyphs):
      Adopt change of GlyphBuffer::advanceAt() return type.
      * platform/graphics/mac/ComplexTextController.cpp:
      (WebCore::ComplexTextController::advance):
      When processing the first text run, set that run's initial advance as
      the glyph buffer's initial advance.
      (WebCore::ComplexTextController::adjustGlyphsAndAdvances):
      Represent the initial advance for a text run by adjusting the advance
      of the last glyph of the previous text run in the glyph buffer.
      * platform/graphics/mac/ComplexTextController.h:
      (WebCore::ComplexTextController::ComplexTextRun::initialAdvance):
      (ComplexTextRun):
      New API to read the inital advance of a complex text run.
      * platform/graphics/mac/ComplexTextControllerCoreText.mm:
      (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
      Obtain the text run's initial advance via the new wkCTRunGetInitialAdvance
      WebKitSystemInterface API.
      * platform/graphics/qt/FontQt.cpp:
      (WebCore::Font::drawGlyphs):
      Adopt change of GlyphBuffer::advanceAt() return type.
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      Add support for the new wkCTRunGetInitialAdvance WebKitSystemInterface API.
      * platform/wx/wxcode/cairo/non-kerned-drawing.cpp:
      (WebCore::drawTextWithSpacing):
      Adopt change of GlyphBuffer::advanceAt() return type.
      * rendering/svg/SVGTextRunRenderingContext.cpp:
      (WebCore::SVGTextRunRenderingContext::drawSVGGlyphs):
      Adopt change of GlyphBuffer::advanceAt() return type.
      
      Source/WebKit/mac:
      
      Adding support for new method CTRunGetInitialAdvance in WebKitSystemInterface.
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2:
      
      Adding support for new method CTRunGetInitialAdvance in WebKitSystemInterface.
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      WebKitLibraries:
      
      * WebKitSystemInterface.h:
      * libWebKitSystemInterfaceLion.a:
      * libWebKitSystemInterfaceMountainLion.a:
      
      LayoutTests:
      
      * fast/text/complex-initial-advance-expected.html: Added.
      * fast/text/complex-initial-advance.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d66f4a30
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 24151b4c
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding failure expectations for two DOM4 constructors tests
      that started failing after enabling the subpixel layout due to LayoutUnit overflows.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24151b4c
    • commit-queue@webkit.org's avatar
      [EFL] EFL gardening · 8502def7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115013
      
      Remove editing/selection/doubleclick-whitespace-crash.html and
      editing/selection/doubleclick-whitespace-img-crash.html from TestExpectations
      after r144221.
      
      Unreviewed, EFL gardening.
      
      Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2013-04-23
      
      * platform/efl-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8502def7
    • commit-queue@webkit.org's avatar
      [Texmap] Don't paint to an intermediate surface when the result is going to be... · eff5f918
      commit-queue@webkit.org authored
      [Texmap] Don't paint to an intermediate surface when the result is going to be clipped out completely.
      https://bugs.webkit.org/show_bug.cgi?id=115015
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-23
      Reviewed by Allan Sandfeld Jensen.
      
      Maintain a clipBounds rectangle in TextureMapper, and test it against the bounds of an intermediate
      surface before it is painted.
      This allows us to opt out completely of painting into the surface if the result is going to be optimized
      out by the GPU clipping.
      
      Covered by tests in compositing/overlap-blending.
      
      * platform/graphics/texmap/TextureMapper.h:
      (TextureMapper):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGL::clipBounds):
      (WebCore):
      * platform/graphics/texmap/TextureMapperGL.h:
      * platform/graphics/texmap/TextureMapperImageBuffer.h:
      * platform/graphics/texmap/TextureMapperLayer.cpp:
      (WebCore::TextureMapperLayer::paintUsingOverlapRegions):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eff5f918
    • commit-queue@webkit.org's avatar
      [Coordinated Graphics] Remove the lockAnimations code path · 6802073b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114899
      
      Source/WebCore:
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-23
      Reviewed by Benjamin Poulain.
      
      Remove locking/unlocking animations and checks for the lock state.
      The animation locking has been tested to create not-so-smooth animations,
      while the use case where the composited animations run out of sync from
      the non-composited animations is very rare and unnoticeable.
      
      No new tests, removing functionality that wasn't tested in the first place.
      
      * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:
      (WebCore::CoordinatedGraphicsScene::CoordinatedGraphicsScene):
      (WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext):
      (WebCore::CoordinatedGraphicsScene::commitSceneState):
      * platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:
      (CoordinatedGraphicsScene):
      
      Source/WebKit2:
      
      Remove locking/unlocking animations and checks for the lock state.
      The animation locking has been tested to create not-so-smooth animations,
      while the use case where the composited animations run out of sync from
      the non-composited animations is very rare and unnoticeable.
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-23
      Reviewed by Benjamin Poulain.
      
      * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
      * UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.messages.in:
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
      (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
      (WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6802073b
    • allan.jensen@digia.com's avatar
      [Qt][WK1] MemoryCache is not cleaned by default · 7a61d006
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=111443
      
      Reviewed by Jocelyn Turcotte.
      
      Enable deletion of dead resources in the memory cache as long as the MemoryCache is enabled.
      
      This can be disabled or tuned using the dynamic property  "_q_deadDecodedDataDeletionInterval".
      The default is set to match that of most other ports and WK2 with cache in WebBrowsing mode.
      
      * Api/qwebsettings.cpp:
      (QWebSettings::setObjectCacheCapacities):
      * WebCoreSupport/InitWebCoreQt.cpp:
      (WebCore::initializeWebCoreQt):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148951 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a61d006
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Changing failure mark to skip after r148948. · 0e7afb73
      zarvai@inf.u-szeged.hu authored
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e7afb73
    • allan.jensen@digia.com's avatar
      Respect image-rendering setting for determing image-rendering quality · 18ac8770
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113405
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Remove the CSS4 values as they are not ready for implementation yet.
      We still parse the -webkit-crisp-edges and SVG compatibility values to
      be closer to the the partial support in Gecko and Presto.
      
      Tests: fast/css/image-rendering-canvas.html
             fast/css/image-rendering-parsing.html
             fast/css/image-rendering.html
             fast/css/optimize-contrast-image.html
      
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EImageRendering):
      * css/CSSValueKeywords.in:
      * css/SVGCSSParser.cpp:
      (WebCore::CSSParser::parseSVGValue):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderHTMLCanvas.cpp:
      (WebCore::RenderHTMLCanvas::paintReplaced):
      * rendering/style/RenderStyleConstants.h:
      
      Tools:
      
      Remove CSS4 Images option. It is not ready for implementation.
      
      * Scripts/webkitperl/FeatureList.pm:
      
      LayoutTests:
      
      Moved the two tests of image-rendering out of CSS3 since it was removed from the final recommendation.
      Added tests of the supported values, and upgraded one test to a reference test so that it now tests
      that -webkit-optimize-contrast gets converted to and treated as -webkit-crisp-edges.
      
      Baselines for fast/css/image-rendering.html will be uploaded later when the bots have generated them.
      
      * css3/images/optimize-contrast-image-expected.png: Removed.
      * css3/images/optimize-contrast-image-expected.txt: Removed.
      * fast/css/image-rendering-canvas-expected.png: Renamed from LayoutTests/css3/images/optimize-contrast-canvas-expected.png.
      * fast/css/image-rendering-canvas-expected.txt: Renamed from LayoutTests/css3/images/optimize-contrast-canvas-expected.txt.
      * fast/css/image-rendering-canvas.html: Renamed from LayoutTests/css3/images/optimize-contrast-canvas.html.
      * fast/css/image-rendering-expected.txt: Added.
      * fast/css/image-rendering-parsing-expected.txt: Added.
      * fast/css/image-rendering-parsing.html: Renamed from LayoutTests/fast/css/image-set-parsing.html.
      * fast/css/image-rendering.html: Added.
      * fast/css/optimize-contrast-image-expected.html: Added.
      * fast/css/optimize-contrast-image.html: Renamed from LayoutTests/css3/images/optimize-contrast-image.html.
      * fast/css/script-tests/image-rendering-parsing.js: Added.
      (testImageRendering):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18ac8770
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · de1404ce
      zarvai@inf.u-szeged.hu authored
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de1404ce
    • rniwa@webkit.org's avatar
      Unreviewed, rolling out r148923. · 4c809472
      rniwa@webkit.org authored
      http://trac.webkit.org/changeset/148923
      https://bugs.webkit.org/show_bug.cgi?id=115020
      
      The patch causes multiple failures in CSS, canvas tests
      (Requested by zdobersek on #webkit).
      
      
      Source/WebCore:
      
      * platform/graphics/cairo/PlatformContextCairo.cpp:
      (WebCore::PlatformContextCairo::drawSurfaceToContext):
      
      LayoutTests:
      
      * fast/canvas/script-tests/shadow-image.js: Removed.
      * fast/canvas/shadow-image-expected.txt: Removed.
      * fast/canvas/shadow-image.html: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c809472
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed EFL gardening. · 7672f87e
      ch.dumez@sisa.samsung.com authored
      Unskip several test cases that are no longer crashing after r148945.
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148946 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7672f87e
    • commit-queue@webkit.org's avatar
      [EFL] Assertion Failures in Coordinated Graphics after r148433 · d5ca2745
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114731
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-22
      Reviewed by Gyuyoung Kim.
      
      The assert is incorrect. In some cases in coordinated graphics we may have a backing store
      and drawsContent would be set to false.
      
      No new tests.
      
      * platform/graphics/texmap/TextureMapperLayer.cpp:
      (WebCore::TextureMapperLayer::paintSelf):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5ca2745
    • commit-queue@webkit.org's avatar
      table's text aligned on top instead of center because of rowspan · 1fdc04cc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=18092
      
      Patch by Suchit Agrawal <a.suchit@samsung.com> on 2013-04-22
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      Last row in the rowspan is not getting the height of rowspan cell because there is not
      enough rows present below rowspan cell and we are strictly applying height of rowspan
      to the row which should lay last in the rowspan based of rowspan value.
      
      When row contains rowspan cell and it is last row of the table then
      rowspan height is adding to last row of the table.
      
      Test: fast/table/Rowspan-value-more-than-number-of-rows-present.html
      
      It calculates logical height of the rows in the table.
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::calcRowLogicalHeight):
      
      LayoutTests:
      
      Added test cases, based on rowspan issue.
      * fast/table/Rowspan-value-more-than-number-of-rows-present-expected.txt: Added.
      * fast/table/Rowspan-value-more-than-number-of-rows-present.html: Added.
      
      Test cases need to do rebaseline in efl, gtk and mac platforms.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      
      Test case results are updated in qt platform.
      * platform/qt/fast/table/giantRowspan-expected.png:
      * platform/qt/fast/table/giantRowspan-expected.txt:
      * platform/qt/fast/table/giantRowspan2-expected.png:
      * platform/qt/fast/table/giantRowspan2-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug133756-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug133756-1-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug133756-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug133756-2-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug220536-expected.png:
      * platform/qt/tables/mozilla/bugs/bug220536-expected.txt:
      * platform/qt/tables/mozilla/bugs/bug8858-expected.txt:
      * platform/qt/tables/mozilla/core/bloomberg-expected.png:
      * platform/qt/tables/mozilla/core/bloomberg-expected.txt:
      * platform/qt/tables/mozilla/core/row_span-expected.png:
      * platform/qt/tables/mozilla/core/row_span-expected.txt:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug23847-expected.png:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug65372-expected.png:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug65372-expected.txt:
      * tables/mozilla/core/bloomberg-expected.txt:
      * tables/mozilla/core/row_span-expected.txt:
      * tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
      * tables/mozilla_expected_failures/bugs/bug23847-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fdc04cc
  2. 22 Apr, 2013 1 commit
    • mihnea@adobe.com's avatar
      [CSS Regions] Region's float parent doesn't size according to region size but to content node size · bae154af
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=111332
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Tests: fast/regions/intrinsic-sized-regions.html
             fast/regions/region-with-float-parent.html
      
      The patch ensures that the computation of region's preferred widths
      takes into account the region width/min-width if these values are specified.
      Also implemented the computation of intrinsic widths for a region,
      based on the min/max preferred widths of the associated flow thread.
      
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::computeIntrinsicLogicalWidths):
      (WebCore):
      (WebCore::RenderRegion::computePreferredLogicalWidths):
      * rendering/RenderRegion.h:
      (RenderRegion):
      
      LayoutTests:
      
      Added tests for intrinsic and preferred width computation for region.
      
      * fast/regions/intrinsic-sized-regions-expected.txt: Added.
      * fast/regions/intrinsic-sized-regions.html: Added.
      * fast/regions/region-with-float-parent-expected.txt: Added.
      * fast/regions/region-with-float-parent.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bae154af