Changeset 176556 in webkit
- Timestamp:
- Nov 28, 2014 1:00:54 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r176552 r176556 1 2014-11-28 Andrzej Badowski <a.badowski@samsung.com> 2 3 [ATK] Allowing the use of AccessibilityUIElement::columnHeaders method for table. 4 https://bugs.webkit.org/show_bug.cgi?id=139044 5 6 Reviewed by Chris Fleizach. 7 8 ATK method AccessibilityUIElement::columnHeaders currently focused only on the object table cell. 9 The proposed solution will enable the use of this method for the object table. 10 Existing test shows the result. 11 12 * accessibility/table-column-headers-with-captions.html: Updated for ATK platform. 13 * platform/efl/accessibility/table-column-headers-with-captions-expected.txt: Added. 14 * platform/gtk/TestExpectations: Updated for GTK. 15 * platform/gtk/accessibility/table-column-headers-with-captions-expected.txt: Added. 16 1 17 2014-11-27 Joanmarie Diggs <jdiggs@igalia.com> 2 18 -
trunk/LayoutTests/accessibility/table-column-headers-with-captions.html
r174860 r176556 27 27 var table = accessibilityController.accessibleElementById("table"); 28 28 var colHeaders = table.columnHeaders(); 29 30 shouldBeTrue("colHeaders[0].isEqual(table.rowAtIndex(0).childAtIndex(0))"); 31 shouldBeTrue("colHeaders[1].isEqual(table.rowAtIndex(0).childAtIndex(1))"); 29 if (accessibilityController.platformName == "atk") { 30 shouldBeTrue("colHeaders[0].isEqual(table.cellForColumnAndRow(0,0))"); 31 shouldBeTrue("colHeaders[1].isEqual(table.cellForColumnAndRow(1,0))"); 32 } else { 33 shouldBeTrue("colHeaders[0].isEqual(table.rowAtIndex(0).childAtIndex(0))"); 34 shouldBeTrue("colHeaders[1].isEqual(table.rowAtIndex(0).childAtIndex(1))"); 35 } 32 36 } 33 37 -
trunk/LayoutTests/platform/gtk/TestExpectations
r176197 r176556 2232 2232 2233 2233 webkit.org/b/137109 accessibility/legend-children-are-visible.html [ Failure ] 2234 webkit.org/b/138069 accessibility/table-column-headers-with-captions.html [ Failure ]2235 2234 2236 2235 webkit.org/b/137695 media/video-controls-audiotracks-trackmenu.html [ Failure ] -
trunk/Tools/ChangeLog
r176555 r176556 1 2014-11-28 Andrzej Badowski <a.badowski@samsung.com> 2 3 [ATK] Allowing the use of AccessibilityUIElement::columnHeaders method for table. 4 https://bugs.webkit.org/show_bug.cgi?id=139044 5 6 Reviewed by Chris Fleizach. 7 8 ATK method AccessibilityUIElement::columnHeaders currently focused only on the object table cell. 9 The proposed solution will enable the use of this method for the object table. 10 Existing test shows the result. 11 12 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 13 (WTR::AccessibilityUIElement::columnHeaders): 14 1 15 2014-11-27 Ryuan Choi <ryuan.choi@navercorp.com> 2 16 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r176162 r176556 956 956 { 957 957 #if ATK_CHECK_VERSION(2,11,90) 958 if (!ATK_IS_TABLE_CELL(m_element.get()) )958 if (!ATK_IS_TABLE_CELL(m_element.get()) && !ATK_IS_TABLE(m_element.get())) 959 959 return nullptr; 960 960 961 GRefPtr<GPtrArray> array = adoptGRef(atk_table_cell_get_column_header_cells(ATK_TABLE_CELL(m_element.get()))); 962 if (!array) 963 return nullptr; 964 965 Vector<RefPtr<AccessibilityUIElement>> columns = convertGPtrArrayToVector(array.get()); 961 Vector<RefPtr<AccessibilityUIElement>> columns; 962 if (ATK_IS_TABLE_CELL(m_element.get())) { 963 GRefPtr<GPtrArray> array = adoptGRef(atk_table_cell_get_column_header_cells(ATK_TABLE_CELL(m_element.get()))); 964 if (!array) 965 return nullptr; 966 967 columns = convertGPtrArrayToVector(array.get()); 968 } else 969 columns = getColumnHeaders(ATK_TABLE(m_element.get())); 966 970 return convertToJSObjectArray(columns); 967 971 #else
Note: See TracChangeset
for help on using the changeset viewer.