• darin's avatar
    LayoutTests: · b7b4513b
    darin authored
            - test http://bugzilla.opendarwin.org/show_bug.cgi?id=6831
              contentEditable outline darkens as caret moves
    
            * editing/selection/move-by-character-6.html: Added.
            * editing/selection/move-by-character-6-expected.txt: Added.
            * editing/selection/move-by-character-6-expected.checksum: Added.
            * editing/selection/move-by-character-6-expected.png: Added.
    
    WebCore:
    
            Collaborated with Graham Dennis <Graham.Dennis@gmail.com> on this.
    
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6831
              contentEditable outline darkens as caret moves
    
            Test: editing/selection/move-by-character-6.html
    
            The trick was to draw the focus ring clipped to a list of rectangles instead
            of clipped to exactly one.
    
            * kwq/KWQPainter.h: Move Color parameter from initFocusRing to drawFocusRing.
            * kwq/KWQPainter.mm:
            (WebCore::QPainterPrivate::QPainterPrivate): Change focusRingPath from
            an NSBezierPath t...
    b7b4513b