Skip to content
  • commit-queue@webkit.org's avatar
    Internals.markerRangeForNode should be able to take markers by specifying a marker type. · 35045abe
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=71792
    
    Patch by Shinya Kawanaka <shinyak@google.com> on 2011-11-09
    Reviewed by Hajime Morita.
    
    .:
    
    * Source/autotools/symbols.filter: Exposed necessary symbols.
    
    Source/WebCore:
    
    Test: editing/spelling/markers.html
    
    * WebCore.exp.in:
    * dom/DocumentMarkerController.cpp:
    (WebCore::DocumentMarkerController::markersFor):
      Takes marker types to get only necessary markers.
    * dom/DocumentMarkerController.h:
    * testing/Internals.cpp:
    (WebCore::markerTypesFrom): Added.
    (WebCore::Internals::markerCountForNode):
      Takes marker types to get only necessary markers.
    (WebCore::Internals::markerRangeForNode): ditto.
    * testing/Internals.h:
    * testing/Internals.idl:
    
    Source/WebKit2:
    
    * win/WebKit2.def: Exposed necessary references.
    * win/WebKit2CFLite.def: ditto.
    
    LayoutTests:
    
    * editing/spelling/markers.html: Added.
    * editing/spelling/spelling-insert-html.html: Fixed function usage.
    * platform/chromium/test_expectations.txt: Skipped chromium test.
    * platform/gtk/Skipped: Skipped gtk test.
    * platform/qt/Skipped: Skipped qt test.
    * platform/win/Skipped: Skeipped win test.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    35045abe