Changeset 53369 in webkit


Ignore:
Timestamp:
Jan 16, 2010 5:42:53 PM (14 years ago)
Author:
jhoneycutt@apple.com
Message:

MSAA: Screen rect for <option> elements is always the zero rect

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

Reviewed by Oliver Hunt.

WebKit/win:

  • AccessibleBase.cpp:

(AccessibleBase::accLocation):
Use elementRect() rather than boundingBoxRect(), which
AccessibilityListBoxOption overrides.

LayoutTests:

  • platform/win/accessibility/option-element-position-and-size-expected.txt: Added.
  • platform/win/accessibility/option-element-position-and-size.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r53368 r53369  
     12010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
     2
     3        MSAA: Screen rect for <option> elements is always the zero rect
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=33758
     6
     7        Reviewed by Oliver Hunt.
     8
     9        * platform/win/accessibility/option-element-position-and-size-expected.txt: Added.
     10        * platform/win/accessibility/option-element-position-and-size.html: Added.
     11
    1122010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
    213
  • trunk/WebKit/win/AccessibleBase.cpp

    r53368 r53369  
    420420        return E_FAIL;
    421421
    422     IntRect screenRect(childObj->documentFrameView()->contentsToScreen(childObj->boundingBoxRect()));
     422    IntRect screenRect(childObj->documentFrameView()->contentsToScreen(childObj->elementRect()));
    423423    *left = screenRect.x();
    424424    *top = screenRect.y();
  • trunk/WebKit/win/ChangeLog

    r53368 r53369  
     12010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
     2
     3        MSAA: Screen rect for <option> elements is always the zero rect
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=33758
     6
     7        Reviewed by Oliver Hunt.
     8
     9        * AccessibleBase.cpp:
     10        (AccessibleBase::accLocation):
     11        Use elementRect() rather than boundingBoxRect(), which
     12        AccessibilityListBoxOption overrides.
     13
    1142010-01-15  Jon Honeycutt  <jhoneycutt@apple.com>
    215
Note: See TracChangeset for help on using the changeset viewer.