<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: Expose table size and cell indexes on iOS"
href="https://bugs.webkit.org/show_bug.cgi?id=150366#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: Expose table size and cell indexes on iOS"
href="https://bugs.webkit.org/show_bug.cgi?id=150366">bug 150366</a>
from <span class="vcard"><a class="email" href="mailto:cfleizach@apple.com" title="chris fleizach <cfleizach@apple.com>"> <span class="fn">chris fleizach</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=263604&action=diff" name="attach_263604" title="patch">attachment 263604</a> <a href="attachment.cgi?id=263604&action=edit" title="patch">[details]</a></span>
patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=263604&action=review">https://bugs.webkit.org/attachment.cgi?id=263604&action=review</a>
I'm wondering
<span class="quote">> Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:921
> + for (parentTable = m_object; parentTable && !parentTable->isTable(); parentTable = parentTable->parentObject())</span >
why the change here
<span class="quote">> Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1012
> + return rowCount > 0 ? rowCount : 0;</span >
can we write as
return table->rowCount() > 0 ? : 0;
<span class="quote">> Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1024
> + return colCount > 0 ? colCount : 0;</span >
ditto
<span class="quote">> Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1036
> + return rowCount > 0 ? rowCount : 0;</span >
ditto
<span class="quote">> Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:1048
> + return colCount > 0 ? colCount : 0;</span >
ditto</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>