Skip to content
  • commit-queue@webkit.org's avatar
    Expose FrameSelection::absoluteCaretBounds via window.internals · 42b64a5f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=86390
    
    Patch by Shezan Baig <shezbaig.wk@gmail.com> on 2012-05-18
    Reviewed by Ryosuke Niwa.
    
    .:
    
    Exports necessary symbols.
    
    * Source/autotools/symbols.filter:
    
    Source/WebCore:
    
    Add 'absoluteCaretBounds' method to Internals, which returns the
    FrameSelection::absoluteCaretBounds.
    
    Test: editing/selection/internal-caret-rect.html
    
    * WebCore.exp.in: Export the necessary symbols.
    * testing/Internals.cpp:
    (WebCore::Internals::absoluteCaretBounds): Implementation of new method.
    (WebCore):
    * testing/Internals.h: Declare the new method.
    (Internals):
    * testing/Internals.idl: Declare the new method.
    
    Source/WebKit2:
    
    Exports necessary symbols.
    
    * win/WebKit2.def:
    * win/WebKit2CFLite.def:
    
    LayoutTests:
    
    A simple test case for the new 'absoluteCaretBounds' method.
    
    * editing/selection/internal-caret-rect-expected.txt: Added.
    * editing/selection/internal-caret-rect.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    42b64a5f