Skip to content
  • hyatt's avatar
    WebCore: · 06186597
    hyatt authored
            Add support for custom highlighting to paint at the root line box level
            (and to inflate the box it uses so that it can go outside the bounds of
            the line if necessary).
    
            Reviewed by harrison
    
            * bridge/mac/FrameMac.h:
            * bridge/mac/FrameMac.mm:
            (WebCore::FrameMac::customHighlightLineRect):
            (WebCore::FrameMac::paintCustomHighlight):
            * bridge/mac/WebCoreFrameBridge.h:
            * rendering/InlineTextBox.cpp:
            (WebCore::InlineTextBox::paintCustomHighlight):
            * rendering/RootInlineBox.cpp:
            (WebCore::RootInlineBox::paintCustomHighlight):
            (WebCore::RootInlineBox::paint):
            * rendering/RootInlineBox.h:
    
    WebKit:
    
            Fix custom highlighting so that you can paint the entire line (and go
            outside the bounds of the line).
    
            Reviewed by harrison
    
            * WebCoreSupport/WebFrameBridge.m:
            (-[WebFrameBridge customHighlightRect:forLine:]):
            (-[WebFrameBridge paintCustomHighlight:forBox:onLine:behindText:entireLine:]):
            * WebKit.xcodeproj/project.pbxproj:
            * WebView/WebHTMLViewPrivate.h:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    06186597