[Webkit-unassigned] [Bug 47632] New: Only draw focus ring in RenderInline and RenderImage if the theme is not able to draw a focus ring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 13 16:06:13 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47632

           Summary: Only draw focus ring in RenderInline and RenderImage
                    if the theme is not able to draw a focus ring
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dbates at webkit.org


We should only draw a focus ring if the theme is not able to draw a focus ring (i.e. RenderTheme::supportsFocusRing returns false).

Currently, only RenderObject::paintOutline() checks that the theme is unable to draw a focus ring before drawing one. Both RenderInline::paintOutline() and RenderImage::paintFocusRings() draw a focus ring regardless of whether the theme is able to draw a focus ring. Instead, these methods should only draw a focus ring if the theme is not able to draw one. This will make the code consistent with the behavior in RenderObject::paintOutline() as well as support port-specific focus ring drawing and/or disabling of focus ring drawing.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list