• weinig@apple.com's avatar
    WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=27046 · 628cb2cd
    weinig@apple.com authored
    Implement CSSOM DocumentView.caretRangeFromPoint
    
    Reviewed by Timothy Hatcher.
    
    Tests: fast/dom/Document/CaretRangeFromPoint/basic.html
           fast/dom/Document/CaretRangeFromPoint/replace-element.html
    
    * dom/Document.cpp:
    (WebCore::Document::caretRangeFromPoint):
    * dom/Document.h:
    * dom/Document.idl:
    
    LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=27046
    Implement CSSOM DocumentView.caretRangeFromPoint
    
    Reviewed by Timothy Hatcher.
    
    * fast/dom/Document/CaretRangeFromPoint: Added.
    * fast/dom/Document/CaretRangeFromPoint/basic-expected.txt: Added.
    * fast/dom/Document/CaretRangeFromPoint/basic.html: Added.
    * fast/dom/Document/CaretRangeFromPoint/replace-element-expected.txt: Added.
    * fast/dom/Document/CaretRangeFromPoint/replace-element.html: Added.
    * fast/dom/Window/window-properties-expected.txt:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    628cb2cd
Document.cpp 143 KB