Changeset 185662 in webkit


Ignore:
Timestamp:
Jun 17, 2015 1:03:13 PM (9 years ago)
Author:
jdiggs@igalia.com
Message:

AX: [ATK] Expose element tag name as an object attribute
https://bugs.webkit.org/show_bug.cgi?id=146062

Reviewed by Mario Sanchez Prada.

Source/WebCore:

Expose the element tag name as an object attribute with name "tag" and
value being the lowercase tag name, both being what Gecko does for ATK.

No new tests. We already have sufficient coverage for AtkObject attributes.
These tests have been updated to reflect the addition of the new attribute.

  • accessibility/atk/WebKitAccessibleWrapperAtk.cpp:

(webkitAccessibleGetAttributes):

LayoutTests:

The following tests all include the AtkObject attributes of elements. Now that
tag name is exposed, the expectations needed to be updated to reflect the change.

  • platform/gtk/accessibility/image-link-expected.txt: Updated.
  • platform/gtk/accessibility/image-map2-expected.txt: Updated.
  • platform/gtk/accessibility/lists-expected.txt: Updated.
  • platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Updated.
  • platform/gtk/accessibility/table-attributes-expected.txt: Updated.
  • platform/gtk/accessibility/table-cell-spans-expected.txt: Updated.
  • platform/gtk/accessibility/table-cells-expected.txt: Updated.
  • platform/gtk/accessibility/table-detection-expected.txt: Updated.
  • platform/gtk/accessibility/table-one-cell-expected.txt: Updated.
  • platform/gtk/accessibility/table-sections-expected.txt: Updated.
  • platform/gtk/accessibility/table-with-rules-expected.txt: Updated.
  • platform/gtk/accessibility/transformed-element-expected.txt: Updated.
  • platform/gtk/accessibility/xml-roles-exposed-expected.txt: Updated.
Location:
trunk
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r185658 r185662  
     12015-06-17  Joanmarie Diggs  <jdiggs@igalia.com>
     2
     3        AX: [ATK] Expose element tag name as an object attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=146062
     5
     6        Reviewed by Mario Sanchez Prada.
     7
     8        The following tests all include the AtkObject attributes of elements. Now that
     9        tag name is exposed, the expectations needed to be updated to reflect the change.
     10
     11        * platform/gtk/accessibility/image-link-expected.txt: Updated.
     12        * platform/gtk/accessibility/image-map2-expected.txt: Updated.
     13        * platform/gtk/accessibility/lists-expected.txt: Updated.
     14        * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: Updated.
     15        * platform/gtk/accessibility/table-attributes-expected.txt: Updated.
     16        * platform/gtk/accessibility/table-cell-spans-expected.txt: Updated.
     17        * platform/gtk/accessibility/table-cells-expected.txt: Updated.
     18        * platform/gtk/accessibility/table-detection-expected.txt: Updated.
     19        * platform/gtk/accessibility/table-one-cell-expected.txt: Updated.
     20        * platform/gtk/accessibility/table-sections-expected.txt: Updated.
     21        * platform/gtk/accessibility/table-with-rules-expected.txt: Updated.
     22        * platform/gtk/accessibility/transformed-element-expected.txt: Updated.
     23        * platform/gtk/accessibility/xml-roles-exposed-expected.txt: Updated.
     24
    1252015-06-17  Brent Fulgham  <bfulgham@apple.com>
    226
  • trunk/LayoutTests/platform/gtk/accessibility/image-link-expected.txt

    r184754 r185662  
    2222AXChecked: 0
    2323AXURL: http://www.wowhead.com/?item=33924
    24 AXPlatformAttributes: computed-role:link, html-id:test, toolkit:WebKitGtk
     24AXPlatformAttributes: computed-role:link, html-id:test, tag:a, toolkit:WebKitGtk
    2525
    2626Child 0:
     
    4242AXChecked: 0
    4343AXURL: LayoutTests/accessibility/resources/cake.png
    44 AXPlatformAttributes: computed-role:img, toolkit:WebKitGtk
     44AXPlatformAttributes: computed-role:img, tag:img, toolkit:WebKitGtk
    4545
    4646
  • trunk/LayoutTests/platform/gtk/accessibility/image-map2-expected.txt

    r184754 r185662  
    1818AXRequired: 0
    1919AXChecked: 0
    20 AXPlatformAttributes: html-id:result, toolkit:WebKitGtk
     20AXPlatformAttributes: html-id:result, tag:div, toolkit:WebKitGtk
    2121------------
    2222AXRole: AXLink
     
    3838AXChecked: 0
    3939AXURL: http://www.apple.com/
    40 AXPlatformAttributes: computed-role:link, toolkit:WebKitGtk
     40AXPlatformAttributes: computed-role:link, tag:area, toolkit:WebKitGtk
    4141------------
    4242AXRole: AXLink
     
    5858AXChecked: 0
    5959AXURL: http://www.apple.com/
    60 AXPlatformAttributes: computed-role:link, toolkit:WebKitGtk
     60AXPlatformAttributes: computed-role:link, tag:area, toolkit:WebKitGtk
    6161------------
    6262
  • trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt

    r184754 r185662  
    2828AXRequired: 0
    2929AXChecked: 0
    30 AXPlatformAttributes: computed-role:list, toolkit:WebKitGtk
     30AXPlatformAttributes: computed-role:list, tag:ul, toolkit:WebKitGtk
    3131------------
    3232AXRole: AXList
     
    4646AXRequired: 0
    4747AXChecked: 0
    48 AXPlatformAttributes: computed-role:list, toolkit:WebKitGtk
     48AXPlatformAttributes: computed-role:list, tag:ol, toolkit:WebKitGtk
    4949------------
    5050AXRole: AXDescriptionList
     
    6464AXRequired: 0
    6565AXChecked: 0
    66 AXPlatformAttributes: toolkit:WebKitGtk
     66AXPlatformAttributes: tag:dl, toolkit:WebKitGtk
    6767------------
    6868AXRole: AXGroup
     
    104104AXRequired: 0
    105105AXChecked: 0
    106 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk
     106AXPlatformAttributes: computed-role:listitem, tag:li, toolkit:WebKitGtk
    107107------------
    108108AXRole: AXListItem
     
    123123AXRequired: 0
    124124AXChecked: 0
    125 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk
     125AXPlatformAttributes: computed-role:listitem, tag:li, toolkit:WebKitGtk
    126126------------
    127127
     
    144144AXRequired: 0
    145145AXChecked: 0
    146 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk
     146AXPlatformAttributes: computed-role:listitem, tag:li, toolkit:WebKitGtk
    147147------------
    148148AXRole: AXListItem
     
    163163AXRequired: 0
    164164AXChecked: 0
    165 AXPlatformAttributes: computed-role:listitem, toolkit:WebKitGtk
     165AXPlatformAttributes: computed-role:listitem, tag:li, toolkit:WebKitGtk
    166166------------
    167167
     
    184184AXRequired: 0
    185185AXChecked: 0
    186 AXPlatformAttributes: toolkit:WebKitGtk
     186AXPlatformAttributes: tag:dt, toolkit:WebKitGtk
    187187------------
    188188AXRole: AXDescriptionValue
     
    203203AXRequired: 0
    204204AXChecked: 0
    205 AXPlatformAttributes: toolkit:WebKitGtk
     205AXPlatformAttributes: tag:dd, toolkit:WebKitGtk
    206206------------
    207207AXRole: AXDescriptionTerm
     
    222222AXRequired: 0
    223223AXChecked: 0
    224 AXPlatformAttributes: toolkit:WebKitGtk
     224AXPlatformAttributes: tag:dt, toolkit:WebKitGtk
    225225------------
    226226AXRole: AXDescriptionValue
     
    241241AXRequired: 0
    242242AXChecked: 0
    243 AXPlatformAttributes: toolkit:WebKitGtk
     243AXPlatformAttributes: tag:dd, toolkit:WebKitGtk
    244244------------
    245245AXRole: AXDescriptionValue
     
    260260AXRequired: 0
    261261AXChecked: 0
    262 AXPlatformAttributes: toolkit:WebKitGtk
    263 ------------
    264 
    265 
    266 
     262AXPlatformAttributes: tag:dd, toolkit:WebKitGtk
     263------------
     264
     265
     266
  • trunk/LayoutTests/platform/gtk/accessibility/math-multiscript-attributes-expected.txt

    r179253 r185662  
    2626AXRequired: 0
    2727AXChecked: 0
    28 AXPlatformAttributes: toolkit:WebKitGtk
     28AXPlatformAttributes: tag:mi, toolkit:WebKitGtk
    2929------------
    3030AXRole: AXSubscript
     
    4545AXRequired: 0
    4646AXChecked: 0
    47 AXPlatformAttributes: multiscript-type:post, toolkit:WebKitGtk
     47AXPlatformAttributes: multiscript-type:post, tag:mi, toolkit:WebKitGtk
    4848------------
    4949AXRole: AXSuperscript
     
    6464AXRequired: 0
    6565AXChecked: 0
    66 AXPlatformAttributes: multiscript-type:post, toolkit:WebKitGtk
     66AXPlatformAttributes: multiscript-type:post, tag:mi, toolkit:WebKitGtk
    6767------------
    6868AXRole: AXSubscript
     
    8383AXRequired: 0
    8484AXChecked: 0
    85 AXPlatformAttributes: multiscript-type:pre, toolkit:WebKitGtk
     85AXPlatformAttributes: multiscript-type:pre, tag:mi, toolkit:WebKitGtk
    8686------------
    8787AXRole: AXSuperscript
     
    102102AXRequired: 0
    103103AXChecked: 0
    104 AXPlatformAttributes: multiscript-type:pre, toolkit:WebKitGtk
     104AXPlatformAttributes: multiscript-type:pre, tag:mi, toolkit:WebKitGtk
    105105------------
    106106
  • trunk/LayoutTests/platform/gtk/accessibility/table-attributes-expected.txt

    r184754 r185662  
    2626AXRequired: 0
    2727AXChecked: 0
    28 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     28AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    2929------------
    3030AXRole: AXColumnHeader
     
    4545AXRequired: 0
    4646AXChecked: 0
    47 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     47AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    4848------------
    4949AXRole: AXColumnHeader
     
    6464AXRequired: 0
    6565AXChecked: 0
    66 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     66AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    6767------------
    6868AXRole: AXColumnHeader
     
    8383AXRequired: 0
    8484AXChecked: 0
    85 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     85AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    8686------------
    8787AXRole: AXColumnHeader
     
    102102AXRequired: 0
    103103AXChecked: 0
    104 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     104AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    105105------------
    106106
     
    125125AXRequired: 0
    126126AXChecked: 0
    127 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     127AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    128128------------
    129129AXRole: AXColumnHeader
     
    144144AXRequired: 0
    145145AXChecked: 0
    146 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     146AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    147147------------
    148148AXRole: AXRowHeader
     
    163163AXRequired: 0
    164164AXChecked: 0
    165 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     165AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    166166------------
    167167AXRole: AXRowHeader
     
    182182AXRequired: 0
    183183AXChecked: 0
    184 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     184AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    185185------------
    186186
     
    213213AXRequired: 0
    214214AXChecked: 0
    215 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     215AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    216216------------
    217217AXRole: AXColumnHeader
     
    232232AXRequired: 0
    233233AXChecked: 0
    234 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     234AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    235235------------
    236236AXRole: AXColumnHeader
     
    251251AXRequired: 0
    252252AXChecked: 0
    253 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     253AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    254254------------
    255255AXRole: AXColumnHeader
     
    270270AXRequired: 0
    271271AXChecked: 0
    272 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     272AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    273273------------
    274274AXRole: AXColumnHeader
     
    289289AXRequired: 0
    290290AXChecked: 0
    291 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     291AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    292292------------
    293293AXRole: AXColumnHeader
     
    308308AXRequired: 0
    309309AXChecked: 0
    310 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     310AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    311311------------
    312312AXRole: AXColumnHeader
     
    327327AXRequired: 0
    328328AXChecked: 0
    329 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     329AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    330330------------
    331331AXRole: AXColumnHeader
     
    346346AXRequired: 0
    347347AXChecked: 0
    348 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     348AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    349349------------
    350350AXRole: AXCell
     
    365365AXRequired: 0
    366366AXChecked: 0
    367 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     367AXPlatformAttributes: computed-role:gridcell, tag:th, toolkit:WebKitGtk
    368368------------
    369369AXRole: AXCell
     
    384384AXRequired: 0
    385385AXChecked: 0
    386 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     386AXPlatformAttributes: computed-role:gridcell, tag:th, toolkit:WebKitGtk
    387387------------
    388388AXRole: AXRowHeader
     
    403403AXRequired: 0
    404404AXChecked: 0
    405 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     405AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    406406------------
    407407AXRole: AXCell
     
    422422AXRequired: 0
    423423AXChecked: 0
    424 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     424AXPlatformAttributes: computed-role:gridcell, tag:th, toolkit:WebKitGtk
    425425------------
    426426AXRole: AXCell
     
    441441AXRequired: 0
    442442AXChecked: 0
    443 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     443AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    444444------------
    445445AXRole: AXCell
     
    460460AXRequired: 0
    461461AXChecked: 0
    462 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     462AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    463463------------
    464464AXRole: AXCell
     
    479479AXRequired: 0
    480480AXChecked: 0
    481 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     481AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    482482------------
    483483AXRole: AXRowHeader
     
    498498AXRequired: 0
    499499AXChecked: 0
    500 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     500AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    501501------------
    502502AXRole: AXCell
     
    517517AXRequired: 0
    518518AXChecked: 0
    519 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     519AXPlatformAttributes: computed-role:gridcell, tag:th, toolkit:WebKitGtk
    520520------------
    521521AXRole: AXCell
     
    536536AXRequired: 0
    537537AXChecked: 0
    538 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     538AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    539539------------
    540540AXRole: AXCell
     
    555555AXRequired: 0
    556556AXChecked: 0
    557 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     557AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    558558------------
    559559AXRole: AXCell
     
    574574AXRequired: 0
    575575AXChecked: 0
    576 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
    577 ------------
    578 
    579 
    580 --------------------------
    581 
    582 
    583 
    584 --------------------------
    585 
    586 
     576AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
     577------------
     578
     579
     580--------------------------
     581
     582
     583
     584--------------------------
     585
     586
  • trunk/LayoutTests/platform/gtk/accessibility/table-cell-spans-expected.txt

    r184754 r185662  
    2626AXRequired: 0
    2727AXChecked: 0
    28 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     28AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    2929{0, 2}, {0, 2}
    3030
     
    4848AXRequired: 0
    4949AXChecked: 0
    50 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     50AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    5151{0, 2}, {0, 2}
    5252
     
    7070AXRequired: 0
    7171AXChecked: 0
    72 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     72AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    7373{2, 2}, {0, 1}
    7474
     
    9292AXRequired: 0
    9393AXChecked: 0
    94 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     94AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    9595{2, 2}, {0, 1}
    9696
     
    114114AXRequired: 0
    115115AXChecked: 0
    116 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     116AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    117117{2, 1}, {3, 1}
    118118
  • trunk/LayoutTests/platform/gtk/accessibility/table-cells-expected.txt

    r184754 r185662  
    2828AXRequired: 0
    2929AXChecked: 0
    30 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     30AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    3131------------------------
    3232[3,1]
     
    4848AXRequired: 0
    4949AXChecked: 0
    50 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     50AXPlatformAttributes: computed-role:gridcell, tag:th, toolkit:WebKitGtk
    5151------------------------
    5252[1,1]
     
    6868AXRequired: 0
    6969AXChecked: 0
    70 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     70AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    7171------------------------
    7272[2,2]
     
    8888AXRequired: 0
    8989AXChecked: 0
    90 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     90AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    9191------------------------
    9292[3,5]
     
    108108AXRequired: 0
    109109AXChecked: 0
    110 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     110AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    111111------------------------
    112112[100,0]
  • trunk/LayoutTests/platform/gtk/accessibility/table-detection-expected.txt

    r184754 r185662  
    1818AXRequired: 0
    1919AXChecked: 0
    20 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     20AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    2121
    2222asdf    asdf
     
    4141AXRequired: 0
    4242AXChecked: 0
    43 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     43AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    4444
    4545asdf    asdf
     
    6464AXRequired: 0
    6565AXChecked: 0
    66 AXPlatformAttributes: toolkit:WebKitGtk
     66AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    6767
    6868asdf    asdf
     
    8686AXRequired: 0
    8787AXChecked: 0
    88 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     88AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    8989
    9090asdf    asdf
     
    108108AXRequired: 0
    109109AXChecked: 0
    110 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     110AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    111111
    112112asdf    asdf
     
    130130AXRequired: 0
    131131AXChecked: 0
    132 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     132AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    133133
    134134asdf    asdf
     
    153153AXRequired: 0
    154154AXChecked: 0
    155 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     155AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    156156
    157157asdf    asdf
     
    176176AXRequired: 0
    177177AXChecked: 0
    178 AXPlatformAttributes: toolkit:WebKitGtk
     178AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    179179
    180180asdf    asdf
     
    199199AXRequired: 0
    200200AXChecked: 0
    201 AXPlatformAttributes: toolkit:WebKitGtk
     201AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    202202
    203203asdf    asdf
     
    221221AXRequired: 0
    222222AXChecked: 0
    223 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     223AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    224224
    225225asdf    asdf
     
    244244AXRequired: 0
    245245AXChecked: 0
    246 AXPlatformAttributes: toolkit:WebKitGtk
     246AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    247247
    248248Contributions
     
    267267AXRequired: 0
    268268AXChecked: 0
    269 AXPlatformAttributes: html-id:nmb, toolkit:WebKitGtk
     269AXPlatformAttributes: html-id:nmb, tag:td, toolkit:WebKitGtk
    270270
    271271Politics
     
    295295AXRequired: 0
    296296AXChecked: 0
    297 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     297AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    298298
    299299asdf    asdf
     
    317317AXRequired: 0
    318318AXChecked: 0
    319 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     319AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    320320
    321321asdf    asdf
     
    341341AXRequired: 0
    342342AXChecked: 0
    343 AXPlatformAttributes: toolkit:WebKitGtk
     343AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    344344
    345345asdf    asdf
     
    364364AXRequired: 0
    365365AXChecked: 0
    366 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     366AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    367367
    368368asdf    asdf
     
    388388AXRequired: 0
    389389AXChecked: 0
    390 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     390AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    391391
    392392asdf    asdf
     
    412412AXRequired: 0
    413413AXChecked: 0
    414 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     414AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    415415
    416416asdf    asdf
     
    435435AXRequired: 0
    436436AXChecked: 0
    437 AXPlatformAttributes: computed-role:grid, toolkit:WebKitGtk
     437AXPlatformAttributes: computed-role:grid, tag:table, toolkit:WebKitGtk
    438438
    439439asdf
  • trunk/LayoutTests/platform/gtk/accessibility/table-one-cell-expected.txt

    r184199 r185662  
    1919AXRequired: 0
    2020AXChecked: 0
    21 AXPlatformAttributes: toolkit:WebKitGtk
     21AXPlatformAttributes: tag:p, toolkit:WebKitGtk
  • trunk/LayoutTests/platform/gtk/accessibility/table-sections-expected.txt

    r184754 r185662  
    3535AXRequired: 0
    3636AXChecked: 0
    37 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     37AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    3838------------
    3939AXRole: AXColumnHeader
     
    5454AXRequired: 0
    5555AXChecked: 0
    56 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     56AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    5757------------
    5858AXRole: AXCell
     
    7373AXRequired: 0
    7474AXChecked: 0
    75 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     75AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    7676------------
    7777
     
    9696AXRequired: 0
    9797AXChecked: 0
    98 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     98AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    9999------------
    100100AXRole: AXRowHeader
     
    115115AXRequired: 0
    116116AXChecked: 0
    117 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     117AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    118118------------
    119119AXRole: AXRowHeader
     
    134134AXRequired: 0
    135135AXChecked: 0
    136 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     136AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    137137------------
    138138
     
    181181AXRequired: 0
    182182AXChecked: 0
    183 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     183AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    184184------------
    185185AXRole: AXColumnHeader
     
    200200AXRequired: 0
    201201AXChecked: 0
    202 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     202AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    203203------------
    204204AXRole: AXCell
     
    219219AXRequired: 0
    220220AXChecked: 0
    221 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     221AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    222222------------
    223223AXRole: AXRowHeader
     
    238238AXRequired: 0
    239239AXChecked: 0
    240 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     240AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    241241------------
    242242AXRole: AXCell
     
    257257AXRequired: 0
    258258AXChecked: 0
    259 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     259AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    260260------------
    261261AXRole: AXCell
     
    276276AXRequired: 0
    277277AXChecked: 0
    278 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     278AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    279279------------
    280280AXRole: AXRowHeader
     
    295295AXRequired: 0
    296296AXChecked: 0
    297 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     297AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    298298------------
    299299AXRole: AXCell
     
    314314AXRequired: 0
    315315AXChecked: 0
    316 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     316AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    317317------------
    318318AXRole: AXCell
     
    333333AXRequired: 0
    334334AXChecked: 0
    335 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     335AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    336336------------
    337337AXRole: AXCell
     
    352352AXRequired: 0
    353353AXChecked: 0
    354 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     354AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    355355------------
    356356AXRole: AXCell
     
    371371AXRequired: 0
    372372AXChecked: 0
    373 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     373AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    374374------------
    375375AXRole: AXCell
     
    390390AXRequired: 0
    391391AXChecked: 0
    392 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     392AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    393393------------
    394394
     
    421421AXRequired: 0
    422422AXChecked: 0
    423 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     423AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    424424------------
    425425AXRole: AXColumnHeader
     
    440440AXRequired: 0
    441441AXChecked: 0
    442 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     442AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    443443------------
    444444AXRole: AXCell
     
    459459AXRequired: 0
    460460AXChecked: 0
    461 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     461AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    462462------------
    463463
     
    482482AXRequired: 0
    483483AXChecked: 0
    484 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     484AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    485485------------
    486486AXRole: AXRowHeader
     
    501501AXRequired: 0
    502502AXChecked: 0
    503 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     503AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    504504------------
    505505AXRole: AXRowHeader
     
    520520AXRequired: 0
    521521AXChecked: 0
    522 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     522AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    523523------------
    524524
     
    567567AXRequired: 0
    568568AXChecked: 0
    569 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     569AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    570570------------
    571571AXRole: AXColumnHeader
     
    586586AXRequired: 0
    587587AXChecked: 0
    588 AXPlatformAttributes: computed-role:columnheader, toolkit:WebKitGtk
     588AXPlatformAttributes: computed-role:columnheader, tag:th, toolkit:WebKitGtk
    589589------------
    590590AXRole: AXCell
     
    605605AXRequired: 0
    606606AXChecked: 0
    607 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     607AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    608608------------
    609609AXRole: AXRowHeader
     
    624624AXRequired: 0
    625625AXChecked: 0
    626 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     626AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    627627------------
    628628AXRole: AXCell
     
    643643AXRequired: 0
    644644AXChecked: 0
    645 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     645AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    646646------------
    647647AXRole: AXCell
     
    662662AXRequired: 0
    663663AXChecked: 0
    664 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     664AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    665665------------
    666666AXRole: AXRowHeader
     
    681681AXRequired: 0
    682682AXChecked: 0
    683 AXPlatformAttributes: computed-role:rowheader, toolkit:WebKitGtk
     683AXPlatformAttributes: computed-role:rowheader, tag:th, toolkit:WebKitGtk
    684684------------
    685685AXRole: AXCell
     
    700700AXRequired: 0
    701701AXChecked: 0
    702 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     702AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    703703------------
    704704AXRole: AXCell
     
    719719AXRequired: 0
    720720AXChecked: 0
    721 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     721AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    722722------------
    723723AXRole: AXCell
     
    738738AXRequired: 0
    739739AXChecked: 0
    740 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     740AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    741741------------
    742742AXRole: AXCell
     
    757757AXRequired: 0
    758758AXChecked: 0
    759 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
     759AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
    760760------------
    761761AXRole: AXCell
     
    776776AXRequired: 0
    777777AXChecked: 0
    778 AXPlatformAttributes: computed-role:gridcell, toolkit:WebKitGtk
    779 ------------
    780 
    781 
    782 --------------------------
    783 
    784 
    785 
    786 --------------------------
    787 
    788 
     778AXPlatformAttributes: computed-role:gridcell, tag:td, toolkit:WebKitGtk
     779------------
     780
     781
     782--------------------------
     783
     784
     785
     786--------------------------
     787
     788
  • trunk/LayoutTests/platform/gtk/accessibility/table-with-rules-expected.txt

    r184754 r185662  
    2222AXRequired: 0
    2323AXChecked: 0
    24 AXPlatformAttributes: computed-role:grid, html-id:testTable2, toolkit:WebKitGtk
     24AXPlatformAttributes: computed-role:grid, html-id:testTable2, tag:table, toolkit:WebKitGtk
    2525
    2626AXRole: AXTable
     
    4040AXRequired: 0
    4141AXChecked: 0
    42 AXPlatformAttributes: computed-role:grid, html-id:testTable3, toolkit:WebKitGtk
     42AXPlatformAttributes: computed-role:grid, html-id:testTable3, tag:table, toolkit:WebKitGtk
    4343
    4444AXRole: AXTable
     
    5858AXRequired: 0
    5959AXChecked: 0
    60 AXPlatformAttributes: computed-role:grid, html-id:testTable4, toolkit:WebKitGtk
     60AXPlatformAttributes: computed-role:grid, html-id:testTable4, tag:table, toolkit:WebKitGtk
    6161
    6262AXRole: AXSection
     
    7777AXRequired: 0
    7878AXChecked: 0
    79 AXPlatformAttributes: toolkit:WebKitGtk
     79AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    8080
    8181AXRole: AXSection
     
    9696AXRequired: 0
    9797AXChecked: 0
    98 AXPlatformAttributes: toolkit:WebKitGtk
     98AXPlatformAttributes: tag:td, toolkit:WebKitGtk
    9999
    100100
  • trunk/LayoutTests/platform/gtk/accessibility/transformed-element-expected.txt

    r160323 r185662  
    1717AXRequired: 0
    1818AXChecked: 0
    19 AXPlatformAttributes: html-id:hiddenDiv, toolkit:WebKitGtk
     19AXPlatformAttributes: html-id:hiddenDiv, tag:div, toolkit:WebKitGtk
  • trunk/LayoutTests/platform/gtk/accessibility/xml-roles-exposed-expected.txt

    r184754 r185662  
    2222AXRequired: 0
    2323AXChecked: 0
    24 AXPlatformAttributes: computed-role:alert, xml-roles:alert, toolkit:WebKitGtk
     24AXPlatformAttributes: computed-role:alert, xml-roles:alert, tag:div, toolkit:WebKitGtk
    2525------------
    2626AXRole: AXAlert
     
    4141AXRequired: 0
    4242AXChecked: 0
    43 AXPlatformAttributes: computed-role:alertdialog, xml-roles:alertdialog, toolkit:WebKitGtk
     43AXPlatformAttributes: computed-role:alertdialog, xml-roles:alertdialog, tag:div, toolkit:WebKitGtk
    4444------------
    4545AXRole: AXEmbedded
     
    6060AXRequired: 0
    6161AXChecked: 0
    62 AXPlatformAttributes: computed-role:application, xml-roles:application, toolkit:WebKitGtk
     62AXPlatformAttributes: computed-role:application, xml-roles:application, tag:div, toolkit:WebKitGtk
    6363------------
    6464AXRole: AXArticle
     
    7979AXRequired: 0
    8080AXChecked: 0
    81 AXPlatformAttributes: computed-role:article, xml-roles:article, toolkit:WebKitGtk
     81AXPlatformAttributes: computed-role:article, xml-roles:article, tag:div, toolkit:WebKitGtk
    8282------------
    8383AXRole: AXLandmarkBanner
     
    9898AXRequired: 0
    9999AXChecked: 0
    100 AXPlatformAttributes: computed-role:banner, xml-roles:banner, toolkit:WebKitGtk
     100AXPlatformAttributes: computed-role:banner, xml-roles:banner, tag:div, toolkit:WebKitGtk
    101101------------
    102102AXRole: AXButton
     
    117117AXRequired: 0
    118118AXChecked: 0
    119 AXPlatformAttributes: computed-role:button, xml-roles:button, toolkit:WebKitGtk
     119AXPlatformAttributes: computed-role:button, xml-roles:button, tag:div, toolkit:WebKitGtk
    120120------------
    121121AXRole: AXCheckBox
     
    136136AXRequired: 0
    137137AXChecked: 0
    138 AXPlatformAttributes: computed-role:checkbox, xml-roles:checkbox, toolkit:WebKitGtk
     138AXPlatformAttributes: computed-role:checkbox, xml-roles:checkbox, tag:div, toolkit:WebKitGtk
    139139------------
    140140AXRole: AXComboBox
     
    155155AXRequired: 0
    156156AXChecked: 0
    157 AXPlatformAttributes: computed-role:combobox, xml-roles:combobox, toolkit:WebKitGtk
     157AXPlatformAttributes: computed-role:combobox, xml-roles:combobox, tag:div, toolkit:WebKitGtk
    158158------------
    159159AXRole: AXLandmarkComplementary
     
    174174AXRequired: 0
    175175AXChecked: 0
    176 AXPlatformAttributes: computed-role:complementary, xml-roles:complementary, toolkit:WebKitGtk
     176AXPlatformAttributes: computed-role:complementary, xml-roles:complementary, tag:div, toolkit:WebKitGtk
    177177------------
    178178AXRole: AXLandmarkContentInfo
     
    193193AXRequired: 0
    194194AXChecked: 0
    195 AXPlatformAttributes: computed-role:contentinfo, xml-roles:contentinfo, toolkit:WebKitGtk
     195AXPlatformAttributes: computed-role:contentinfo, xml-roles:contentinfo, tag:div, toolkit:WebKitGtk
    196196------------
    197197AXRole: AXDefinition
     
    212212AXRequired: 0
    213213AXChecked: 0
    214 AXPlatformAttributes: computed-role:definition, xml-roles:definition, toolkit:WebKitGtk
     214AXPlatformAttributes: computed-role:definition, xml-roles:definition, tag:div, toolkit:WebKitGtk
    215215------------
    216216AXRole: AXDialog
     
    231231AXRequired: 0
    232232AXChecked: 0
    233 AXPlatformAttributes: computed-role:dialog, xml-roles:dialog, toolkit:WebKitGtk
     233AXPlatformAttributes: computed-role:dialog, xml-roles:dialog, tag:div, toolkit:WebKitGtk
    234234------------
    235235AXRole: AXList
     
    250250AXRequired: 0
    251251AXChecked: 0
    252 AXPlatformAttributes: computed-role:list, xml-roles:list, toolkit:WebKitGtk
     252AXPlatformAttributes: computed-role:list, xml-roles:list, tag:div, toolkit:WebKitGtk
    253253------------
    254254AXRole: AXDocument
     
    269269AXRequired: 0
    270270AXChecked: 0
    271 AXPlatformAttributes: computed-role:document, xml-roles:document, toolkit:WebKitGtk
     271AXPlatformAttributes: computed-role:document, xml-roles:document, tag:div, toolkit:WebKitGtk
    272272------------
    273273AXRole: AXForm
     
    288288AXRequired: 0
    289289AXChecked: 0
    290 AXPlatformAttributes: computed-role:form, xml-roles:form, toolkit:WebKitGtk
     290AXPlatformAttributes: computed-role:form, xml-roles:form, tag:div, toolkit:WebKitGtk
    291291------------
    292292AXRole: AXGroup
     
    307307AXRequired: 0
    308308AXChecked: 0
    309 AXPlatformAttributes: computed-role:group, xml-roles:group, toolkit:WebKitGtk
     309AXPlatformAttributes: computed-role:group, xml-roles:group, tag:div, toolkit:WebKitGtk
    310310------------
    311311AXRole: AXHeading
     
    326326AXRequired: 0
    327327AXChecked: 0
    328 AXPlatformAttributes: computed-role:heading, xml-roles:heading, toolkit:WebKitGtk
     328AXPlatformAttributes: computed-role:heading, xml-roles:heading, tag:div, toolkit:WebKitGtk
    329329------------
    330330AXRole: AXImage
     
    345345AXRequired: 0
    346346AXChecked: 0
    347 AXPlatformAttributes: computed-role:img, xml-roles:img, toolkit:WebKitGtk
     347AXPlatformAttributes: computed-role:img, xml-roles:img, tag:div, toolkit:WebKitGtk
    348348------------
    349349AXRole: AXLink
     
    365365AXChecked: 0
    366366AXURL: (null)
    367 AXPlatformAttributes: computed-role:link, xml-roles:link, toolkit:WebKitGtk
     367AXPlatformAttributes: computed-role:link, xml-roles:link, tag:div, toolkit:WebKitGtk
    368368------------
    369369AXRole: AXLog
     
    384384AXRequired: 0
    385385AXChecked: 0
    386 AXPlatformAttributes: computed-role:log, xml-roles:log, toolkit:WebKitGtk
     386AXPlatformAttributes: computed-role:log, xml-roles:log, tag:div, toolkit:WebKitGtk
    387387------------
    388388AXRole: AXLandmarkMain
     
    403403AXRequired: 0
    404404AXChecked: 0
    405 AXPlatformAttributes: computed-role:main, xml-roles:main, toolkit:WebKitGtk
     405AXPlatformAttributes: computed-role:main, xml-roles:main, tag:div, toolkit:WebKitGtk
    406406------------
    407407AXRole: AXMarquee
     
    422422AXRequired: 0
    423423AXChecked: 0
    424 AXPlatformAttributes: computed-role:marquee, xml-roles:marquee, toolkit:WebKitGtk
     424AXPlatformAttributes: computed-role:marquee, xml-roles:marquee, tag:div, toolkit:WebKitGtk
    425425------------
    426426AXRole: AXMath
     
    441441AXRequired: 0
    442442AXChecked: 0
    443 AXPlatformAttributes: computed-role:math, xml-roles:math, toolkit:WebKitGtk
     443AXPlatformAttributes: computed-role:math, xml-roles:math, tag:div, toolkit:WebKitGtk
    444444------------
    445445AXRole: AXLandmarkNavigation
     
    460460AXRequired: 0
    461461AXChecked: 0
    462 AXPlatformAttributes: computed-role:navigation, xml-roles:navigation, toolkit:WebKitGtk
     462AXPlatformAttributes: computed-role:navigation, xml-roles:navigation, tag:div, toolkit:WebKitGtk
    463463------------
    464464AXRole: AXComment
     
    479479AXRequired: 0
    480480AXChecked: 0
    481 AXPlatformAttributes: computed-role:note, xml-roles:note, toolkit:WebKitGtk
     481AXPlatformAttributes: computed-role:note, xml-roles:note, tag:div, toolkit:WebKitGtk
    482482------------
    483483AXRole: AXProgressIndicator
     
    498498AXRequired: 0
    499499AXChecked: 0
    500 AXPlatformAttributes: computed-role:progressbar, xml-roles:progressbar, toolkit:WebKitGtk
     500AXPlatformAttributes: computed-role:progressbar, xml-roles:progressbar, tag:div, toolkit:WebKitGtk
    501501------------
    502502AXRole: AXRadioButton
     
    517517AXRequired: 0
    518518AXChecked: 0
    519 AXPlatformAttributes: computed-role:radio, xml-roles:radio, toolkit:WebKitGtk
     519AXPlatformAttributes: computed-role:radio, xml-roles:radio, tag:div, toolkit:WebKitGtk
    520520------------
    521521AXRole: AXGroup
     
    536536AXRequired: 0
    537537AXChecked: 0
    538 AXPlatformAttributes: computed-role:region, xml-roles:region, toolkit:WebKitGtk
     538AXPlatformAttributes: computed-role:region, xml-roles:region, tag:div, toolkit:WebKitGtk
    539539------------
    540540AXRole: AXScrollBar
     
    555555AXRequired: 0
    556556AXChecked: 0
    557 AXPlatformAttributes: computed-role:scrollbar, xml-roles:scrollbar, toolkit:WebKitGtk
     557AXPlatformAttributes: computed-role:scrollbar, xml-roles:scrollbar, tag:div, toolkit:WebKitGtk
    558558------------
    559559AXRole: AXLandmarkSearch
     
    574574AXRequired: 0
    575575AXChecked: 0
    576 AXPlatformAttributes: computed-role:search, xml-roles:search, toolkit:WebKitGtk
     576AXPlatformAttributes: computed-role:search, xml-roles:search, tag:div, toolkit:WebKitGtk
    577577------------
    578578AXRole: AXTextField
     
    593593AXRequired: 0
    594594AXChecked: 0
    595 AXPlatformAttributes: computed-role:searchbox, xml-roles:searchbox, toolkit:WebKitGtk
     595AXPlatformAttributes: computed-role:searchbox, xml-roles:searchbox, tag:div, toolkit:WebKitGtk
    596596------------
    597597AXRole: AXSeparator
     
    612612AXRequired: 0
    613613AXChecked: 0
    614 AXPlatformAttributes: computed-role:separator, xml-roles:separator, toolkit:WebKitGtk
     614AXPlatformAttributes: computed-role:separator, xml-roles:separator, tag:div, toolkit:WebKitGtk
    615615------------
    616616AXRole: AXSlider
     
    631631AXRequired: 0
    632632AXChecked: 0
    633 AXPlatformAttributes: computed-role:slider, xml-roles:slider, toolkit:WebKitGtk
     633AXPlatformAttributes: computed-role:slider, xml-roles:slider, tag:div, toolkit:WebKitGtk
    634634------------
    635635AXRole: AXSpinButton
     
    650650AXRequired: 0
    651651AXChecked: 0
    652 AXPlatformAttributes: computed-role:spinbutton, xml-roles:spinbutton, toolkit:WebKitGtk
     652AXPlatformAttributes: computed-role:spinbutton, xml-roles:spinbutton, tag:div, toolkit:WebKitGtk
    653653------------
    654654AXRole: AXStatusBar
     
    669669AXRequired: 0
    670670AXChecked: 0
    671 AXPlatformAttributes: computed-role:status, xml-roles:status, toolkit:WebKitGtk
     671AXPlatformAttributes: computed-role:status, xml-roles:status, tag:div, toolkit:WebKitGtk
    672672------------
    673673AXRole: AXToggleButton
     
    688688AXRequired: 0
    689689AXChecked: 0
    690 AXPlatformAttributes: computed-role:switch, xml-roles:switch, toolkit:WebKitGtk
     690AXPlatformAttributes: computed-role:switch, xml-roles:switch, tag:div, toolkit:WebKitGtk
    691691------------
    692692AXRole: AXTextField
     
    707707AXRequired: 0
    708708AXChecked: 0
    709 AXPlatformAttributes: toolkit:WebKitGtk
     709AXPlatformAttributes: tag:div, toolkit:WebKitGtk
    710710------------
    711711AXRole: AXTimer
     
    726726AXRequired: 0
    727727AXChecked: 0
    728 AXPlatformAttributes: computed-role:timer, xml-roles:timer, toolkit:WebKitGtk
     728AXPlatformAttributes: computed-role:timer, xml-roles:timer, tag:div, toolkit:WebKitGtk
    729729------------
    730730AXRole: AXToolbar
     
    745745AXRequired: 0
    746746AXChecked: 0
    747 AXPlatformAttributes: computed-role:toolbar, xml-roles:toolbar, toolkit:WebKitGtk
     747AXPlatformAttributes: computed-role:toolbar, xml-roles:toolbar, tag:div, toolkit:WebKitGtk
    748748------------
    749749AXRole: AXUserInterfaceTooltip
     
    764764AXRequired: 0
    765765AXChecked: 0
    766 AXPlatformAttributes: computed-role:tooltip, xml-roles:tooltip, toolkit:WebKitGtk
     766AXPlatformAttributes: computed-role:tooltip, xml-roles:tooltip, tag:div, toolkit:WebKitGtk
    767767------------
    768768AXRole: AXParagraph
     
    783783AXRequired: 0
    784784AXChecked: 0
    785 AXPlatformAttributes: html-id:description, toolkit:WebKitGtk
     785AXPlatformAttributes: html-id:description, tag:p, toolkit:WebKitGtk
    786786------------
    787787
  • trunk/Source/WebCore/ChangeLog

    r185660 r185662  
     12015-06-17  Joanmarie Diggs  <jdiggs@igalia.com>
     2
     3        AX: [ATK] Expose element tag name as an object attribute
     4        https://bugs.webkit.org/show_bug.cgi?id=146062
     5
     6        Reviewed by Mario Sanchez Prada.
     7
     8        Expose the element tag name as an object attribute with name "tag" and
     9        value being the lowercase tag name, both being what Gecko does for ATK.
     10
     11        No new tests. We already have sufficient coverage for AtkObject attributes.
     12        These tests have been updated to reflect the addition of the new attribute.
     13
     14        * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
     15        (webkitAccessibleGetAttributes):
     16
    1172015-06-17  Antti Koivisto  <antti@apple.com>
    218
  • trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp

    r184979 r185662  
    409409    Element* element = coreObject->element() ? coreObject->element() : coreObject->actionElement();
    410410    if (element) {
     411        String tagName = element->tagName();
     412        if (!tagName.isEmpty())
     413            attributeSet = addToAtkAttributeSet(attributeSet, "tag", tagName.lower().utf8().data());
    411414        String id = element->getIdAttribute().string();
    412415        if (!id.isEmpty())
Note: See TracChangeset for help on using the changeset viewer.