1. 05 Jun, 2012 34 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry]Web Inspector highlight is slow · 0b9d4c0b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88331
      
      Patch by Konrad Piascik <kpiascik@rim.com> on 2012-06-05
      Reviewed by Rob Buis.
      
      Highlight is slow on large pages because of constant repaint calls.
      Change to use the accelerated layer highlight all the time.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::renderContents):
      * WebCoreSupport/InspectorClientBlackBerry.cpp:
      (WebCore::InspectorClientBlackBerry::highlight):
      (WebCore::InspectorClientBlackBerry::hideHighlight):
      * WebCoreSupport/InspectorOverlay.cpp:
      (WebCore::InspectorOverlay::clear):
      (WebCore::InspectorOverlay::update):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b9d4c0b
    • commit-queue@webkit.org's avatar
      [GTK] Fix two more memory leaks in DRT · c712e5c8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88255
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-06-05
      Reviewed by Martin Robinson.
      
      Fixed memory leaks in GTK's DRT code.
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (dumpHistoryItem): webkit_web_history_item_get_target() returns a
      g_strdup()'d string. So, use GOwnPtr to manage memory automatically.
      * DumpRenderTree/gtk/PixelDumpSupportGtk.cpp:
      (createBitmapContextFromWebView): Free the cairo surface.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c712e5c8
    • commit-queue@webkit.org's avatar
      [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium · 794dd9a3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87911
      
      Patch by Seigo Nonaka <nona@chromium.org> on 2012-06-05
      Reviewed by Ryosuke Niwa.
      
      Add an API for retreieving each character bounds in composition text.
      This API is necessary for implementing IMR_QUERYCHARPOSITION message in Windows.
      The message is used by Japanese IME for showing their window at the correct position.
      
      * public/WebWidget.h:
      (WebWidget):
      (WebKit::WebWidget::compositionCharacterBounds):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::compositionCharacterBounds):
      (WebKit):
      * src/WebViewImpl.h:
      (WebViewImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      794dd9a3
    • carlosgc@webkit.org's avatar
      [GTK] Add webkit_download_get_received_data_length to WebKit2 GTK+ API · 125575b1
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88323
      
      Reviewed by Martin Robinson.
      
      * UIProcess/API/gtk/WebKitDownload.cpp:
      (webkit_download_get_received_data_length):
      * UIProcess/API/gtk/WebKitDownload.h:
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
      * UIProcess/API/gtk/tests/TestDownloads.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      125575b1
    • commit-queue@webkit.org's avatar
      CSS 2.1 failure: border-conflict-element-021a · ab4c99dc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86885
      
      Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-06-05
      Reviewed by Julien Chaffraix.
      
      Source/WebCore:
      
      When two adjacent table row groups (thead, tbody, tfoot) have the same border-width
      and the same border-style in a 'border-collapse: collapse' table the color of the border
      from the top-most table row wins.
      
      Tests: fast/table/border-collapsing/adjacent-row-groups-multi.html
             fast/table/border-collapsing/adjacent-row-groups.html
      
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::paintObject):
      Currently each row group is sent for paint from top (firstChild) to bottom thereby causing
      the borders of the bottom-most row group (which is painted last) to overlap over the
      previous row-group. This breaks the precedence for collapsed borders between adjacent cells.
      
      This fix thus reverses the order in which the row-groups/sections are passed for painting.
      Additional change has been done to iterate over the RenderTableSections directly.
      
      (WebCore):
      (WebCore::RenderTable::bottomSection):
      * rendering/RenderTable.h:
      New function has been added to obtain the last section of the table.
      
      (RenderTable):
      * rendering/RenderTableSection.h:
      (RenderTableSection):
      RenderTableSection's paint() method has now been made public so as to make it accessible
      from RenderTable.
      
      LayoutTests:
      
      * css2.1/20110323/border-conflict-element-021a-expected.html: Added.
      * css2.1/20110323/border-conflict-element-021a.htm: Added.
      Added ref test under the css2.1 test-suite for border-conflict-element-021a.
      
      * fast/table/border-collapsing/adjacent-row-groups-expected.html: Added.
      * fast/table/border-collapsing/adjacent-row-groups.html: Added.
      Added ref test for verifying 'border-collapse: collapse' table rendering when two
      adjacent table row-groups have the same border-width and the same border-style. In
      such a case the color of the border from the top-most table row-group wins.
      
      * fast/table/border-collapsing/adjacent-row-groups-multi.html: Added.
      * fast/table/border-collapsing/adjacent-row-groups-multi-expected.html: Added.
      Additional ref test added for verifying 'border-collapse: collapse' table rendering
      for adjacent table row-groups when more than one table headers and/or footers are specified.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab4c99dc
    • loislo@chromium.org's avatar
      Chromium unreviewed sheriffing: enable blob tests that are passing since r119454. · 00c399e6
      loislo@chromium.org authored
      * platform/chromium/TestExpectations:
      fast/filesystem/file-writer-gc-blob.html
      fast/filesystem/workers/file-writer-sync-truncate-extend.html
      fast/filesystem/workers/file-writer-gc-blob.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00c399e6
    • ossy@webkit.org's avatar
      [Qt][Win] Fix IDL dependency generation · e4a15dfa
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88304
      
      Reviewed by Tor Arne Vestbø.
      
      * DerivedSources.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4a15dfa
    • loislo@chromium.org's avatar
      Unreviewed, rolling out r119467, r119471, and r119476. · cdd645d8
      loislo@chromium.org authored
      http://trac.webkit.org/changeset/119467
      http://trac.webkit.org/changeset/119471
      http://trac.webkit.org/changeset/119476
      https://bugs.webkit.org/show_bug.cgi?id=88332
      
      it broke chromium-mac static initializers test.\ (Requested by
      loislo on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-05
      
      Source/WebCore:
      
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * platform/graphics/FontPlatformData.h:
      (FontPlatformData):
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      (WebCore::FontPlatformData::platformDataInit):
      (WebCore::FontPlatformData::platformDataAssign):
      * platform/graphics/harfbuzz/ng/HarfBuzzFace.cpp: Removed.
      * platform/graphics/harfbuzz/ng/HarfBuzzFace.h: Removed.
      * platform/graphics/harfbuzz/ng/HarfBuzzFaceCoreText.cpp: Removed.
      * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp: Removed.
      * platform/graphics/harfbuzz/ng/HarfBuzzShaper.h: Removed.
      * platform/graphics/mac/FontComplexTextMac.cpp:
      (WebCore::Font::selectionRectForComplexText):
      (WebCore::Font::drawComplexText):
      (WebCore::Font::floatWidthForComplexText):
      (WebCore::Font::offsetForPositionForComplexText):
      
      LayoutTests:
      
      * platform/chromium-mac/css3/font-feature-settings-rendering-expected.png: Removed.
      * platform/chromium-mac/css3/font-feature-settings-rendering-expected.txt: Removed.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cdd645d8
    • commit-queue@webkit.org's avatar
      [Qt] Building when a top directory is named Source · 75f54894
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77727
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-06-05
      Reviewed by Tor Arne Vestbø.
      
      Change regex to only replace the last instance of OUT_PWD.
      
      * qmake/mkspecs/features/default_pre.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75f54894
    • apavlov@chromium.org's avatar
      Web Inspector: SHIFT key as helper to color adjustment in color picker · b6bf2ed8
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88319
      
      Reviewed by Pavel Feldman.
      
      With Shift depressed, the dragger in the color picker will snap to the horizontal
      or vertical axis while dragging, depending on which axis offset is greater.
      
      * inspector/front-end/Spectrum.js:
      (WebInspector.Spectrum.colorDragStart):
      (WebInspector.Spectrum.colorDrag):
      (WebInspector.Spectrum.draggable.move):
      (WebInspector.Spectrum.draggable.start):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6bf2ed8
    • caseq@chromium.org's avatar
      Web Inspector: aggregate all events before first frame into a fake frame · 3e51a839
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88229
      
      - in Timeline's frame mode, start aggregating events by frame even before we get first frame marker.
      
      * inspector/front-end/TimelineFrameController.js:
      (WebInspector.TimelineFrameController.prototype._addRecord):
      (WebInspector.TimelineFrameController.prototype._flushFrame):
      (WebInspector.TimelineFrameController.prototype._createFrame):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e51a839
    • charles.wei@torchmobile.com.cn's avatar
      JSC:need to implement Dictionary::getWithUndefinedOrNullCheck for IDB · c0e13ca8
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=88283
      
      Reviewed by Kentaro Hara.
      
      No new tests, idb not working for JSC yet.
      
      * bindings/js/Dictionary.cpp:
      (WebCore::Dictionary::getWithUndefinedOrNullCheck):
      * bindings/js/Dictionary.h:
      (Dictionary):
      * bindings/js/JSDictionary.cpp:
      (WebCore::JSDictionary::getWithUndefinedOrNullCheck):
      (WebCore):
      * bindings/js/JSDictionary.h:
      (JSDictionary):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0e13ca8
    • rwlbuis@webkit.org's avatar
      Hit ASSERT when editing attribute value in Element in SVG Document · d98a98e2
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88179
      
      Reviewed by Pavel Feldman.
      
      Test setting attribute on non HTML element.
      
      * inspector/elements/set-attribute-non-html-expected.txt: Added.
      * inspector/elements/set-attribute-non-html.svg: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d98a98e2
    • commit-queue@webkit.org's avatar
      Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'. · 3401b2d0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73176
      
      Patch by Dongwoo Im <dw.im@samsung.com> on 2012-06-05
      Reviewed by Adam Barth.
      
      Two more APIs are added in Custom Scheme Handler specification.
      http://dev.w3.org/html5/spec/Overview.html#custom-handlers
      One is 'isProtocolHandlerRegistered' to query whether the specific URL
      is registered or not.
      The other is 'unregisterProtocolHandler' to remove the registered URL.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      * Source/cmakeconfig.h.cmake: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      Source/WebCore:
      
      Test: fast/dom/unregister-protocol-handler.html
      
      * Configurations/FeatureDefines.xcconfig: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      * loader/EmptyClients.h: Add prototypes.
      (EmptyChromeClient):
      (WebCore::EmptyChromeClient::isProtocolHandlerRegistered):
      (WebCore::EmptyChromeClient::unregisterProtocolHandler):
      * page/ChromeClient.h:
      (ChromeClient):
      * page/NavigatorRegisterProtocolHandler.cpp:
      (WebCore):
      (WebCore::customHandlersStateString):
      (WebCore::NavigatorRegisterProtocolHandler::isProtocolHandlerRegistered): Query if the handler is registered.
      (WebCore::NavigatorRegisterProtocolHandler::unregisterProtocolHandler): Unregister the registered handler.
      * page/NavigatorRegisterProtocolHandler.h:
      (NavigatorRegisterProtocolHandler):
      * page/NavigatorRegisterProtocolHandler.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      Source/WebKit/efl:
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      (WebCore::customHandlerDataCreate):
      (WebCore::customHandlerDataDelete):
      (WebCore::ChromeClientEfl::registerProtocolHandler):
      (WebCore):
      (WebCore::ChromeClientEfl::isProtocolHandlerRegistered): Query if the handler is registered.
      (WebCore::ChromeClientEfl::unregisterProtocolHandler): Unregister the registered handler.
      * WebCoreSupport/ChromeClientEfl.h:
      (ChromeClientEfl):
      * ewk/ewk_custom_handler.cpp:
      (ewk_custom_handler_is_protocol_handler_registered): Query if the handler is registered.
      (ewk_custom_handler_unregister_protocol_handler): Unregister the registered handler.
      * ewk/ewk_custom_handler_private.h: Adds private function.
      * ewk/ewk_view.h: Adds enumeration.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      * win/tools/vsprops/FeatureDefinesCairo.vsprops: Add a macro 'ENABLE_CUSTOM_SCHEME_HANDLER'.
      
      LayoutTests:
      
      * fast/dom/unregister-protocol-handler-expected.txt: Added.
      * fast/dom/unregister-protocol-handler.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3401b2d0
    • morrita@google.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=88029 · f3a7a450
      morrita@google.com authored
      content-element-api.html and shadow-element.html depend on V8.
      
      Reviewed by Kentaro Hara.
      
      Replaced typeof checking with comparison.
      
      * fast/dom/shadow/content-element-api.html:
      * fast/dom/shadow/shadow-element.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3a7a450
    • commit-queue@webkit.org's avatar
      [EFL][WK2] WebKit2-EFL does not link with gold linker · e8e600d7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88295
      
      Unreviewed. Fix linking when using gold linker.
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-06-05
      
      * PlatformEfl.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8e600d7
    • kinuko@chromium.org's avatar
      Chromium tests: "Add support for the Blob constructor" [r115582] regressed blob layout tests · 345412f1
      kinuko@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85174
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      This fixes a crash problem which could happen when the constructor is
      given an array which contains String-type item(s).
      
      There're still some Text mismatches between v8 results and
      JSC results, most of them are v8 not throwing exception
      when it is given an object whose toString() method throws
      exception.  (The issue will be addresse in a separate patch.)
      
      Test: fast/files/blob-constructor.html
      
      * bindings/v8/custom/V8BlobCustom.cpp:
      (WebCore::V8Blob::constructorCallback):
      
      LayoutTests:
      
      Changing blob-constructor.html label from CRASH to TEXT.
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      345412f1
    • haraken@chromium.org's avatar
      Remove unnecessary constructor of SelectorQueryCache · b9d70563
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87942
      
      Reviewed by Ryosuke Niwa.
      
      Per the comment from darin@ (https://bugs.webkit.org/show_bug.cgi?id=87942#c27),
      this patch removes an inline constructor that has no arguments.
      To have the compiler generate the constructor,
      this patch also removes WTF_MAKE_NONCOPYABLE().
      
      No tests. No change in behavior.
      
      * dom/SelectorQuery.h:
      (SelectorQueryCache):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9d70563
    • haraken@chromium.org's avatar
      Remove unused methods from SelectorQuery.h · b1edbad6
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88289
      
      Reviewed by Antti Koivisto.
      
      This patch removes SelectorDataList::size() and
      SelectorDataList::SelectorDataList().
      SelectorDataList::size() is not used by anybody.
      SelectorDataList::SelectorDataList() can be auto-generated
      by a compiler.
      
      No tests. No change in behavior.
      
      * dom/SelectorQuery.cpp:
      * dom/SelectorQuery.h:
      (SelectorDataList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1edbad6
    • bashi@chromium.org's avatar
      [Chromium] Unreviewed test expectations update · e3413993
      bashi@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3413993
    • mario@webkit.org's avatar
      [GTK][WK2] Implement API for Geolocation permission requests in the GTK port · 51f65e5a
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83879
      
      Reviewed by Carlos Garcia Campos.
      
      Source/WebKit2:
      
      Added a new kind of permission request for supporting the
      Geolocation API in WebKit2GTK+.
      
      New WebKitGeolocationPermissionRequest class, implementing the
      WebKitPermissionRequest interface, to enabling client applications
      to allow or deny geolocation permission requests.
      
      * GNUmakefile.list.am: Added new files.
      * UIProcess/API/gtk/WebKitGeolocationPermissionRequest.cpp: Added.
      (_WebKitGeolocationPermissionRequestPrivate):
      (webkitGeolocationPermissionRequestAllow):
      (webkitGeolocationPermissionRequestDeny):
      (webkit_permission_request_interface_init):
      (webkit_geolocation_permission_request_init):
      (webkitGeolocationPermissionRequestFinalize):
      (webkit_geolocation_permission_request_class_init):
      (webkitGeolocationPermissionRequestCreate):
      * UIProcess/API/gtk/WebKitGeolocationPermissionRequest.h: Added.
      (_WebKitGeolocationPermissionRequest):
      (_WebKitGeolocationPermissionRequestClass):
      * UIProcess/API/gtk/WebKitGeolocationPermissionRequestPrivate.h: Added.
      
      Include WKGeolocationPermissionRequest.h in WebKitPrivate.h, so we
      can use it from the new WebKitGeolocationPermissionRequest class.
      
      * UIProcess/API/gtk/WebKitPrivate.h: Added new include.
      
      Implement geolocation permission requests in the UI client.
      
      * UIProcess/API/gtk/WebKitUIClient.cpp:
      (decidePolicyForGeolocationPermissionRequest): Create a new
      instance of the WebKitGeolocationPermissionRequest class and call
      to webkitWebViewMakePermissionRequest().
      (attachUIClientToView): Provide an implementation function for
      decidePolicyForGeolocationPermissionRequest.
      * UIProcess/API/gtk/WebKitWebView.h: Add new element to
      WebKitPermissionRequestType enumeration for geolocation requests.
      * UIProcess/API/gtk/webkit2.h: Added header file for
      WebKitGeolocationPermissionRequest
      
      New unit tests to test allowing and denying permission requests.
      
      * UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
      (testWebViewPermissionRequests): New test that loads a simple HTML
      with JavaScript code requesting the current location.
      (beforeAll): Added new test.
      
      Updated documentation files.
      
      * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml:
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
      
      Tools:
      
      Make minibrowser connect to the new 'permission requests' signal
      to allow users handle the Geolocation permission requests.
      
      * MiniBrowser/gtk/BrowserWindow.c:
      (geolocationRequestDialogCallback): Callback for the dialog asking
      the user for allowing or not geolocation permission requests.
      (webViewDecidePermissionRequest): Launch a dialog to ask the user
      whether to allow or deny geolocation permission requests.
      (browserWindowConstructed): Connect to 'permission-request' signal.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51f65e5a
    • tkent@chromium.org's avatar
      Build fix for r119470. · 91ff9254
      tkent@chromium.org authored
      * loader/EmptyClients.cpp: Add #include "IntentRequest.h".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91ff9254
    • tkent@chromium.org's avatar
      Remove unused function: Document::formElements · 735fe477
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88272
      
      Reviewed by Kentaro Hara.
      
      No new tests. No behavior change.
      
      * dom/Document.h:
      (Document): remove formElements(). It was used for radio group
      validation, but the current code doesn't use it any more.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      735fe477
    • apavlov@chromium.org's avatar
      Unreviewed, build fix after r119469. · ef3c599d
      apavlov@chromium.org authored
      * inspector/styles/lazy-computed-style-expected.txt:
      * inspector/styles/styles-computed-trace-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef3c599d
    • bashi@chromium.org's avatar
      Unreviewed build fix on Chromium mac · af2cd694
      bashi@chromium.org authored
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      (WebCore::isAATFont):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af2cd694
    • tkent@chromium.org's avatar
      Move some function definitions in EmptyClients.h to EmptyClients.cpp · 4e0dc66b
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88285
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      If we have definitions of functions with RefPtr<> in EmptyClients.h like
      
          virtual void runOpenPanel(Frame*, PassRefPtr<FileChooser>) { }
      
      and a source file includes EmptyClient.h, the source file needs to
      include FileChooser.h though the source file doesn't use FileChooser
      class explicitly because the definition of runOpenPanel() needs to call
      FileChooser::deref().
      To avoid this, we had better move such functions to EmptyClients.cpp.
      
      No new tests. No behavior changes.
      
      * loader/EmptyClients.cpp: Move such functions from EmptyClients.h to
      here, and move EmptyPopupMenu and EmptySearchPopupMenu too because
      they're used only by EmptyChromeClient.
      (WebCore):
      (EmptyPopupMenu):
      (WebCore::EmptyPopupMenu::show):
      (WebCore::EmptyPopupMenu::hide):
      (WebCore::EmptyPopupMenu::updateFromElement):
      (WebCore::EmptyPopupMenu::disconnectClient):
      (EmptySearchPopupMenu):
      (WebCore::EmptySearchPopupMenu::popupMenu):
      (WebCore::EmptySearchPopupMenu::saveRecentSearches):
      (WebCore::EmptySearchPopupMenu::loadRecentSearches):
      (WebCore::EmptySearchPopupMenu::enabled):
      (WebCore::EmptyChromeClient::createPopupMenu):
      (WebCore::EmptyChromeClient::createSearchPopupMenu):
      (WebCore::EmptyChromeClient::createColorChooser):
      (WebCore::EmptyChromeClient::runOpenPanel):
      (WebCore::EmptyFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
      (WebCore::EmptyFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
      (WebCore::EmptyFrameLoaderClient::dispatchWillSendSubmitEvent):
      (WebCore::EmptyFrameLoaderClient::dispatchWillSubmitForm):
      (WebCore::EmptyFrameLoaderClient::createDocumentLoader):
      (WebCore::EmptyFrameLoaderClient::createFrame):
      (WebCore::EmptyFrameLoaderClient::createPlugin):
      (WebCore::EmptyFrameLoaderClient::createJavaAppletWidget):
      (WebCore::EmptyFrameLoaderClient::createMediaPlayerProxyPlugin):
      (WebCore::EmptyFrameLoaderClient::createNetworkingContext):
      (WebCore::EmptyFrameLoaderClient::dispatchIntent):
      (WebCore::EmptyTextCheckerClient::requestCheckingOfString):
      (WebCore::EmptyEditorClient::registerUndoStep):
      (WebCore::EmptyEditorClient::registerRedoStep):
      (WebCore::EmptyContextMenuClient::customizeMenu):
      * loader/EmptyClients.h: Move such function definitions to
      EmptyClient.cpp, and append OVERRIDE.
      (EmptyChromeClient):
      (EmptyFrameLoaderClient):
      (EmptyTextCheckerClient):
      (EmptyEditorClient):
      (EmptyContextMenuClient):
      * svg/graphics/SVGImage.cpp: Remove unnecessary #includes.
      
      Source/WebKit/chromium:
      
      * src/WebHelperPluginImpl.cpp: Remove unnecessary #includes, and add necessary #includes.
      * src/WebPagePopupImpl.cpp: ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e0dc66b
    • apavlov@chromium.org's avatar
      Web Inspector: "-webkit"-prefixed properties are considered inherited in the Computed Style pane · bff9c9d0
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88257
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Canonical names for properties should be used when checking if they are inherited (since only canonical names
      are put into the usedProperties set).
      
      * inspector/front-end/StylesSidebarPane.js:
      (WebInspector.ComputedStylePropertiesSection.prototype._isPropertyInherited):
      
      LayoutTests:
      
      * inspector/elements/elements-panel-styles-expected.txt:
      * inspector/elements/elements-panel-styles.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bff9c9d0
    • noel.gordon@gmail.com's avatar
      Unreviewed. Rolled DEPS. · 24959de3
      noel.gordon@gmail.com authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24959de3
    • bashi@chromium.org's avatar
      [Chromium] Implement font shaping with font-feature-settings on Mac · 091182d4
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69826
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Add HarfBuzz-ng text shaper.
      Chromium mac port uses it as secondary text shaper to support OpenType features.
      HarfBuzz-ng is only used when -webkit-font-feature-settings is specified and
      corresponding font is not an AAT font.
      
      No new tests. css3/font-feature-settings-rendering.html should pass on Chromium mac port.
      
      * WebCore.gyp/WebCore.gyp: Added harfbuzz-ng dependencies.
      * WebCore.gypi: Added harfbuzz-ng files.
      * platform/graphics/FontPlatformData.h:
      (FontPlatformData): Added m_harfbuzzFace.
      * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
      (WebCore::FontPlatformData::platformDataInit): Copy m_harfbuzzFace.
      (WebCore::FontPlatformData::platformDataAssign): Ditto.
      (WebCore):
      (WebCore::isAATFont):
      (WebCore::FontPlatformData::harfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzFace.cpp: Added.
      (WebCore):
      (WebCore::harfbuzzFaceCache):
      (WebCore::HarfBuzzFace::HarfBuzzFace):
      (WebCore::HarfBuzzFace::~HarfBuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzFace.h: Added.
      (WebCore):
      (HarfBuzzFace):
      (WebCore::HarfBuzzFace::create):
      * platform/graphics/harfbuzz/ng/HarfBuzzFaceCoreText.cpp: Added.
      (WebCore):
      (WebCore::floatToHarfBuzzPosition):
      (WebCore::getGlyph):
      (WebCore::getGlyphHorizontalAdvance):
      (WebCore::getGlyphHorizontalOrigin):
      (WebCore::getGlyphExtents):
      (WebCore::harfbuzzCoreTextGetFontFuncs):
      (WebCore::releaseTableData):
      (WebCore::harfbuzzCoreTextGetTable):
      (WebCore::HarfBuzzFace::createFace):
      (WebCore::HarfBuzzFace::createFont):
      (WebCore::HarfBuzzShaper::createGlyphBufferAdvance):
      * platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp: Added.
      (WebCore):
      (WebCore::harfbuzzPositionToFloat):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::HarfBuzzRun):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::setGlyphAndPositions):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::characterIndexForXPosition):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::xPositionForOffset):
      (WebCore::HarfBuzzShaper::HarfBuzzShaper):
      (WebCore::HarfBuzzShaper::~HarfBuzzShaper):
      (WebCore::HarfBuzzShaper::setFontFeatures):
      (WebCore::HarfBuzzShaper::shape):
      (WebCore::HarfBuzzShaper::setupHarfBuzzRun):
      (WebCore::HarfBuzzShaper::shapeHarfBuzzRun):
      (WebCore::HarfBuzzShaper::setGlyphPositionsForHarfBuzzRun):
      (WebCore::HarfBuzzShaper::offsetForPosition):
      (WebCore::HarfBuzzShaper::selectionRect):
      * platform/graphics/harfbuzz/ng/HarfBuzzShaper.h: Added.
      (WebCore):
      (HarfBuzzShaper):
      (WebCore::HarfBuzzShaper::totalWidth):
      (HarfBuzzRun):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::create):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::setWidth):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::numCharacters):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::numGlyphs):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::width):
      (WebCore::HarfBuzzShaper::HarfBuzzRun::rtl):
      * platform/graphics/mac/FontComplexTextMac.cpp:
      (WebCore):
      (WebCore::preferHarfBuzz): Added.
      (WebCore::Font::selectionRectForComplexText): Use HarfBuzzShaper if font-feature-settings exists.
      (WebCore::Font::drawComplexText): Ditto.
      (WebCore::Font::floatWidthForComplexText): Ditto.
      (WebCore::Font::offsetForPositionForComplexText): Ditto.
      
      LayoutTests:
      
      Added the expectation for sss3/font-feature-settings-rendering.html.
      
      * platform/chromium-mac/css3/font-feature-settings-rendering-expected.png: Added.
      * platform/chromium-mac/css3/font-feature-settings-rendering-expected.txt: Added.
      * platform/chromium/TestExpectations: Removed css3/font-feature-settings-rendering.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      091182d4
    • commit-queue@webkit.org's avatar
      IETC: FileList.item(-1) should return null instead of raising · 3b9cc47f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77899
      
      Patch by Li Yin <li.yin@intel.com> on 2012-06-05
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      IETC: http://samples.msdn.microsoft.com/ietestcenter/fileapi/filelist.htm
      Accroding to http://es5.github.com/#x9.6
      When the index is negative, it should not raise exception.
      Firefox and IE returns null when there is not indexth File object.
      
      Test: fast/files/file-list-test.html
      
      * fileapi/FileList.idl:
      
      LayoutTests:
      
      IETC: http://samples.msdn.microsoft.com/ietestcenter/fileapi/filelist.htm
      Ref: http://es5.github.com/#x9.6
      Some index values have been covered in this test, including negative index,
      undefined, null, normal index(0~length-1), more than length index.
      
      * fast/files/file-list-test-expected.txt:
      * fast/files/file-list-test.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b9cc47f
    • abarth@webkit.org's avatar
      EventHandler shouldn't dispatch fake mousemove events when scrolling on... · b868066e
      abarth@webkit.org authored
      EventHandler shouldn't dispatch fake mousemove events when scrolling on devices that don't have a mouse
      https://bugs.webkit.org/show_bug.cgi?id=88270
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      This patch adds a setting analogous to deviceSupportsTouch to determine
      whether the device supports mouse. We then don't dispatch fake mouse
      events on devices that don't have a mouse in the first place.
      
      Test: fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::fakeMouseMoveEventTimerFired):
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setDeviceSupportsMouse):
      (WebCore::Settings::deviceSupportsMouse):
      (Settings):
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::InternalSettings):
      (WebCore::InternalSettings::restoreTo):
      (WebCore::InternalSettings::setDeviceSupportsMouse):
      (WebCore):
      * testing/InternalSettings.h:
      (InternalSettings):
      * testing/InternalSettings.idl:
      
      Source/WebKit/chromium:
      
      * public/WebSettings.h:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setDeviceSupportsMouse):
      (WebKit):
      * src/WebSettingsImpl.h:
      (WebSettingsImpl):
      
      LayoutTests:
      
      * fast/events/touch/scroll-without-mouse-lacks-mousemove-events-expected.txt: Added.
      * fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b868066e
    • fpizlo@apple.com's avatar
      DFG CFG simplification should correct the variables at the head of the predecessor block · 9cce18d2
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88284
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore: 
      
      * dfg/DFGCFGSimplificationPhase.cpp:
      (JSC::DFG::CFGSimplificationPhase::mergeBlocks):
      
      LayoutTests: 
      
      * fast/js/dfg-constant-fold-first-local-read-after-block-merge-expected.txt: Added.
      * fast/js/dfg-constant-fold-first-local-read-after-block-merge.html: Added.
      * fast/js/script-tests/dfg-constant-fold-first-local-read-after-block-merge.js: Added.
      (foo):
      (bar):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cce18d2
    • commit-queue@webkit.org's avatar
      Make a builder group support+expect multiple loads. · 6005f0d8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88260
      
      Change BuilderGroup to allow expecting multiple
      loads.  This allows merging results for a given set
      of builders into one group.
      
      Add a test that verifies that the group count
      increments correctly based on successful and failed
      list loads.
      
      Patch by Chase Phillips <cmp@google.com> on 2012-06-04
      Reviewed by Ojan Vafai.
      
      * TestResultServer/static-dashboards/builders.js:
      (BuilderGroup):
      (BuilderGroup.prototype.setbuilder):
      (BuilderGroup.prototype.append):
      (BuilderGroup.prototype.loaded):
      (requestBuilderList.xhr.onload):
      (requestBuilderList.xhr.onerror):
      (onErrorLoadingBuilderList):
      (loadBuildersList):
      * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
      (test):
      * TestResultServer/static-dashboards/run-unittests.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6005f0d8
    • eae@chromium.org's avatar
      Unreviewed chromium windows rebaseline for r119456. · f19badc2
      eae@chromium.org authored
      * platform/chromium-win-vista/fast/multicol: Removed.
      * platform/chromium-win/fast/multicol/float-multicol-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f19badc2
  2. 04 Jun, 2012 6 commits
    • eae@chromium.org's avatar
      Unreviewed chromium test expectation updates for new tests. · eefb8681
      eae@chromium.org authored
      * fast/sub-pixel/inline-block-with-padding-expected.txt:
      * platform/chromium-mac/fast/sub-pixel: Added.
      * platform/chromium-mac/fast/sub-pixel/inline-block-with-padding-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eefb8681
    • tkent@chromium.org's avatar
      [Chromium] Fix a TestExpectations format error. · ce5438ce
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce5438ce
    • eae@chromium.org's avatar
      Unreviewed chromium test and expectation updates for r119456. · 0ce52aed
      eae@chromium.org authored
      * fast/sub-pixel/inline-block-with-padding.html:
      * platform/chromium-mac-snowleopard/fast/events/offsetX-offsetY-expected.txt:
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ce52aed
    • simon.fraser@apple.com's avatar
      Leaking ClipRects · c2c9aa58
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=88282
      
      Reviewed by Dan Bernstein.
      
      In r118562 I made the ClipRectsCache use RefPtr<ClipRects>. However, ClipRects
      was initialized with m_refCnt=0, not 1 as adoptRef() and friends expect. Also,
      there was a manual ref() in RenderLayer::updateClipRects() which this patch removes.
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::updateClipRects):
      * rendering/RenderLayer.h:
      (WebCore::ClipRects::ClipRects):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2c9aa58
    • rniwa@webkit.org's avatar
      Python test fix attempt for Chromium Windows. · c74a642a
      rniwa@webkit.org authored
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (Driver.uri_to_test):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c74a642a
    • eae@chromium.org's avatar
      Add missing FractionalLayoutUnit += operator and move LineWidth to use all floats · b105455b
      eae@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88259
      
      Patch by Emil A Eklund  <eae@chromium.org> and Levi Weintraub <leviw@chromium.org> on 2012-06-04
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore: 
      
      Fix two rounding bugs in LineLayout and RenderBlock that caused inlines
      and floats to wrap incorrectly.
      
      Tests: fast/sub-pixel/float-containing-block-with-margin.html
             fast/sub-pixel/float-with-right-margin-zoom.html
             fast/sub-pixel/inline-block-with-padding.html
      
      * platform/FractionalLayoutUnit.h:
      (WebCore::operator+=):
      Add missing float version of += operator thus avoiding a silent cast to
      int loosing precision.
              
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::LineWidth::computeAvailableWidthFromLeftAndRight):
      (WebCore::LineWidth::updateAvailableWidth):
      Change LineWidth left/right to floating point and instead of rounding the
      left and right edge separately.
              
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::resolveFlexibleLengths):
      Use explicit cast to avoid compiler ambiguity warning.
      
      LayoutTests: 
      
      * fast/dom/elementFromPoint-relative-to-viewport.html:
      * fast/events/offsetX-offsetY.html:
      Remove special casing for subpixel layout as it is no longer needed.
              
      * fast/sub-pixel/float-containing-block-with-margin-expected.html: Added.
      * fast/sub-pixel/float-containing-block-with-margin.html: Added.
      * fast/sub-pixel/float-with-right-margin-zoom-expected.txt: Added.
      * fast/sub-pixel/float-with-right-margin-zoom.html: Added.
      * fast/sub-pixel/inline-block-with-padding-expected.txt: Added.
      * fast/sub-pixel/inline-block-with-padding.html: Added.
      New tests for wrapping logic.
              
      * platform/chromium-linux/css2.1/t100801-c544-valgn-03-d-agi-expected.png:
      * platform/chromium-linux/css2.1/t100801-c544-valgn-03-d-agi-expected.txt:
      * platform/chromium-linux/fast/line-grid/line-align-left-edges-expected.png:
      * platform/chromium-linux/fast/line-grid/line-grid-contains-value-expected.png:
      * platform/chromium-linux/fast/multicol/float-multicol-expected.png:
      * platform/chromium-win/fast/events/offsetX-offsetY-expected.txt:
      * platform/chromium-win/fast/line-grid/line-grid-contains-value-expected.txt:
      * platform/chromium-win/fast/multicol/float-multicol-expected.txt:
      Update expectations to match pre-subpixel rendering.
              
      * platform/chromium/TestExpectations:
      Mark updated tests as failing on mac and windows temporarily.
              
      * platform/chromium/fast/dom/elementFromPoint-relative-to-viewport-expected.txt:
      Remove special casing for subpixel layout as it is no longer needed.
              
      * platform/chromium/fast/line-grid/line-align-left-edges-expected.txt:
      Update expectations to match pre-subpixel rendering.
      
      * platform/efl/Skipped:
      * platform/gtk-wk2/Skipped:
      * platform/mac-lion/Skipped:
      * platform/mac-snowleopard/Skipped:
      * platform/mac-wk2/Skipped:
      * platform/mac/Skipped:
      * platform/qt-4.8/Skipped:
      * platform/qt/Skipped:
      * platform/win-wk2/Skipped:
      * platform/win-xp/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      * platform/wk2/Skipped:
      Skip new sub-pixel tests on platforms that does not enable sub-pixel layout.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b105455b