[Webkit-unassigned] [Bug 136818] [AX] Improve AccessibilityTableCell columnHeaders and rowHeaders functions.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 7 09:33:12 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=136818





--- Comment #12 from chris fleizach <cfleizach at apple.com>  2014-10-07 09:33:05 PST ---
(From update of attachment 239405)
View in context: https://bugs.webkit.org/attachment.cgi?id=239405&action=review

> Source/WebCore/accessibility/AccessibilityTableCell.cpp:133
> +    for ( ; parentNode; parentNode = parentNode->parentNode()) {

I think you can put
Node* parentNode = node(); 
inside the for loop here
I don't see you using it again outside the for loop

> Source/WebCore/accessibility/AccessibilityTableCell.cpp:156
> +    for ( ; parentNode; parentNode = parentNode->parentNode()) {

ditto about parentNode

> Source/WebCore/accessibility/AccessibilityTableCell.cpp:157
> +        if (parentNode->hasTagName(tbodyTag) || parentNode->hasTagName(tfootTag))

Why are row headers == to being inside tfoot? while column headers are == to being inside thead? 
it doesn't seem like those things have to be equal. 

I can see thead elements would probably be column headers (unless it's the first cell in the thead, in which case it might be a row header)
But for tfoot contained elements, I don't see why those would be row headers

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list