Don't compare tagName() in BlinkAXTreeSource.
commit4cb02964e85149967c6a0fb42b1a7b1bc7832817
authoresprehn <esprehn@chromium.org>
Fri, 18 Sep 2015 22:29:42 +0000 (18 15:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 22:30:21 +0000 (18 22:30 +0000)
treec6a6494d964c3dba3d2bf518cfdaf4d6d87e3aae
parent19b947df2525b66bee8fae31de23dba12423703a
Don't compare tagName() in BlinkAXTreeSource.

You should never compare the value of tagName() since that doesn't
check the namespace and you can get a non-HTML element with the
same tagName (or an SVG element). Instead you should always use
WebElement::hasHTMLTagName.

Review URL: https://codereview.chromium.org/1345163004

Cr-Commit-Position: refs/heads/master@{#349786}
content/renderer/accessibility/blink_ax_tree_source.cc