| Summary: | AX: AXMathRootRadicand should return an array of elements, not just the first | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||
| Component: | Accessibility | Assignee: | Andres Gonzalez <andresg_22> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dbarton, dmazzoni, ews-watchlist, fred.wang, jdiggs, samuel_white, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| URL: | data:text/html,<math><msqrt><mi>x</mi><mi>y</mi></msqrt></math> | ||||||||
| Bug Depends on: | 146452 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
James Craig
2021-09-29 14:30:21 PDT
I commented on https://github.com/w3c/mathml-aam/issues/4 ; but do you also plan to do the same for <mroot> (even if there is always one element for the radicand)? That is, would AXMathRootRadicand on <mroot><mrow><mi>x</mi><mi>y</mi></mrow><mn>3</mn></mroot> return an array with a single mrow element (rather than just the mrow element directly currently)? Created attachment 440564 [details]
Patch
(In reply to Frédéric Wang (:fredw) from comment #2) > I commented on https://github.com/w3c/mathml-aam/issues/4 ; but do you also > plan to do the same for <mroot> (even if there is always one element for the > radicand)? That is, would AXMathRootRadicand on > > <mroot><mrow><mi>x</mi><mi>y</mi></mrow><mn>3</mn></mroot> > > return an array with a single mrow element (rather than just the mrow > element directly currently)? That is correct. This patch makes the change to return an array of AX objects. If the radicand consists of just one element, the array will contain a single element. Created attachment 440605 [details]
Patch
Fix for build in platforms != mac
Committed r283815 (242707@main): <https://commits.webkit.org/242707@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440605 [details]. |