Bug 409009 Table cells should have a table in their ancestry (additioal reviewer comment), r=evan.yan, a=beltzner

git-svn-id: svn://10.0.0.236/trunk@243512 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
surkov.alexander%gmail.com 2008-01-19 00:03:43 +00:00
parent 3fd3723478
commit 1651153ee5

View File

@ -1405,9 +1405,6 @@ NS_IMETHODIMP nsAccessibilityService::GetAccessible(nsIDOMNode *aNode,
nsIFrame *tableFrame = aPresShell->GetPrimaryFrameFor(tableContent);
if (tableFrame &&
tableFrame->GetType() == nsAccessibilityAtoms::tableOuterFrame) {
// Table that we're a descendant of is not styled as a table,
// and has no table accessible for an ancestor, or
// table that we're a descendant of is presentational
nsCOMPtr<nsIDOMNode> tableNode(do_QueryInterface(tableContent));
if (tableNode) {