Changeset 73732 in webkit
- Timestamp:
- Dec 10, 2010 8:50:33 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r73725 r73732 1 2010-12-10 Mario Sanchez Prada <msanchez@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] AX: implement isEnabled in DRT 6 https://bugs.webkit.org/show_bug.cgi?id=50814 7 8 Unskip passing accessibility/aria-disabled.html test. 9 10 * platform/gtk/Skipped: Unskip test. 11 1 12 2010-12-10 Csaba Osztrogonác <ossy@webkit.org> 2 13 -
trunk/LayoutTests/platform/gtk/Skipped
r73721 r73732 57 57 # Tests failing 58 58 accessibility/aria-combobox.html 59 accessibility/aria-disabled.html60 59 accessibility/ellipsis-text.html 61 60 accessibility/aria-help.html -
trunk/WebKitTools/ChangeLog
r73716 r73732 1 2010-12-10 Mario Sanchez Prada <msanchez@igalia.com> 2 3 Reviewed by Martin Robinson. 4 5 [GTK] AX: implement isEnabled in DRT 6 https://bugs.webkit.org/show_bug.cgi?id=50814 7 8 Implement AccessibilityUIElement::isEnabled() for GTK. 9 10 * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: 11 (checkElementState): New function to refactor common code. 12 (AccessibilityUIElement::isEnabled): Implement this by checking 13 the current state of the AtkObject. 14 (AccessibilityUIElement::isSelected): Use the new 15 checkElementState function. 16 1 17 2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com> 2 18 -
trunk/WebKitTools/DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp
r72963 r73732 372 372 } 373 373 374 static bool checkElementState(PlatformUIElement element, AtkStateType stateType) 375 { 376 if (!ATK_IS_OBJECT(element)) 377 return false; 378 379 PlatformRefPtr<AtkStateSet> stateSet = adoptPlatformRef(atk_object_ref_state_set(ATK_OBJECT(element))); 380 return atk_state_set_contains_state(stateSet.get(), stateType); 381 } 382 374 383 bool AccessibilityUIElement::isEnabled() 375 384 { 376 // FIXME: implement 377 return false; 378 } 379 385 return checkElementState(m_element, ATK_STATE_ENABLED); 386 } 380 387 381 388 int AccessibilityUIElement::insertionPointLineNumber() … … 399 406 bool AccessibilityUIElement::isSelected() const 400 407 { 401 if (!ATK_IS_OBJECT(m_element)) 402 return false; 403 404 PlatformRefPtr<AtkStateSet> stateSet = adoptPlatformRef(atk_object_ref_state_set(ATK_OBJECT(m_element))); 405 gboolean isSelected = atk_state_set_contains_state(stateSet.get(), ATK_STATE_SELECTED); 406 407 return isSelected; 408 return checkElementState(m_element, ATK_STATE_SELECTED); 408 409 } 409 410
Note: See TracChangeset
for help on using the changeset viewer.