Bug 159205

Summary: AX: Remove dead code for RenderText and RenderMathMLOperator in AccessibilityRenderObject::textUnderElement
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: AccessibilityAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, jcraig, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on: 139582, 155018    
Bug Blocks:    
Attachments:
Description Flags
Patch jdiggs: review+

Frédéric Wang (:fredw)
Reported 2016-06-28 02:42:26 PDT
RenderMathMLOperator used to destroy its descendants and to replace them with an anonymous text node wrapped inside anonymous blocks. After r202420, it just behaves as any other token elements. Hence the code in AccessibilityRenderObject::textUnderElement to handle this specific render tree structure is never executed and can be safely removed.
Attachments
Patch (2.52 KB, patch)
2016-06-28 02:48 PDT, Frédéric Wang (:fredw)
jdiggs: review+
Radar WebKit Bug Importer
Comment 1 2016-06-28 02:42:47 PDT
Frédéric Wang (:fredw)
Comment 2 2016-06-28 02:48:40 PDT
Frédéric Wang (:fredw)
Comment 3 2016-06-28 07:17:01 PDT
Note You need to log in before you can comment on or make changes to this bug.