Title: [188893] trunk/LayoutTests
- Revision
- 188893
- Author
- [email protected]
- Date
- 2015-08-24 16:31:58 -0700 (Mon, 24 Aug 2015)
Log Message
AX: Fix accessibility/mac/mathml-elements.html test
https://bugs.webkit.org/show_bug.cgi?id=148393
Patch by Nan Wang <[email protected]> on 2015-08-24
Reviewed by Chris Fleizach.
Updated the test to match the structure changes of mfenced/mo operators in bug 124838.
* accessibility/mac/mathml-elements-expected.txt:
* accessibility/mac/mathml-elements.html:
* platform/mac/TestExpectations:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (188892 => 188893)
--- trunk/LayoutTests/ChangeLog 2015-08-24 23:11:25 UTC (rev 188892)
+++ trunk/LayoutTests/ChangeLog 2015-08-24 23:31:58 UTC (rev 188893)
@@ -1,3 +1,16 @@
+2015-08-24 Nan Wang <[email protected]>
+
+ AX: Fix accessibility/mac/mathml-elements.html test
+ https://bugs.webkit.org/show_bug.cgi?id=148393
+
+ Reviewed by Chris Fleizach.
+
+ Updated the test to match the structure changes of mfenced/mo operators in bug 124838.
+
+ * accessibility/mac/mathml-elements-expected.txt:
+ * accessibility/mac/mathml-elements.html:
+ * platform/mac/TestExpectations:
+
2015-08-24 Chris Dumez <[email protected]>
NodeList should not have a named getter
Modified: trunk/LayoutTests/accessibility/mac/mathml-elements-expected.txt (188892 => 188893)
--- trunk/LayoutTests/accessibility/mac/mathml-elements-expected.txt 2015-08-24 23:11:25 UTC (rev 188892)
+++ trunk/LayoutTests/accessibility/mac/mathml-elements-expected.txt 2015-08-24 23:31:58 UTC (rev 188893)
@@ -67,13 +67,13 @@
PASS fenced.subrole is 'AXSubrole: AXMathFenced'
PASS fenced.stringAttributeValue('AXMathFencedOpen') is '{'
PASS fenced.stringAttributeValue('AXMathFencedClose') is '}'
-PASS child.childAtIndex(0).stringValue is 'AXValue: {'
+PASS child.stringValue is 'AXValue: {'
PASS child.childAtIndex(0).stringValue is 'AXValue: 2'
-PASS child.childAtIndex(0).stringValue is 'AXValue: ,'
+PASS child.stringValue is 'AXValue: ,'
PASS child.childAtIndex(0).stringValue is 'AXValue: a'
-PASS child.childAtIndex(0).stringValue is 'AXValue: ,'
+PASS child.stringValue is 'AXValue: ,'
PASS child.childAtIndex(0).stringValue is 'AXValue: e'
-PASS child.childAtIndex(0).stringValue is 'AXValue: }'
+PASS child.stringValue is 'AXValue: }'
PASS sub.role is 'AXRole: AXGroup'
PASS sub.subrole is 'AXSubrole: AXMathSubscriptSuperscript'
PASS subBase.subrole is 'AXSubrole: AXMathIdentifier'
Modified: trunk/LayoutTests/accessibility/mac/mathml-elements.html (188892 => 188893)
--- trunk/LayoutTests/accessibility/mac/mathml-elements.html 2015-08-24 23:11:25 UTC (rev 188892)
+++ trunk/LayoutTests/accessibility/mac/mathml-elements.html 2015-08-24 23:31:58 UTC (rev 188893)
@@ -111,7 +111,10 @@
var fenceValues = new Array("{", "2", ",", "a", ",", "e", "}");
for (var k = 0; k < fenceValues.length; k++) {
var child = fenced.childAtIndex(k);
- shouldBe("child.childAtIndex(0).stringValue", "'AXValue: " + fenceValues[k] + "'");
+ if (!child.childAtIndex(0))
+ shouldBe("child.stringValue", "'AXValue: " + fenceValues[k] + "'");
+ else
+ shouldBe("child.childAtIndex(0).stringValue", "'AXValue: " + fenceValues[k] + "'");
}
// Subscript
Modified: trunk/LayoutTests/platform/mac/TestExpectations (188892 => 188893)
--- trunk/LayoutTests/platform/mac/TestExpectations 2015-08-24 23:11:25 UTC (rev 188892)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2015-08-24 23:31:58 UTC (rev 188893)
@@ -806,9 +806,6 @@
# Skipped for ios-simulator as well:
webkit.org/b/129758 js/dom/create-lots-of-workers.html [ Skip ]
-# This test fails because the structure of mfenced/mo operators was changed in bug 124838.
-webkit.org/b/124836 accessibility/mac/mathml-elements.html [ Failure ]
-
webkit.org/b/130693 mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
# These tests require an OpenType MATH font on the Apple bots.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes