MSAA: Screen rect for <option> elements is always the zero rect
authorjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Jan 2010 01:42:53 +0000 (01:42 +0000)
committerjhoneycutt@apple.com <jhoneycutt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Jan 2010 01:42:53 +0000 (01:42 +0000)
commit993d672f3639426814f3859a13e7d1ca573fe823
tree2e680865d22d3b448bd865a0f8ca15f4c4129dcc
parentc4b9b2b16cc68ba98af99f0dca14f9ee3059e841
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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/win/accessibility/option-element-position-and-size-expected.txt [new file with mode: 0644]
LayoutTests/platform/win/accessibility/option-element-position-and-size.html [new file with mode: 0644]
WebKit/win/AccessibleBase.cpp
WebKit/win/ChangeLog