Skip to content
  • mitz@apple.com's avatar
    <rdar://problem/6655695> REGRESSION: VoiceOver is not highlighting some web elements correctly · b5ec09e2
    mitz@apple.com authored
    <rdar://problem/7397558> REGRESSION: AXImages inside of AXLink cause AXLink to have wrong bounds
    
    Reviewed by Simon Fraser.
    
    WebCore: 
    
    Test: accessibility/dimensions-include-descendants.html
    
    * accessibility/AccessibilityRenderObject.cpp:
    (WebCore::AccessibilityRenderObject::boundingBoxRect): Use absoluteFocusRingQuads()
    for non-text renderers. The focus ring encompasses descendants, which is
    what we want for the accessibility indicator.
    * rendering/RenderObject.cpp:
    (WebCore::RenderObject::absoluteFocusRingQuads): Added.
    * rendering/RenderObject.h:
    
    LayoutTests: 
    
    * accessibility/dimensions-include-descendants-expected.txt: Added.
    * accessibility/dimensions-include-descendants.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b5ec09e2