Changeset 176122 in webkit


Ignore:
Timestamp:
Nov 14, 2014 3:27:54 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

AX: Improve AccessibilityTableCell isColumnHeaderCell function.
https://bugs.webkit.org/show_bug.cgi?id=138423

Patch by Andrzej Badowski <a.badowski@samsung.com> on 2014-11-14
Reviewed by Chris Fleizach.

Source/WebCore:

<th> cell in the zero row should be column header.

New tests are not necessary.

  • accessibility/AccessibilityTableCell.cpp:

(WebCore::AccessibilityTableCell::isColumnHeaderCell):

LayoutTests:

Files of expected type are adapted to changes in the code of the function.

  • accessibility/table-cells-roles-expected.txt:
  • platform/efl/accessibility/table-attributes-expected.txt:
  • platform/efl/accessibility/table-cells-expected.txt:
  • platform/gtk/accessibility/table-attributes-expected.txt:
  • platform/gtk/accessibility/table-cells-expected.txt:
  • platform/mac/accessibility/table-attributes-expected.txt:
  • platform/mac/accessibility/table-cells-expected.txt:
Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r176121 r176122  
     12014-11-14  Andrzej Badowski  <a.badowski@samsung.com>
     2
     3        AX: Improve AccessibilityTableCell isColumnHeaderCell function.
     4        https://bugs.webkit.org/show_bug.cgi?id=138423
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Files of expected type are adapted to changes in the code of the function.
     9
     10        * accessibility/table-cells-roles-expected.txt:
     11        * platform/efl/accessibility/table-attributes-expected.txt:
     12        * platform/efl/accessibility/table-cells-expected.txt:
     13        * platform/gtk/accessibility/table-attributes-expected.txt:
     14        * platform/gtk/accessibility/table-cells-expected.txt:
     15        * platform/mac/accessibility/table-attributes-expected.txt:
     16        * platform/mac/accessibility/table-cells-expected.txt:
     17
    1182014-11-14  Carlos Garcia Campos  <cgarcia@igalia.com>
    219
  • trunk/LayoutTests/accessibility/table-cells-roles-expected.txt

    r175408 r176122  
    2222The table cell at (0,4) should have a role AXRole: AXRowHeader , currently it has AXRole: AXRowHeader .
    2323
    24 The table2 cell at (2,0) should have a role AXRole: AXColumnHeader , currently it has AXRole: AXCell .
     24The table2 cell at (2,0) should have a role AXRole: AXColumnHeader , currently it has AXRole: AXColumnHeader .
    2525The table2 cell at (1,2) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
    2626The table2 cell at (2,3) should have a role AXRole: AXCell , currently it has AXRole: AXCell .
  • trunk/LayoutTests/platform/efl/accessibility/table-attributes-expected.txt

    r175408 r176122  
    99--------------------------
    1010
     11AXRole: AXColumnHeader
     12AXParent: AXTable: Example #1: Nested Stubs
     13AXChildren: 0
     14AXPosition: { 0.000000, 0.000000 }
     15AXSize: { 144.000000, 66.000000 }
     16AXTitle:
     17AXDescription:
     18AXValue: Ruritanian<\n>Population <\n>Survey
     19AXFocusable: 0
     20AXFocused: 0
     21AXSelectable: 0
     22AXSelected: 0
     23AXMultiSelectable: 0
     24AXEnabled: 1
     25AXExpanded: 0
     26AXRequired: 0
     27AXChecked: 0
     28AXPlatformAttributes: toolkit:WebKitEfl
     29------------
     30AXRole: AXColumnHeader
     31AXParent: AXTable: Example #1: Nested Stubs
     32AXChildren: 0
     33AXPosition: { 0.000000, 0.000000 }
     34AXSize: { 144.000000, 66.000000 }
     35AXTitle:
     36AXDescription:
     37AXValue: Ruritanian<\n>Population <\n>Survey
     38AXFocusable: 0
     39AXFocused: 0
     40AXSelectable: 0
     41AXSelected: 0
     42AXMultiSelectable: 0
     43AXEnabled: 1
     44AXExpanded: 0
     45AXRequired: 0
     46AXChecked: 0
     47AXPlatformAttributes: toolkit:WebKitEfl
     48------------
     49AXRole: AXColumnHeader
     50AXParent: AXTable: Example #1: Nested Stubs
     51AXChildren: 0
     52AXPosition: { 0.000000, 0.000000 }
     53AXSize: { 70.000000, 66.000000 }
     54AXTitle:
     55AXDescription:
     56AXValue: All<\n>Genders
     57AXFocusable: 0
     58AXFocused: 0
     59AXSelectable: 0
     60AXSelected: 0
     61AXMultiSelectable: 0
     62AXEnabled: 1
     63AXExpanded: 0
     64AXRequired: 0
     65AXChecked: 0
     66AXPlatformAttributes: toolkit:WebKitEfl
     67------------
     68AXRole: AXColumnHeader
     69AXParent: AXTable: Example #1: Nested Stubs
     70AXChildren: 0
     71AXPosition: { 0.000000, 0.000000 }
     72AXSize: { 120.000000, 30.000000 }
     73AXTitle:
     74AXDescription:
     75AXValue: By Gender
     76AXFocusable: 0
     77AXFocused: 0
     78AXSelectable: 0
     79AXSelected: 0
     80AXMultiSelectable: 0
     81AXEnabled: 1
     82AXExpanded: 0
     83AXRequired: 0
     84AXChecked: 0
     85AXPlatformAttributes: toolkit:WebKitEfl
     86------------
     87AXRole: AXColumnHeader
     88AXParent: AXTable: Example #1: Nested Stubs
     89AXChildren: 0
     90AXPosition: { 0.000000, 0.000000 }
     91AXSize: { 120.000000, 30.000000 }
     92AXTitle:
     93AXDescription:
     94AXValue: By Gender
     95AXFocusable: 0
     96AXFocused: 0
     97AXSelectable: 0
     98AXSelected: 0
     99AXMultiSelectable: 0
     100AXEnabled: 1
     101AXExpanded: 0
     102AXRequired: 0
     103AXChecked: 0
     104AXPlatformAttributes: toolkit:WebKitEfl
     105------------
     106
     107
     108--------------------------
     109
     110AXRole: AXColumnHeader
     111AXParent: AXTable: Example #1: Nested Stubs
     112AXChildren: 0
     113AXPosition: { 0.000000, 0.000000 }
     114AXSize: { 143.000000, 66.000000 }
     115AXTitle:
     116AXDescription:
     117AXValue: Ruritanian<\n>Population <\n>Survey
     118AXFocusable: 0
     119AXFocused: 0
     120AXSelectable: 0
     121AXSelected: 0
     122AXMultiSelectable: 0
     123AXEnabled: 1
     124AXExpanded: 0
     125AXRequired: 0
     126AXChecked: 0
     127AXPlatformAttributes: toolkit:WebKitEfl
     128------------
     129AXRole: AXColumnHeader
     130AXParent: AXTable: Example #1: Nested Stubs
     131AXChildren: 0
     132AXPosition: { 0.000000, 0.000000 }
     133AXSize: { 143.000000, 66.000000 }
     134AXTitle:
     135AXDescription:
     136AXValue: Ruritanian<\n>Population <\n>Survey
     137AXFocusable: 0
     138AXFocused: 0
     139AXSelectable: 0
     140AXSelected: 0
     141AXMultiSelectable: 0
     142AXEnabled: 1
     143AXExpanded: 0
     144AXRequired: 0
     145AXChecked: 0
     146AXPlatformAttributes: toolkit:WebKitEfl
     147------------
    11148AXRole: AXRowHeader
    12149AXParent: AXTable: Example #1: Nested Stubs
    13150AXChildren: 0
    14151AXPosition: { 0.000000, 0.000000 }
    15 AXSize: { 144.000000, 66.000000 }
    16 AXTitle:
    17 AXDescription:
    18 AXValue: Ruritanian<\n>Population <\n>Survey
     152AXSize: { 90.000000, 60.000000 }
     153AXTitle:
     154AXDescription:
     155AXValue: All Regions
    19156AXFocusable: 0
    20157AXFocused: 0
     
    32169AXChildren: 0
    33170AXPosition: { 0.000000, 0.000000 }
    34 AXSize: { 144.000000, 66.000000 }
    35 AXTitle:
    36 AXDescription:
    37 AXValue: Ruritanian<\n>Population <\n>Survey
    38 AXFocusable: 0
    39 AXFocused: 0
    40 AXSelectable: 1
    41 AXSelected: 0
    42 AXMultiSelectable: 0
    43 AXEnabled: 1
    44 AXExpanded: 0
    45 AXRequired: 0
    46 AXChecked: 0
    47 AXPlatformAttributes: toolkit:WebKitEfl
    48 ------------
    49 AXRole: AXCell
    50 AXParent: AXTable: Example #1: Nested Stubs
    51 AXChildren: 0
    52 AXPosition: { 0.000000, 0.000000 }
    53 AXSize: { 70.000000, 66.000000 }
     171AXSize: { 90.000000, 60.000000 }
     172AXTitle:
     173AXDescription:
     174AXValue: All Regions
     175AXFocusable: 0
     176AXFocused: 0
     177AXSelectable: 1
     178AXSelected: 0
     179AXMultiSelectable: 0
     180AXEnabled: 1
     181AXExpanded: 0
     182AXRequired: 0
     183AXChecked: 0
     184AXPlatformAttributes: toolkit:WebKitEfl
     185------------
     186
     187
     188--------------------------
     189
     190
     191
     192--------------------------
     193
     194
     195
     196--------------------------
     197
     198AXRole: AXColumnHeader
     199AXParent: AXTable: Example #1: Nested Stubs
     200AXChildren: 0
     201AXPosition: { 0.000000, 0.000000 }
     202AXSize: { 143.000000, 66.000000 }
     203AXTitle:
     204AXDescription:
     205AXValue: Ruritanian<\n>Population <\n>Survey
     206AXFocusable: 0
     207AXFocused: 0
     208AXSelectable: 0
     209AXSelected: 0
     210AXMultiSelectable: 0
     211AXEnabled: 1
     212AXExpanded: 0
     213AXRequired: 0
     214AXChecked: 0
     215AXPlatformAttributes: toolkit:WebKitEfl
     216------------
     217AXRole: AXColumnHeader
     218AXParent: AXTable: Example #1: Nested Stubs
     219AXChildren: 0
     220AXPosition: { 0.000000, 0.000000 }
     221AXSize: { 143.000000, 66.000000 }
     222AXTitle:
     223AXDescription:
     224AXValue: Ruritanian<\n>Population <\n>Survey
     225AXFocusable: 0
     226AXFocused: 0
     227AXSelectable: 0
     228AXSelected: 0
     229AXMultiSelectable: 0
     230AXEnabled: 1
     231AXExpanded: 0
     232AXRequired: 0
     233AXChecked: 0
     234AXPlatformAttributes: toolkit:WebKitEfl
     235------------
     236AXRole: AXColumnHeader
     237AXParent: AXTable: Example #1: Nested Stubs
     238AXChildren: 0
     239AXPosition: { 0.000000, 0.000000 }
     240AXSize: { 69.000000, 66.000000 }
    54241AXTitle:
    55242AXDescription:
     
    57244AXFocusable: 0
    58245AXFocused: 0
    59 AXSelectable: 1
    60 AXSelected: 0
    61 AXMultiSelectable: 0
    62 AXEnabled: 1
    63 AXExpanded: 0
    64 AXRequired: 0
    65 AXChecked: 0
    66 AXPlatformAttributes: toolkit:WebKitEfl
    67 ------------
    68 AXRole: AXCell
    69 AXParent: AXTable: Example #1: Nested Stubs
    70 AXChildren: 0
    71 AXPosition: { 0.000000, 0.000000 }
    72 AXSize: { 120.000000, 30.000000 }
     246AXSelectable: 0
     247AXSelected: 0
     248AXMultiSelectable: 0
     249AXEnabled: 1
     250AXExpanded: 0
     251AXRequired: 0
     252AXChecked: 0
     253AXPlatformAttributes: toolkit:WebKitEfl
     254------------
     255AXRole: AXColumnHeader
     256AXParent: AXTable: Example #1: Nested Stubs
     257AXChildren: 0
     258AXPosition: { 0.000000, 0.000000 }
     259AXSize: { 119.000000, 30.000000 }
    73260AXTitle:
    74261AXDescription:
     
    76263AXFocusable: 0
    77264AXFocused: 0
    78 AXSelectable: 1
    79 AXSelected: 0
    80 AXMultiSelectable: 0
    81 AXEnabled: 1
    82 AXExpanded: 0
    83 AXRequired: 0
    84 AXChecked: 0
    85 AXPlatformAttributes: toolkit:WebKitEfl
    86 ------------
    87 AXRole: AXCell
    88 AXParent: AXTable: Example #1: Nested Stubs
    89 AXChildren: 0
    90 AXPosition: { 0.000000, 0.000000 }
    91 AXSize: { 120.000000, 30.000000 }
     265AXSelectable: 0
     266AXSelected: 0
     267AXMultiSelectable: 0
     268AXEnabled: 1
     269AXExpanded: 0
     270AXRequired: 0
     271AXChecked: 0
     272AXPlatformAttributes: toolkit:WebKitEfl
     273------------
     274AXRole: AXColumnHeader
     275AXParent: AXTable: Example #1: Nested Stubs
     276AXChildren: 0
     277AXPosition: { 0.000000, 0.000000 }
     278AXSize: { 119.000000, 30.000000 }
    92279AXTitle:
    93280AXDescription:
     
    95282AXFocusable: 0
    96283AXFocused: 0
    97 AXSelectable: 1
    98 AXSelected: 0
    99 AXMultiSelectable: 0
    100 AXEnabled: 1
    101 AXExpanded: 0
    102 AXRequired: 0
    103 AXChecked: 0
    104 AXPlatformAttributes: toolkit:WebKitEfl
    105 ------------
    106 
    107 
    108 --------------------------
    109 
     284AXSelectable: 0
     285AXSelected: 0
     286AXMultiSelectable: 0
     287AXEnabled: 1
     288AXExpanded: 0
     289AXRequired: 0
     290AXChecked: 0
     291AXPlatformAttributes: toolkit:WebKitEfl
     292------------
     293AXRole: AXColumnHeader
     294AXParent: AXTable: Example #1: Nested Stubs
     295AXChildren: 0
     296AXPosition: { 0.000000, 0.000000 }
     297AXSize: { 143.000000, 66.000000 }
     298AXTitle:
     299AXDescription:
     300AXValue: Ruritanian<\n>Population <\n>Survey
     301AXFocusable: 0
     302AXFocused: 0
     303AXSelectable: 0
     304AXSelected: 0
     305AXMultiSelectable: 0
     306AXEnabled: 1
     307AXExpanded: 0
     308AXRequired: 0
     309AXChecked: 0
     310AXPlatformAttributes: toolkit:WebKitEfl
     311------------
     312AXRole: AXColumnHeader
     313AXParent: AXTable: Example #1: Nested Stubs
     314AXChildren: 0
     315AXPosition: { 0.000000, 0.000000 }
     316AXSize: { 143.000000, 66.000000 }
     317AXTitle:
     318AXDescription:
     319AXValue: Ruritanian<\n>Population <\n>Survey
     320AXFocusable: 0
     321AXFocused: 0
     322AXSelectable: 0
     323AXSelected: 0
     324AXMultiSelectable: 0
     325AXEnabled: 1
     326AXExpanded: 0
     327AXRequired: 0
     328AXChecked: 0
     329AXPlatformAttributes: toolkit:WebKitEfl
     330------------
     331AXRole: AXColumnHeader
     332AXParent: AXTable: Example #1: Nested Stubs
     333AXChildren: 0
     334AXPosition: { 0.000000, 0.000000 }
     335AXSize: { 69.000000, 66.000000 }
     336AXTitle:
     337AXDescription:
     338AXValue: All<\n>Genders
     339AXFocusable: 0
     340AXFocused: 0
     341AXSelectable: 0
     342AXSelected: 0
     343AXMultiSelectable: 0
     344AXEnabled: 1
     345AXExpanded: 0
     346AXRequired: 0
     347AXChecked: 0
     348AXPlatformAttributes: toolkit:WebKitEfl
     349------------
     350AXRole: AXCell
     351AXParent: AXTable: Example #1: Nested Stubs
     352AXChildren: 0
     353AXPosition: { 0.000000, 0.000000 }
     354AXSize: { 52.000000, 36.000000 }
     355AXTitle:
     356AXDescription:
     357AXValue: Males
     358AXFocusable: 0
     359AXFocused: 0
     360AXSelectable: 1
     361AXSelected: 0
     362AXMultiSelectable: 0
     363AXEnabled: 1
     364AXExpanded: 0
     365AXRequired: 0
     366AXChecked: 0
     367AXPlatformAttributes: toolkit:WebKitEfl
     368------------
     369AXRole: AXCell
     370AXParent: AXTable: Example #1: Nested Stubs
     371AXChildren: 0
     372AXPosition: { 0.000000, 0.000000 }
     373AXSize: { 67.000000, 36.000000 }
     374AXTitle:
     375AXDescription:
     376AXValue: Females
     377AXFocusable: 0
     378AXFocused: 0
     379AXSelectable: 1
     380AXSelected: 0
     381AXMultiSelectable: 0
     382AXEnabled: 1
     383AXExpanded: 0
     384AXRequired: 0
     385AXChecked: 0
     386AXPlatformAttributes: toolkit:WebKitEfl
     387------------
    110388AXRole: AXRowHeader
    111389AXParent: AXTable: Example #1: Nested Stubs
    112390AXChildren: 0
    113391AXPosition: { 0.000000, 0.000000 }
    114 AXSize: { 143.000000, 66.000000 }
    115 AXTitle:
    116 AXDescription:
    117 AXValue: Ruritanian<\n>Population <\n>Survey
     392AXSize: { 90.000000, 60.000000 }
     393AXTitle:
     394AXDescription:
     395AXValue: All Regions
     396AXFocusable: 0
     397AXFocused: 0
     398AXSelectable: 1
     399AXSelected: 0
     400AXMultiSelectable: 0
     401AXEnabled: 1
     402AXExpanded: 0
     403AXRequired: 0
     404AXChecked: 0
     405AXPlatformAttributes: toolkit:WebKitEfl
     406------------
     407AXRole: AXCell
     408AXParent: AXTable: Example #1: Nested Stubs
     409AXChildren: 0
     410AXPosition: { 0.000000, 0.000000 }
     411AXSize: { 53.000000, 30.000000 }
     412AXTitle:
     413AXDescription:
     414AXValue: North
     415AXFocusable: 0
     416AXFocused: 0
     417AXSelectable: 1
     418AXSelected: 0
     419AXMultiSelectable: 0
     420AXEnabled: 1
     421AXExpanded: 0
     422AXRequired: 0
     423AXChecked: 0
     424AXPlatformAttributes: toolkit:WebKitEfl
     425------------
     426AXRole: AXCell
     427AXParent: AXTable: Example #1: Nested Stubs
     428AXChildren: 0
     429AXPosition: { 0.000000, 0.000000 }
     430AXSize: { 69.000000, 30.000000 }
     431AXTitle:
     432AXDescription:
     433AXValue: 3333
     434AXFocusable: 0
     435AXFocused: 0
     436AXSelectable: 1
     437AXSelected: 0
     438AXMultiSelectable: 0
     439AXEnabled: 1
     440AXExpanded: 0
     441AXRequired: 0
     442AXChecked: 0
     443AXPlatformAttributes: toolkit:WebKitEfl
     444------------
     445AXRole: AXCell
     446AXParent: AXTable: Example #1: Nested Stubs
     447AXChildren: 0
     448AXPosition: { 0.000000, 0.000000 }
     449AXSize: { 52.000000, 30.000000 }
     450AXTitle:
     451AXDescription:
     452AXValue: 1111
     453AXFocusable: 0
     454AXFocused: 0
     455AXSelectable: 1
     456AXSelected: 0
     457AXMultiSelectable: 0
     458AXEnabled: 1
     459AXExpanded: 0
     460AXRequired: 0
     461AXChecked: 0
     462AXPlatformAttributes: toolkit:WebKitEfl
     463------------
     464AXRole: AXCell
     465AXParent: AXTable: Example #1: Nested Stubs
     466AXChildren: 0
     467AXPosition: { 0.000000, 0.000000 }
     468AXSize: { 67.000000, 30.000000 }
     469AXTitle:
     470AXDescription:
     471AXValue: 2222
    118472AXFocusable: 0
    119473AXFocused: 0
     
    131485AXChildren: 0
    132486AXPosition: { 0.000000, 0.000000 }
    133 AXSize: { 143.000000, 66.000000 }
    134 AXTitle:
    135 AXDescription:
    136 AXValue: Ruritanian<\n>Population <\n>Survey
    137 AXFocusable: 0
    138 AXFocused: 0
    139 AXSelectable: 1
    140 AXSelected: 0
    141 AXMultiSelectable: 0
    142 AXEnabled: 1
    143 AXExpanded: 0
    144 AXRequired: 0
    145 AXChecked: 0
    146 AXPlatformAttributes: toolkit:WebKitEfl
    147 ------------
    148 AXRole: AXRowHeader
    149 AXParent: AXTable: Example #1: Nested Stubs
    150 AXChildren: 0
    151 AXPosition: { 0.000000, 0.000000 }
    152487AXSize: { 90.000000, 60.000000 }
    153488AXTitle:
     
    165500AXPlatformAttributes: toolkit:WebKitEfl
    166501------------
    167 AXRole: AXRowHeader
    168 AXParent: AXTable: Example #1: Nested Stubs
    169 AXChildren: 0
    170 AXPosition: { 0.000000, 0.000000 }
    171 AXSize: { 90.000000, 60.000000 }
    172 AXTitle:
    173 AXDescription:
    174 AXValue: All Regions
    175 AXFocusable: 0
    176 AXFocused: 0
    177 AXSelectable: 1
    178 AXSelected: 0
    179 AXMultiSelectable: 0
    180 AXEnabled: 1
    181 AXExpanded: 0
    182 AXRequired: 0
    183 AXChecked: 0
    184 AXPlatformAttributes: toolkit:WebKitEfl
    185 ------------
    186 
    187 
    188 --------------------------
    189 
    190 
    191 
    192 --------------------------
    193 
    194 
    195 
    196 --------------------------
    197 
    198 AXRole: AXRowHeader
    199 AXParent: AXTable: Example #1: Nested Stubs
    200 AXChildren: 0
    201 AXPosition: { 0.000000, 0.000000 }
    202 AXSize: { 143.000000, 66.000000 }
    203 AXTitle:
    204 AXDescription:
    205 AXValue: Ruritanian<\n>Population <\n>Survey
    206 AXFocusable: 0
    207 AXFocused: 0
    208 AXSelectable: 1
    209 AXSelected: 0
    210 AXMultiSelectable: 0
    211 AXEnabled: 1
    212 AXExpanded: 0
    213 AXRequired: 0
    214 AXChecked: 0
    215 AXPlatformAttributes: toolkit:WebKitEfl
    216 ------------
    217 AXRole: AXRowHeader
    218 AXParent: AXTable: Example #1: Nested Stubs
    219 AXChildren: 0
    220 AXPosition: { 0.000000, 0.000000 }
    221 AXSize: { 143.000000, 66.000000 }
    222 AXTitle:
    223 AXDescription:
    224 AXValue: Ruritanian<\n>Population <\n>Survey
    225 AXFocusable: 0
    226 AXFocused: 0
    227 AXSelectable: 1
    228 AXSelected: 0
    229 AXMultiSelectable: 0
    230 AXEnabled: 1
    231 AXExpanded: 0
    232 AXRequired: 0
    233 AXChecked: 0
    234 AXPlatformAttributes: toolkit:WebKitEfl
    235 ------------
    236 AXRole: AXCell
    237 AXParent: AXTable: Example #1: Nested Stubs
    238 AXChildren: 0
    239 AXPosition: { 0.000000, 0.000000 }
    240 AXSize: { 69.000000, 66.000000 }
    241 AXTitle:
    242 AXDescription:
    243 AXValue: All<\n>Genders
    244 AXFocusable: 0
    245 AXFocused: 0
    246 AXSelectable: 1
    247 AXSelected: 0
    248 AXMultiSelectable: 0
    249 AXEnabled: 1
    250 AXExpanded: 0
    251 AXRequired: 0
    252 AXChecked: 0
    253 AXPlatformAttributes: toolkit:WebKitEfl
    254 ------------
    255 AXRole: AXCell
    256 AXParent: AXTable: Example #1: Nested Stubs
    257 AXChildren: 0
    258 AXPosition: { 0.000000, 0.000000 }
    259 AXSize: { 119.000000, 30.000000 }
    260 AXTitle:
    261 AXDescription:
    262 AXValue: By Gender
    263 AXFocusable: 0
    264 AXFocused: 0
    265 AXSelectable: 1
    266 AXSelected: 0
    267 AXMultiSelectable: 0
    268 AXEnabled: 1
    269 AXExpanded: 0
    270 AXRequired: 0
    271 AXChecked: 0
    272 AXPlatformAttributes: toolkit:WebKitEfl
    273 ------------
    274 AXRole: AXCell
    275 AXParent: AXTable: Example #1: Nested Stubs
    276 AXChildren: 0
    277 AXPosition: { 0.000000, 0.000000 }
    278 AXSize: { 119.000000, 30.000000 }
    279 AXTitle:
    280 AXDescription:
    281 AXValue: By Gender
    282 AXFocusable: 0
    283 AXFocused: 0
    284 AXSelectable: 1
    285 AXSelected: 0
    286 AXMultiSelectable: 0
    287 AXEnabled: 1
    288 AXExpanded: 0
    289 AXRequired: 0
    290 AXChecked: 0
    291 AXPlatformAttributes: toolkit:WebKitEfl
    292 ------------
    293 AXRole: AXRowHeader
    294 AXParent: AXTable: Example #1: Nested Stubs
    295 AXChildren: 0
    296 AXPosition: { 0.000000, 0.000000 }
    297 AXSize: { 143.000000, 66.000000 }
    298 AXTitle:
    299 AXDescription:
    300 AXValue: Ruritanian<\n>Population <\n>Survey
    301 AXFocusable: 0
    302 AXFocused: 0
    303 AXSelectable: 1
    304 AXSelected: 0
    305 AXMultiSelectable: 0
    306 AXEnabled: 1
    307 AXExpanded: 0
    308 AXRequired: 0
    309 AXChecked: 0
    310 AXPlatformAttributes: toolkit:WebKitEfl
    311 ------------
    312 AXRole: AXRowHeader
    313 AXParent: AXTable: Example #1: Nested Stubs
    314 AXChildren: 0
    315 AXPosition: { 0.000000, 0.000000 }
    316 AXSize: { 143.000000, 66.000000 }
    317 AXTitle:
    318 AXDescription:
    319 AXValue: Ruritanian<\n>Population <\n>Survey
    320 AXFocusable: 0
    321 AXFocused: 0
    322 AXSelectable: 1
    323 AXSelected: 0
    324 AXMultiSelectable: 0
    325 AXEnabled: 1
    326 AXExpanded: 0
    327 AXRequired: 0
    328 AXChecked: 0
    329 AXPlatformAttributes: toolkit:WebKitEfl
    330 ------------
    331 AXRole: AXCell
    332 AXParent: AXTable: Example #1: Nested Stubs
    333 AXChildren: 0
    334 AXPosition: { 0.000000, 0.000000 }
    335 AXSize: { 69.000000, 66.000000 }
    336 AXTitle:
    337 AXDescription:
    338 AXValue: All<\n>Genders
    339 AXFocusable: 0
    340 AXFocused: 0
    341 AXSelectable: 1
    342 AXSelected: 0
    343 AXMultiSelectable: 0
    344 AXEnabled: 1
    345 AXExpanded: 0
    346 AXRequired: 0
    347 AXChecked: 0
    348 AXPlatformAttributes: toolkit:WebKitEfl
    349 ------------
    350 AXRole: AXCell
    351 AXParent: AXTable: Example #1: Nested Stubs
    352 AXChildren: 0
    353 AXPosition: { 0.000000, 0.000000 }
    354 AXSize: { 52.000000, 36.000000 }
    355 AXTitle:
    356 AXDescription:
    357 AXValue: Males
    358 AXFocusable: 0
    359 AXFocused: 0
    360 AXSelectable: 1
    361 AXSelected: 0
    362 AXMultiSelectable: 0
    363 AXEnabled: 1
    364 AXExpanded: 0
    365 AXRequired: 0
    366 AXChecked: 0
    367 AXPlatformAttributes: toolkit:WebKitEfl
    368 ------------
    369 AXRole: AXCell
    370 AXParent: AXTable: Example #1: Nested Stubs
    371 AXChildren: 0
    372 AXPosition: { 0.000000, 0.000000 }
    373 AXSize: { 67.000000, 36.000000 }
    374 AXTitle:
    375 AXDescription:
    376 AXValue: Females
    377 AXFocusable: 0
    378 AXFocused: 0
    379 AXSelectable: 1
    380 AXSelected: 0
    381 AXMultiSelectable: 0
    382 AXEnabled: 1
    383 AXExpanded: 0
    384 AXRequired: 0
    385 AXChecked: 0
    386 AXPlatformAttributes: toolkit:WebKitEfl
    387 ------------
    388 AXRole: AXRowHeader
    389 AXParent: AXTable: Example #1: Nested Stubs
    390 AXChildren: 0
    391 AXPosition: { 0.000000, 0.000000 }
    392 AXSize: { 90.000000, 60.000000 }
    393 AXTitle:
    394 AXDescription:
    395 AXValue: All Regions
    396 AXFocusable: 0
    397 AXFocused: 0
    398 AXSelectable: 1
    399 AXSelected: 0
    400 AXMultiSelectable: 0
    401 AXEnabled: 1
    402 AXExpanded: 0
    403 AXRequired: 0
    404 AXChecked: 0
    405 AXPlatformAttributes: toolkit:WebKitEfl
    406 ------------
    407502AXRole: AXCell
    408503AXParent: AXTable: Example #1: Nested Stubs
     
    412507AXTitle:
    413508AXDescription:
    414 AXValue: North
     509AXValue: South
    415510AXFocusable: 0
    416511AXFocused: 0
     
    481576AXPlatformAttributes: toolkit:WebKitEfl
    482577------------
    483 AXRole: AXRowHeader
    484 AXParent: AXTable: Example #1: Nested Stubs
    485 AXChildren: 0
    486 AXPosition: { 0.000000, 0.000000 }
    487 AXSize: { 90.000000, 60.000000 }
    488 AXTitle:
    489 AXDescription:
    490 AXValue: All Regions
    491 AXFocusable: 0
    492 AXFocused: 0
    493 AXSelectable: 1
    494 AXSelected: 0
    495 AXMultiSelectable: 0
    496 AXEnabled: 1
    497 AXExpanded: 0
    498 AXRequired: 0
    499 AXChecked: 0
    500 AXPlatformAttributes: toolkit:WebKitEfl
    501 ------------
    502 AXRole: AXCell
    503 AXParent: AXTable: Example #1: Nested Stubs
    504 AXChildren: 0
    505 AXPosition: { 0.000000, 0.000000 }
    506 AXSize: { 53.000000, 30.000000 }
    507 AXTitle:
    508 AXDescription:
    509 AXValue: South
    510 AXFocusable: 0
    511 AXFocused: 0
    512 AXSelectable: 1
    513 AXSelected: 0
    514 AXMultiSelectable: 0
    515 AXEnabled: 1
    516 AXExpanded: 0
    517 AXRequired: 0
    518 AXChecked: 0
    519 AXPlatformAttributes: toolkit:WebKitEfl
    520 ------------
    521 AXRole: AXCell
    522 AXParent: AXTable: Example #1: Nested Stubs
    523 AXChildren: 0
    524 AXPosition: { 0.000000, 0.000000 }
    525 AXSize: { 69.000000, 30.000000 }
    526 AXTitle:
    527 AXDescription:
    528 AXValue: 3333
    529 AXFocusable: 0
    530 AXFocused: 0
    531 AXSelectable: 1
    532 AXSelected: 0
    533 AXMultiSelectable: 0
    534 AXEnabled: 1
    535 AXExpanded: 0
    536 AXRequired: 0
    537 AXChecked: 0
    538 AXPlatformAttributes: toolkit:WebKitEfl
    539 ------------
    540 AXRole: AXCell
    541 AXParent: AXTable: Example #1: Nested Stubs
    542 AXChildren: 0
    543 AXPosition: { 0.000000, 0.000000 }
    544 AXSize: { 52.000000, 30.000000 }
    545 AXTitle:
    546 AXDescription:
    547 AXValue: 1111
    548 AXFocusable: 0
    549 AXFocused: 0
    550 AXSelectable: 1
    551 AXSelected: 0
    552 AXMultiSelectable: 0
    553 AXEnabled: 1
    554 AXExpanded: 0
    555 AXRequired: 0
    556 AXChecked: 0
    557 AXPlatformAttributes: toolkit:WebKitEfl
    558 ------------
    559 AXRole: AXCell
    560 AXParent: AXTable: Example #1: Nested Stubs
    561 AXChildren: 0
    562 AXPosition: { 0.000000, 0.000000 }
    563 AXSize: { 67.000000, 30.000000 }
    564 AXTitle:
    565 AXDescription:
    566 AXValue: 2222
    567 AXFocusable: 0
    568 AXFocused: 0
    569 AXSelectable: 1
    570 AXSelected: 0
    571 AXMultiSelectable: 0
    572 AXEnabled: 1
    573 AXExpanded: 0
    574 AXRequired: 0
    575 AXChecked: 0
    576 AXPlatformAttributes: toolkit:WebKitEfl
    577 ------------
    578 
    579 
    580 --------------------------
    581 
    582 
    583 
    584 --------------------------
    585 
    586 
     578
     579
     580--------------------------
     581
     582
     583
     584--------------------------
     585
     586
  • trunk/LayoutTests/platform/efl/accessibility/table-cells-expected.txt

    r175408 r176122  
    1111------------------------
    1212[0,0]
    13 AXRole: AXRowHeader
     13AXRole: AXColumnHeader
    1414AXParent: AXTable: Example #1: Nested Stubs
    1515AXChildren: 0
     
    2121AXFocusable: 0
    2222AXFocused: 0
    23 AXSelectable: 1
     23AXSelectable: 0
    2424AXSelected: 0
    2525AXMultiSelectable: 0
     
    5151------------------------
    5252[1,1]
    53 AXRole: AXRowHeader
     53AXRole: AXColumnHeader
    5454AXParent: AXTable: Example #1: Nested Stubs
    5555AXChildren: 0
     
    6161AXFocusable: 0
    6262AXFocused: 0
    63 AXSelectable: 1
     63AXSelectable: 0
    6464AXSelected: 0
    6565AXMultiSelectable: 0
  • trunk/LayoutTests/platform/gtk/accessibility/table-attributes-expected.txt

    r175408 r176122  
    99--------------------------
    1010
    11 AXRole: AXRowHeader
     11AXRole: AXColumnHeader
    1212AXParent: AXTable: Example #1: Nested Stubs
    1313AXChildren: 0
     
    1919AXFocusable: 0
    2020AXFocused: 0
    21 AXSelectable: 1
    22 AXSelected: 0
    23 AXMultiSelectable: 0
    24 AXEnabled: 1
    25 AXExpanded: 0
    26 AXRequired: 0
    27 AXChecked: 0
    28 AXPlatformAttributes: toolkit:WebKitGtk
    29 ------------
    30 AXRole: AXRowHeader
     21AXSelectable: 0
     22AXSelected: 0
     23AXMultiSelectable: 0
     24AXEnabled: 1
     25AXExpanded: 0
     26AXRequired: 0
     27AXChecked: 0
     28AXPlatformAttributes: toolkit:WebKitGtk
     29------------
     30AXRole: AXColumnHeader
    3131AXParent: AXTable: Example #1: Nested Stubs
    3232AXChildren: 0
     
    3838AXFocusable: 0
    3939AXFocused: 0
    40 AXSelectable: 1
    41 AXSelected: 0
    42 AXMultiSelectable: 0
    43 AXEnabled: 1
    44 AXExpanded: 0
    45 AXRequired: 0
    46 AXChecked: 0
    47 AXPlatformAttributes: toolkit:WebKitGtk
    48 ------------
    49 AXRole: AXCell
     40AXSelectable: 0
     41AXSelected: 0
     42AXMultiSelectable: 0
     43AXEnabled: 1
     44AXExpanded: 0
     45AXRequired: 0
     46AXChecked: 0
     47AXPlatformAttributes: toolkit:WebKitGtk
     48------------
     49AXRole: AXColumnHeader
    5050AXParent: AXTable: Example #1: Nested Stubs
    5151AXChildren: 0
     
    5757AXFocusable: 0
    5858AXFocused: 0
    59 AXSelectable: 1
    60 AXSelected: 0
    61 AXMultiSelectable: 0
    62 AXEnabled: 1
    63 AXExpanded: 0
    64 AXRequired: 0
    65 AXChecked: 0
    66 AXPlatformAttributes: toolkit:WebKitGtk
    67 ------------
    68 AXRole: AXCell
     59AXSelectable: 0
     60AXSelected: 0
     61AXMultiSelectable: 0
     62AXEnabled: 1
     63AXExpanded: 0
     64AXRequired: 0
     65AXChecked: 0
     66AXPlatformAttributes: toolkit:WebKitGtk
     67------------
     68AXRole: AXColumnHeader
    6969AXParent: AXTable: Example #1: Nested Stubs
    7070AXChildren: 0
     
    7676AXFocusable: 0
    7777AXFocused: 0
    78 AXSelectable: 1
    79 AXSelected: 0
    80 AXMultiSelectable: 0
    81 AXEnabled: 1
    82 AXExpanded: 0
    83 AXRequired: 0
    84 AXChecked: 0
    85 AXPlatformAttributes: toolkit:WebKitGtk
    86 ------------
    87 AXRole: AXCell
     78AXSelectable: 0
     79AXSelected: 0
     80AXMultiSelectable: 0
     81AXEnabled: 1
     82AXExpanded: 0
     83AXRequired: 0
     84AXChecked: 0
     85AXPlatformAttributes: toolkit:WebKitGtk
     86------------
     87AXRole: AXColumnHeader
    8888AXParent: AXTable: Example #1: Nested Stubs
    8989AXChildren: 0
     
    9595AXFocusable: 0
    9696AXFocused: 0
    97 AXSelectable: 1
    98 AXSelected: 0
    99 AXMultiSelectable: 0
    100 AXEnabled: 1
    101 AXExpanded: 0
    102 AXRequired: 0
    103 AXChecked: 0
    104 AXPlatformAttributes: toolkit:WebKitGtk
    105 ------------
    106 
    107 
    108 --------------------------
    109 
    110 AXRole: AXRowHeader
     97AXSelectable: 0
     98AXSelected: 0
     99AXMultiSelectable: 0
     100AXEnabled: 1
     101AXExpanded: 0
     102AXRequired: 0
     103AXChecked: 0
     104AXPlatformAttributes: toolkit:WebKitGtk
     105------------
     106
     107
     108--------------------------
     109
     110AXRole: AXColumnHeader
    111111AXParent: AXTable: Example #1: Nested Stubs
    112112AXChildren: 0
     
    118118AXFocusable: 0
    119119AXFocused: 0
    120 AXSelectable: 1
    121 AXSelected: 0
    122 AXMultiSelectable: 0
    123 AXEnabled: 1
    124 AXExpanded: 0
    125 AXRequired: 0
    126 AXChecked: 0
    127 AXPlatformAttributes: toolkit:WebKitGtk
    128 ------------
    129 AXRole: AXRowHeader
     120AXSelectable: 0
     121AXSelected: 0
     122AXMultiSelectable: 0
     123AXEnabled: 1
     124AXExpanded: 0
     125AXRequired: 0
     126AXChecked: 0
     127AXPlatformAttributes: toolkit:WebKitGtk
     128------------
     129AXRole: AXColumnHeader
    130130AXParent: AXTable: Example #1: Nested Stubs
    131131AXChildren: 0
     
    137137AXFocusable: 0
    138138AXFocused: 0
    139 AXSelectable: 1
     139AXSelectable: 0
    140140AXSelected: 0
    141141AXMultiSelectable: 0
     
    196196--------------------------
    197197
    198 AXRole: AXRowHeader
     198AXRole: AXColumnHeader
    199199AXParent: AXTable: Example #1: Nested Stubs
    200200AXChildren: 0
     
    206206AXFocusable: 0
    207207AXFocused: 0
    208 AXSelectable: 1
    209 AXSelected: 0
    210 AXMultiSelectable: 0
    211 AXEnabled: 1
    212 AXExpanded: 0
    213 AXRequired: 0
    214 AXChecked: 0
    215 AXPlatformAttributes: toolkit:WebKitGtk
    216 ------------
    217 AXRole: AXRowHeader
     208AXSelectable: 0
     209AXSelected: 0
     210AXMultiSelectable: 0
     211AXEnabled: 1
     212AXExpanded: 0
     213AXRequired: 0
     214AXChecked: 0
     215AXPlatformAttributes: toolkit:WebKitGtk
     216------------
     217AXRole: AXColumnHeader
    218218AXParent: AXTable: Example #1: Nested Stubs
    219219AXChildren: 0
     
    225225AXFocusable: 0
    226226AXFocused: 0
    227 AXSelectable: 1
    228 AXSelected: 0
    229 AXMultiSelectable: 0
    230 AXEnabled: 1
    231 AXExpanded: 0
    232 AXRequired: 0
    233 AXChecked: 0
    234 AXPlatformAttributes: toolkit:WebKitGtk
    235 ------------
    236 AXRole: AXCell
     227AXSelectable: 0
     228AXSelected: 0
     229AXMultiSelectable: 0
     230AXEnabled: 1
     231AXExpanded: 0
     232AXRequired: 0
     233AXChecked: 0
     234AXPlatformAttributes: toolkit:WebKitGtk
     235------------
     236AXRole: AXColumnHeader
    237237AXParent: AXTable: Example #1: Nested Stubs
    238238AXChildren: 0
     
    244244AXFocusable: 0
    245245AXFocused: 0
    246 AXSelectable: 1
    247 AXSelected: 0
    248 AXMultiSelectable: 0
    249 AXEnabled: 1
    250 AXExpanded: 0
    251 AXRequired: 0
    252 AXChecked: 0
    253 AXPlatformAttributes: toolkit:WebKitGtk
    254 ------------
    255 AXRole: AXCell
     246AXSelectable: 0
     247AXSelected: 0
     248AXMultiSelectable: 0
     249AXEnabled: 1
     250AXExpanded: 0
     251AXRequired: 0
     252AXChecked: 0
     253AXPlatformAttributes: toolkit:WebKitGtk
     254------------
     255AXRole: AXColumnHeader
    256256AXParent: AXTable: Example #1: Nested Stubs
    257257AXChildren: 0
     
    263263AXFocusable: 0
    264264AXFocused: 0
    265 AXSelectable: 1
    266 AXSelected: 0
    267 AXMultiSelectable: 0
    268 AXEnabled: 1
    269 AXExpanded: 0
    270 AXRequired: 0
    271 AXChecked: 0
    272 AXPlatformAttributes: toolkit:WebKitGtk
    273 ------------
    274 AXRole: AXCell
     265AXSelectable: 0
     266AXSelected: 0
     267AXMultiSelectable: 0
     268AXEnabled: 1
     269AXExpanded: 0
     270AXRequired: 0
     271AXChecked: 0
     272AXPlatformAttributes: toolkit:WebKitGtk
     273------------
     274AXRole: AXColumnHeader
    275275AXParent: AXTable: Example #1: Nested Stubs
    276276AXChildren: 0
     
    282282AXFocusable: 0
    283283AXFocused: 0
    284 AXSelectable: 1
    285 AXSelected: 0
    286 AXMultiSelectable: 0
    287 AXEnabled: 1
    288 AXExpanded: 0
    289 AXRequired: 0
    290 AXChecked: 0
    291 AXPlatformAttributes: toolkit:WebKitGtk
    292 ------------
    293 AXRole: AXRowHeader
     284AXSelectable: 0
     285AXSelected: 0
     286AXMultiSelectable: 0
     287AXEnabled: 1
     288AXExpanded: 0
     289AXRequired: 0
     290AXChecked: 0
     291AXPlatformAttributes: toolkit:WebKitGtk
     292------------
     293AXRole: AXColumnHeader
    294294AXParent: AXTable: Example #1: Nested Stubs
    295295AXChildren: 0
     
    301301AXFocusable: 0
    302302AXFocused: 0
    303 AXSelectable: 1
    304 AXSelected: 0
    305 AXMultiSelectable: 0
    306 AXEnabled: 1
    307 AXExpanded: 0
    308 AXRequired: 0
    309 AXChecked: 0
    310 AXPlatformAttributes: toolkit:WebKitGtk
    311 ------------
    312 AXRole: AXRowHeader
     303AXSelectable: 0
     304AXSelected: 0
     305AXMultiSelectable: 0
     306AXEnabled: 1
     307AXExpanded: 0
     308AXRequired: 0
     309AXChecked: 0
     310AXPlatformAttributes: toolkit:WebKitGtk
     311------------
     312AXRole: AXColumnHeader
    313313AXParent: AXTable: Example #1: Nested Stubs
    314314AXChildren: 0
     
    320320AXFocusable: 0
    321321AXFocused: 0
    322 AXSelectable: 1
    323 AXSelected: 0
    324 AXMultiSelectable: 0
    325 AXEnabled: 1
    326 AXExpanded: 0
    327 AXRequired: 0
    328 AXChecked: 0
    329 AXPlatformAttributes: toolkit:WebKitGtk
    330 ------------
    331 AXRole: AXCell
     322AXSelectable: 0
     323AXSelected: 0
     324AXMultiSelectable: 0
     325AXEnabled: 1
     326AXExpanded: 0
     327AXRequired: 0
     328AXChecked: 0
     329AXPlatformAttributes: toolkit:WebKitGtk
     330------------
     331AXRole: AXColumnHeader
    332332AXParent: AXTable: Example #1: Nested Stubs
    333333AXChildren: 0
     
    339339AXFocusable: 0
    340340AXFocused: 0
    341 AXSelectable: 1
     341AXSelectable: 0
    342342AXSelected: 0
    343343AXMultiSelectable: 0
  • trunk/LayoutTests/platform/gtk/accessibility/table-cells-expected.txt

    r175408 r176122  
    1111------------------------
    1212[0,0]
    13 AXRole: AXRowHeader
     13AXRole: AXColumnHeader
    1414AXParent: AXTable: Example #1: Nested Stubs
    1515AXChildren: 0
     
    2121AXFocusable: 0
    2222AXFocused: 0
    23 AXSelectable: 1
     23AXSelectable: 0
    2424AXSelected: 0
    2525AXMultiSelectable: 0
     
    5151------------------------
    5252[1,1]
    53 AXRole: AXRowHeader
     53AXRole: AXColumnHeader
    5454AXParent: AXTable: Example #1: Nested Stubs
    5555AXChildren: 0
     
    6161AXFocusable: 0
    6262AXFocused: 0
    63 AXSelectable: 1
     63AXSelectable: 0
    6464AXSelected: 0
    6565AXMultiSelectable: 0
  • trunk/LayoutTests/platform/mac/accessibility/table-attributes-expected.txt

    r174675 r176122  
    231231AXRowIndexRange: NSRange: {1, 1}
    232232AXColumnIndexRange: NSRange: {3, 1}
    233 AXColumnHeaderUIElements: <array of size 0>
     233AXColumnHeaderUIElements: <array of size 1>
    234234AXRowHeaderUIElements: <array of size 1>
    235235AXElementBusy: 0
     
    263263AXRowIndexRange: NSRange: {2, 2}
    264264AXColumnIndexRange: NSRange: {0, 1}
    265 AXColumnHeaderUIElements: <array of size 0>
     265AXColumnHeaderUIElements: <array of size 1>
    266266AXRowHeaderUIElements: <array of size 0>
    267267AXElementBusy: 0
     
    295295AXRowIndexRange: NSRange: {3, 1}
    296296AXColumnIndexRange: NSRange: {1, 1}
    297 AXColumnHeaderUIElements: <array of size 0>
     297AXColumnHeaderUIElements: <array of size 1>
    298298AXRowHeaderUIElements: <array of size 1>
    299299AXElementBusy: 0
     
    702702AXRowIndexRange: NSRange: {1, 1}
    703703AXColumnIndexRange: NSRange: {3, 1}
    704 AXColumnHeaderUIElements: <array of size 0>
     704AXColumnHeaderUIElements: <array of size 1>
    705705AXRowHeaderUIElements: <array of size 1>
    706706AXElementBusy: 0
     
    734734AXRowIndexRange: NSRange: {1, 1}
    735735AXColumnIndexRange: NSRange: {4, 1}
    736 AXColumnHeaderUIElements: <array of size 0>
     736AXColumnHeaderUIElements: <array of size 1>
    737737AXRowHeaderUIElements: <array of size 1>
    738738AXElementBusy: 0
     
    766766AXRowIndexRange: NSRange: {2, 2}
    767767AXColumnIndexRange: NSRange: {0, 1}
    768 AXColumnHeaderUIElements: <array of size 0>
     768AXColumnHeaderUIElements: <array of size 1>
    769769AXRowHeaderUIElements: <array of size 0>
    770770AXElementBusy: 0
     
    798798AXRowIndexRange: NSRange: {2, 1}
    799799AXColumnIndexRange: NSRange: {1, 1}
    800 AXColumnHeaderUIElements: <array of size 0>
     800AXColumnHeaderUIElements: <array of size 1>
    801801AXRowHeaderUIElements: <array of size 1>
    802802AXElementBusy: 0
     
    830830AXRowIndexRange: NSRange: {2, 1}
    831831AXColumnIndexRange: NSRange: {2, 1}
    832 AXColumnHeaderUIElements: <array of size 0>
     832AXColumnHeaderUIElements: <array of size 1>
    833833AXRowHeaderUIElements: <array of size 1>
    834834AXElementBusy: 0
     
    862862AXRowIndexRange: NSRange: {2, 1}
    863863AXColumnIndexRange: NSRange: {3, 1}
    864 AXColumnHeaderUIElements: <array of size 0>
     864AXColumnHeaderUIElements: <array of size 1>
    865865AXRowHeaderUIElements: <array of size 1>
    866866AXElementBusy: 0
     
    894894AXRowIndexRange: NSRange: {2, 1}
    895895AXColumnIndexRange: NSRange: {4, 1}
    896 AXColumnHeaderUIElements: <array of size 0>
     896AXColumnHeaderUIElements: <array of size 1>
    897897AXRowHeaderUIElements: <array of size 1>
    898898AXElementBusy: 0
     
    926926AXRowIndexRange: NSRange: {3, 1}
    927927AXColumnIndexRange: NSRange: {1, 1}
    928 AXColumnHeaderUIElements: <array of size 0>
     928AXColumnHeaderUIElements: <array of size 1>
    929929AXRowHeaderUIElements: <array of size 1>
    930930AXElementBusy: 0
     
    958958AXRowIndexRange: NSRange: {3, 1}
    959959AXColumnIndexRange: NSRange: {2, 1}
    960 AXColumnHeaderUIElements: <array of size 0>
     960AXColumnHeaderUIElements: <array of size 1>
    961961AXRowHeaderUIElements: <array of size 1>
    962962AXElementBusy: 0
     
    990990AXRowIndexRange: NSRange: {3, 1}
    991991AXColumnIndexRange: NSRange: {3, 1}
    992 AXColumnHeaderUIElements: <array of size 0>
     992AXColumnHeaderUIElements: <array of size 1>
    993993AXRowHeaderUIElements: <array of size 1>
    994994AXElementBusy: 0
     
    10221022AXRowIndexRange: NSRange: {3, 1}
    10231023AXColumnIndexRange: NSRange: {4, 1}
    1024 AXColumnHeaderUIElements: <array of size 0>
     1024AXColumnHeaderUIElements: <array of size 1>
    10251025AXRowHeaderUIElements: <array of size 1>
    10261026AXElementBusy: 0
  • trunk/LayoutTests/platform/mac/accessibility/table-cells-expected.txt

    r174675 r176122  
    7070AXRowIndexRange: NSRange: {1, 1}
    7171AXColumnIndexRange: NSRange: {3, 1}
    72 AXColumnHeaderUIElements: <array of size 0>
     72AXColumnHeaderUIElements: <array of size 1>
    7373AXRowHeaderUIElements: <array of size 1>
    7474AXElementBusy: 0
     
    136136AXRowIndexRange: NSRange: {2, 1}
    137137AXColumnIndexRange: NSRange: {2, 1}
    138 AXColumnHeaderUIElements: <array of size 0>
     138AXColumnHeaderUIElements: <array of size 1>
    139139AXRowHeaderUIElements: <array of size 1>
    140140AXElementBusy: 0
     
    169169AXRowIndexRange: NSRange: {5, 1}
    170170AXColumnIndexRange: NSRange: {3, 1}
    171 AXColumnHeaderUIElements: <array of size 0>
     171AXColumnHeaderUIElements: <array of size 1>
    172172AXRowHeaderUIElements: <array of size 1>
    173173AXElementBusy: 0
  • trunk/Source/WebCore/ChangeLog

    r176120 r176122  
     12014-11-14  Andrzej Badowski  <a.badowski@samsung.com>
     2
     3        AX: Improve AccessibilityTableCell isColumnHeaderCell function.
     4        https://bugs.webkit.org/show_bug.cgi?id=138423
     5
     6        Reviewed by Chris Fleizach.
     7
     8        <th> cell in the zero row should be column header.
     9
     10        New tests are not necessary.
     11
     12        * accessibility/AccessibilityTableCell.cpp:
     13        (WebCore::AccessibilityTableCell::isColumnHeaderCell):
     14
    1152014-11-14  Carlos Garcia Campos  <cgarcia@igalia.com>
    216
  • trunk/Source/WebCore/accessibility/AccessibilityTableCell.cpp

    r175408 r176122  
    153153    // We are in a situation after checking the scope attribute.
    154154    // It is an attempt to resolve the type of th element without support in the specification.
    155     // Checking tableTag allows to check the case of direct row placement in the table and lets stop the loop at the table level.
     155    // Checking tableTag and tbodyTag allows to check the case of direct row placement in the table and lets stop the loop at the table level.
    156156    for (Node* parentNode = node(); parentNode; parentNode = parentNode->parentNode()) {
    157157        if (parentNode->hasTagName(theadTag))
    158158            return true;
    159         if (parentNode->hasTagName(tbodyTag) || parentNode->hasTagName(tfootTag))
     159        if (parentNode->hasTagName(tfootTag))
    160160            return false;
    161         if (parentNode->hasTagName(tableTag)) {
     161        if (parentNode->hasTagName(tableTag) || parentNode->hasTagName(tbodyTag)) {
    162162            std::pair<unsigned, unsigned> rowRange;
    163163            rowIndexRange(rowRange);
Note: See TracChangeset for help on using the changeset viewer.