This is for when bug 99620 is fixed.
I'm not sure I see tests for
AccessibilityRenderObject::isMathOperator() (<mo> renderers or the anonymous created by <mfenced>)
AccessibilityRenderObject::isMathFenceOperator() (fences created by <mfenced>)
AccessibilityRenderObject::isMathSeparatorOperator() (separators created by <mfenced>)
After bugs 99620 is fixed, we will have the following attributes:
<mo fence="true"> => isMathFenceOperator
<mo separator="true"> => isMathSeparatorOperator
<mo separator="true" fence="true"> => isMathFenceOperator && isMathSeparatorOperator (not sure this really exists in real math)
Also, the values can be determined from the operator dictionary (http://www.w3.org/TR/MathML3/appendixc.html). For example the two markup should be equivalent for the AT:
and with explicit attributes
<math><mo fence="true">(</mo><mi>x</mi><mo separator="true">,<mo><mi>y</mi><mo separator="true">;</mo><mo fence="true">]</mo></math>
Similarly, we should have the equivalence between mfenced and its expanded form. See http://www.w3.org/TR/MathML3/chapter3.html#presm.mfenced
There is also the separate questions of whether we want to expose other operator properties to the AT. Most of the new properties are purely visual but perhaps "LargeOp" and "Accent" have a semantic meaning that is worth exposing.
@Chris: now that bug 99620 is fixed, I let you ensure correct test coverage for the AT and decide whether it is worth exposing things like "LargeOp" or "Accent".
For the record: the accessibility test has been disabled in http://trac.webkit.org/changeset/165436 because the change broke the <mfenced> test. We need to be restore it and ensure it works with normal <mo> elements too.
Created attachment 282234 [details]
Comment on attachment 282234 [details]
Attachment 282234 [details] did not pass ios-sim-ews (ios-simulator-wk2):
New failing tests:
Created attachment 282240 [details]
Archive of layout-test-results from ews126 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Created attachment 282243 [details]
Patch to get test expectations
Created attachment 282252 [details]
Adding the mac expectation...
Comment on attachment 282252 [details]
Yay for more tests! :) Thanks!
Committed r202610: <http://trac.webkit.org/changeset/202610>