| Index: webkit/glue/webaccessibility.cc
|
| ===================================================================
|
| --- webkit/glue/webaccessibility.cc (revision 112482)
|
| +++ webkit/glue/webaccessibility.cc (working copy)
|
| @@ -924,8 +924,16 @@
|
| string_attributes[ATTR_DOC_DOCTYPE] = doctype.name();
|
|
|
| const gfx::Size& scroll_offset = document.frame()->scrollOffset();
|
| - int_attributes[ATTR_DOC_SCROLLX] = scroll_offset.width();
|
| - int_attributes[ATTR_DOC_SCROLLY] = scroll_offset.height();
|
| + int_attributes[ATTR_SCROLL_X] = scroll_offset.width();
|
| + int_attributes[ATTR_SCROLL_Y] = scroll_offset.height();
|
| +
|
| + const gfx::Size& min_offset = document.frame()->minimumScrollOffset();
|
| + int_attributes[ATTR_SCROLL_X_MIN] = min_offset.width();
|
| + int_attributes[ATTR_SCROLL_Y_MIN] = min_offset.height();
|
| +
|
| + const gfx::Size& max_offset = document.frame()->maximumScrollOffset();
|
| + int_attributes[ATTR_SCROLL_X_MAX] = max_offset.width();
|
| + int_attributes[ATTR_SCROLL_Y_MAX] = max_offset.height();
|
| }
|
|
|
| if (role == WebAccessibility::ROLE_TABLE) {
|
|
|