<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[160712] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/160712">160712</a></dd>
<dt>Author</dt> <dd>mario.prada@samsung.com</dd>
<dt>Date</dt> <dd>2013-12-17 10:08:34 -0800 (Tue, 17 Dec 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>[ATK] Expose accessibility objects for &lt;dl&gt;, &lt;dt&gt; and &lt;dd&gt;
https://bugs.webkit.org/show_bug.cgi?id=125857

Reviewed by Chris Fleizach.

Source/WebCore:

Map description lists to the newly introduced ATK roles
ATK_ROLE_DESCRIPTION_LIST, ATK_ROLE_DESCRIPTION_TERM and
ATK_ROLE_DESCRIPTION_VALUE, introduced in ATK 2.11.4.

* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(atkRole): Do the right mapping.
(webkitAccessibleGetRole): Update call to atkRole, now that it
receives an AccessibilityObject* as parameter.

Tools:

Add mappings to DRT &amp; WKTR for the newly exposed roles, and
increase the version of ATK used by the internal jhbuild.

* DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
* gtk/jhbuild.modules: Raise version of ATK up to 2.11.4.

LayoutTests:

Update test to update expectations.

* platform/gtk/accessibility/roles-exposed-expected.txt:
* platform/gtk/accessibility/roles-exposed.html:

Updated test expectations for other test using description lists.

* platform/efl-wk1/accessibility/lists-expected.txt:
* platform/efl-wk2/accessibility/lists-expected.txt:
* platform/gtk/accessibility/lists-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformeflwk1accessibilitylistsexpectedtxt">trunk/LayoutTests/platform/efl-wk1/accessibility/lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflwk2accessibilitylistsexpectedtxt">trunk/LayoutTests/platform/efl-wk2/accessibility/lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkaccessibilitylistsexpectedtxt">trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkaccessibilityrolesexposedexpectedtxt">trunk/LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkaccessibilityrolesexposedhtml">trunk/LayoutTests/platform/gtk/accessibility/roles-exposed.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreaccessibilityatkWebKitAccessibleWrapperAtkcpp">trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreeatkAccessibilityUIElementAtkcpp">trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnerInjectedBundleatkAccessibilityUIElementAtkcpp">trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp</a></li>
<li><a href="#trunkToolsgtkjhbuildmodules">trunk/Tools/gtk/jhbuild.modules</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/ChangeLog        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -1,3 +1,22 @@
</span><ins>+2013-12-17  Mario Sanchez Prada  &lt;mario.prada@samsung.com&gt;
+
+        [ATK] Expose accessibility objects for &lt;dl&gt;, &lt;dt&gt; and &lt;dd&gt;
+        https://bugs.webkit.org/show_bug.cgi?id=125857
+
+        Reviewed by Chris Fleizach.
+
+        Update test to update expectations.
+
+        * platform/gtk/accessibility/roles-exposed-expected.txt:
+        * platform/gtk/accessibility/roles-exposed.html:
+
+        Updated test expectations for other test using description lists.
+
+        * platform/efl-wk1/accessibility/lists-expected.txt:
+        * platform/efl-wk2/accessibility/lists-expected.txt:
+        * platform/gtk/accessibility/lists-expected.txt:
+
+
</ins><span class="cx"> 2013-12-17  Frédéric Wang  &lt;fred.wang@free.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         Ensure inferred mrows for msqrt, mstyle, merror, mphantom and math.
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflwk1accessibilitylistsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl-wk1/accessibility/lists-expected.txt (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl-wk1/accessibility/lists-expected.txt        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/platform/efl-wk1/accessibility/lists-expected.txt        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXList
</del><ins>+AXRole: AXDescriptionList
</ins><span class="cx"> AXParent: AXWebArea
</span><span class="cx"> AXChildren: 5
</span><span class="cx"> AXPosition: { 8.000000, 120.000000 }
</span><span class="lines">@@ -204,8 +204,8 @@
</span><span class="cx"> ------------
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 8.000000, 120.000000 }
</span><span class="cx"> AXSize: { 769.000000, 18.000000 }
</span><span class="lines">@@ -223,8 +223,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 138.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span><span class="lines">@@ -242,8 +242,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 8.000000, 156.000000 }
</span><span class="cx"> AXSize: { 769.000000, 18.000000 }
</span><span class="lines">@@ -261,8 +261,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 174.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span><span class="lines">@@ -280,8 +280,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 192.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflwk2accessibilitylistsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl-wk2/accessibility/lists-expected.txt (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl-wk2/accessibility/lists-expected.txt        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/platform/efl-wk2/accessibility/lists-expected.txt        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXList
</del><ins>+AXRole: AXDescriptionList
</ins><span class="cx"> AXParent: AXWebArea
</span><span class="cx"> AXChildren: 5
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="lines">@@ -204,8 +204,8 @@
</span><span class="cx"> ------------
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="cx"> AXSize: { 769.000000, 18.000000 }
</span><span class="lines">@@ -223,8 +223,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span><span class="lines">@@ -242,8 +242,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="cx"> AXSize: { 769.000000, 18.000000 }
</span><span class="lines">@@ -261,8 +261,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span><span class="lines">@@ -280,8 +280,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitEfl
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 0.000000, 0.000000 }
</span><span class="cx"> AXSize: { 729.000000, 18.000000 }
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkaccessibilitylistsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/platform/gtk/accessibility/lists-expected.txt        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitGtk
</span><span class="cx"> ------------
</span><del>-AXRole: AXList
</del><ins>+AXRole: AXDescriptionList
</ins><span class="cx"> AXParent: AXWebArea
</span><span class="cx"> AXChildren: 5
</span><span class="cx"> AXPosition: { 8.000000, 116.000000 }
</span><span class="lines">@@ -204,8 +204,8 @@
</span><span class="cx"> ------------
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 8.000000, 116.000000 }
</span><span class="cx"> AXSize: { 769.000000, 17.000000 }
</span><span class="lines">@@ -223,8 +223,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitGtk
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 133.000000 }
</span><span class="cx"> AXSize: { 729.000000, 17.000000 }
</span><span class="lines">@@ -242,8 +242,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitGtk
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionTerm
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 8.000000, 150.000000 }
</span><span class="cx"> AXSize: { 769.000000, 17.000000 }
</span><span class="lines">@@ -261,8 +261,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitGtk
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 167.000000 }
</span><span class="cx"> AXSize: { 729.000000, 17.000000 }
</span><span class="lines">@@ -280,8 +280,8 @@
</span><span class="cx"> AXChecked: 0
</span><span class="cx"> AXPlatformAttributes: toolkit:WebKitGtk
</span><span class="cx"> ------------
</span><del>-AXRole: AXUnknown
-AXParent: AXList
</del><ins>+AXRole: AXDescriptionValue
+AXParent: AXDescriptionList
</ins><span class="cx"> AXChildren: 0
</span><span class="cx"> AXPosition: { 48.000000, 184.000000 }
</span><span class="cx"> AXSize: { 729.000000, 17.000000 }
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkaccessibilityrolesexposedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -21,6 +21,15 @@
</span><span class="cx"> PASS: button
</span><span class="cx">       AXRole: AXButton
</span><span class="cx">       
</span><ins>+PASS: dl
+      AXRole: AXDescriptionList
+      
+PASS: dt
+      AXRole: AXDescriptionTerm
+      
+PASS: dd
+      AXRole: AXDescriptionValue
+      
</ins><span class="cx"> PASS: div
</span><span class="cx">       AXRole: AXSection
</span><span class="cx">       
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkaccessibilityrolesexposedhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/accessibility/roles-exposed.html (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/accessibility/roles-exposed.html        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/LayoutTests/platform/gtk/accessibility/roles-exposed.html        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -26,10 +26,10 @@
</span><span class="cx"> &lt;!-- skipped ATK: not focusable &lt;del data-role=&quot;&quot; class=&quot;ex&quot;&gt;X&lt;/del&gt;--&gt;
</span><span class="cx"> &lt;!-- skipped &lt;details/summary&gt; http://webkit.org/b/108979 --&gt;
</span><span class="cx"> &lt;!-- skipped &lt;dfn data-role=&quot;AXGroup&quot; class=&quot;ex&quot;&gt;X&lt;/dfn&gt; --&gt;
</span><del>-&lt;!-- http://webkit.org/b/125493 &lt;dl data-role=&quot;AXDefinitionList&quot; list&quot; class=&quot;ex&quot;&gt;--&gt;
-    &lt;!-- http://webkit.org/b/125493 &lt;dt data-role=&quot;AXGroup&quot; class=&quot;ex&quot;&gt;X&lt;/dt&gt; --&gt;
-    &lt;!-- http://webkit.org/b/125493 &lt;dd data-role=&quot;AXGroup&quot; class=&quot;ex&quot;&gt;X&lt;/dd&gt; --&gt;
-&lt;!-- &lt;/dl&gt; --&gt;
</del><ins>+&lt;dl data-role=&quot;AXDescriptionList&quot; class=&quot;ex&quot;&gt;
+    &lt;dt data-role=&quot;AXDescriptionTerm&quot; class=&quot;ex&quot;&gt;X&lt;/dt&gt;
+    &lt;dd data-role=&quot;AXDescriptionValue&quot; class=&quot;ex&quot;&gt;X&lt;/dd&gt;
+&lt;/dl&gt;
</ins><span class="cx"> &lt;div data-role=&quot;AXSection&quot; class=&quot;ex&quot;&gt;X&lt;/div&gt;
</span><span class="cx"> &lt;!-- skipped ATK: not focusable &lt;em data-role=&quot;&quot; class=&quot;ex&quot;&gt;X&lt;/em&gt;--&gt;
</span><span class="cx"> &lt;!-- skipped &lt;embed&gt; --&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Source/WebCore/ChangeLog        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2013-12-17  Mario Sanchez Prada  &lt;mario.prada@samsung.com&gt;
+
+        [ATK] Expose accessibility objects for &lt;dl&gt;, &lt;dt&gt; and &lt;dd&gt;
+        https://bugs.webkit.org/show_bug.cgi?id=125857
+
+        Reviewed by Chris Fleizach.
+
+        Map description lists to the newly introduced ATK roles
+        ATK_ROLE_DESCRIPTION_LIST, ATK_ROLE_DESCRIPTION_TERM and
+        ATK_ROLE_DESCRIPTION_VALUE, introduced in ATK 2.11.4.
+
+        * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
+        (atkRole): Do the right mapping.
+        (webkitAccessibleGetRole): Update call to atkRole, now that it
+        receives an AccessibilityObject* as parameter.
+
</ins><span class="cx"> 2013-12-17  Frédéric Wang  &lt;fred.wang@free.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         Ensure inferred mrows for msqrt, mstyle, merror, mphantom and math.
</span></span></pre></div>
<a id="trunkSourceWebCoreaccessibilityatkWebKitAccessibleWrapperAtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -35,6 +35,7 @@
</span><span class="cx"> #if HAVE(ACCESSIBILITY)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;AXObjectCache.h&quot;
</span><ins>+#include &quot;AccessibilityList.h&quot;
</ins><span class="cx"> #include &quot;AccessibilityListBoxOption.h&quot;
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="lines">@@ -557,8 +558,9 @@
</span><span class="cx">     return attributeSet;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-static AtkRole atkRole(AccessibilityRole role)
</del><ins>+static AtkRole atkRole(AccessibilityObject* coreObject)
</ins><span class="cx"> {
</span><ins>+    AccessibilityRole role = coreObject-&gt;roleValue();
</ins><span class="cx">     switch (role) {
</span><span class="cx">     case ApplicationAlertDialogRole:
</span><span class="cx">     case ApplicationAlertRole:
</span><span class="lines">@@ -632,6 +634,10 @@
</span><span class="cx">     case ColorWellRole:
</span><span class="cx">         return ATK_ROLE_COLOR_CHOOSER;
</span><span class="cx">     case ListRole:
</span><ins>+#if ATK_CHECK_VERSION(2, 11, 4)
+        if (coreObject-&gt;isList() &amp;&amp; toAccessibilityList(coreObject)-&gt;isDescriptionList())
+            return ATK_ROLE_DESCRIPTION_LIST;
+#endif
</ins><span class="cx">         return ATK_ROLE_LIST;
</span><span class="cx">     case ScrollBarRole:
</span><span class="cx">         return ATK_ROLE_SCROLL_BAR;
</span><span class="lines">@@ -716,6 +722,14 @@
</span><span class="cx">     case LandmarkSearchRole:
</span><span class="cx">         return ATK_ROLE_LANDMARK;
</span><span class="cx"> #endif
</span><ins>+#if ATK_CHECK_VERSION(2, 11, 4)
+    case DescriptionListRole:
+        return ATK_ROLE_DESCRIPTION_LIST;
+    case DescriptionListTermRole:
+        return ATK_ROLE_DESCRIPTION_TERM;
+    case DescriptionListDetailRole:
+        return ATK_ROLE_DESCRIPTION_VALUE;
+#endif
</ins><span class="cx">     default:
</span><span class="cx">         return ATK_ROLE_UNKNOWN;
</span><span class="cx">     }
</span><span class="lines">@@ -735,7 +749,7 @@
</span><span class="cx">     if (coreObject-&gt;isPasswordField())
</span><span class="cx">         return ATK_ROLE_PASSWORD_TEXT;
</span><span class="cx"> 
</span><del>-    return atkRole(coreObject-&gt;roleValue());
</del><ins>+    return atkRole(coreObject);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> static bool isTextWithCaret(AccessibilityObject* coreObject)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Tools/ChangeLog        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2013-12-17  Mario Sanchez Prada  &lt;mario.prada@samsung.com&gt;
+
+        [ATK] Expose accessibility objects for &lt;dl&gt;, &lt;dt&gt; and &lt;dd&gt;
+        https://bugs.webkit.org/show_bug.cgi?id=125857
+
+        Reviewed by Chris Fleizach.
+
+        Add mappings to DRT &amp; WKTR for the newly exposed roles, and
+        increase the version of ATK used by the internal jhbuild.
+
+        * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
+        * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
+        * gtk/jhbuild.modules: Raise version of ATK up to 2.11.4.
+
</ins><span class="cx"> 2013-12-17  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         [WinCairo] Adding support for GStreamer and GLib.
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreeatkAccessibilityUIElementAtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Tools/DumpRenderTree/atk/AccessibilityUIElementAtk.cpp        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -340,6 +340,14 @@
</span><span class="cx">     case ATK_ROLE_TIMER:
</span><span class="cx">         return &quot;AXTimer&quot;;
</span><span class="cx"> #endif
</span><ins>+#if ATK_CHECK_VERSION(2, 11, 4)
+    case ATK_ROLE_DESCRIPTION_LIST:
+        return &quot;AXDescriptionList&quot;;
+    case ATK_ROLE_DESCRIPTION_TERM:
+        return &quot;AXDescriptionTerm&quot;;
+    case ATK_ROLE_DESCRIPTION_VALUE:
+        return &quot;AXDescriptionValue&quot;;
+#endif
</ins><span class="cx">     default:
</span><span class="cx">         // We want to distinguish ATK_ROLE_UNKNOWN from a known AtkRole which
</span><span class="cx">         // our DRT isn't properly handling.
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerInjectedBundleatkAccessibilityUIElementAtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -429,6 +429,14 @@
</span><span class="cx">     case ATK_ROLE_TIMER:
</span><span class="cx">         return &quot;AXTimer&quot;;
</span><span class="cx"> #endif
</span><ins>+#if ATK_CHECK_VERSION(2, 11, 4)
+    case ATK_ROLE_DESCRIPTION_LIST:
+        return &quot;AXDescriptionList&quot;;
+    case ATK_ROLE_DESCRIPTION_TERM:
+        return &quot;AXDescriptionTerm&quot;;
+    case ATK_ROLE_DESCRIPTION_VALUE:
+        return &quot;AXDescriptionValue&quot;;
+#endif
</ins><span class="cx">     default:
</span><span class="cx">         // We want to distinguish ATK_ROLE_UNKNOWN from a known AtkRole which
</span><span class="cx">         // our DRT isn't properly handling.
</span></span></pre></div>
<a id="trunkToolsgtkjhbuildmodules"></a>
<div class="modfile"><h4>Modified: trunk/Tools/gtk/jhbuild.modules (160711 => 160712)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/gtk/jhbuild.modules        2013-12-17 17:56:21 UTC (rev 160711)
+++ trunk/Tools/gtk/jhbuild.modules        2013-12-17 18:08:34 UTC (rev 160712)
</span><span class="lines">@@ -232,9 +232,9 @@
</span><span class="cx">   &lt;autotools id=&quot;atk&quot;
</span><span class="cx">              autogen-sh=&quot;configure&quot;
</span><span class="cx">              autogenargs=&quot;--disable-introspection&quot;&gt;
</span><del>-    &lt;branch module=&quot;pub/GNOME/sources/atk/2.11/atk-2.11.3.tar.xz&quot; version=&quot;2.11.3&quot;
</del><ins>+    &lt;branch module=&quot;pub/GNOME/sources/atk/2.11/atk-2.11.4.tar.xz&quot; version=&quot;2.11.4&quot;
</ins><span class="cx">             repo=&quot;ftp.gnome.org&quot;
</span><del>-            hash=&quot;sha256:b3c63668638dbb627a81f4333a00b744c503531d07b168405ef5f27f382a0ae4&quot;/&gt;
</del><ins>+            hash=&quot;sha256:b609fa7a3f21147d40f0fe0f47278a62c263de0eadbbbe9839f2b63a0cb07d41&quot;/&gt;
</ins><span class="cx">   &lt;/autotools&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;autotools id=&quot;at-spi2-core&quot; 
</span></span></pre>
</div>
</div>

</body>
</html>