Changeset 188893 in webkit


Ignore:
Timestamp:
Aug 24, 2015 4:31:58 PM (9 years ago)
Author:
commit-queue@webkit.org
Message:

AX: Fix accessibility/mac/mathml-elements.html test
https://bugs.webkit.org/show_bug.cgi?id=148393

Patch by Nan Wang <n_wang@apple.com> 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:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r188885 r188893  
     12015-08-24  Nan Wang  <n_wang@apple.com>
     2
     3        AX: Fix accessibility/mac/mathml-elements.html test
     4        https://bugs.webkit.org/show_bug.cgi?id=148393
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Updated the test to match the structure changes of mfenced/mo operators in bug 124838.
     9
     10        * accessibility/mac/mathml-elements-expected.txt:
     11        * accessibility/mac/mathml-elements.html:
     12        * platform/mac/TestExpectations:
     13
    1142015-08-24  Chris Dumez  <cdumez@apple.com>
    215
  • trunk/LayoutTests/accessibility/mac/mathml-elements-expected.txt

    r187799 r188893  
    6868PASS fenced.stringAttributeValue('AXMathFencedOpen') is '{'
    6969PASS fenced.stringAttributeValue('AXMathFencedClose') is '}'
    70 PASS child.childAtIndex(0).stringValue is 'AXValue: {'
     70PASS child.stringValue is 'AXValue: {'
    7171PASS child.childAtIndex(0).stringValue is 'AXValue: 2'
    72 PASS child.childAtIndex(0).stringValue is 'AXValue: ,'
     72PASS child.stringValue is 'AXValue: ,'
    7373PASS child.childAtIndex(0).stringValue is 'AXValue: a'
    74 PASS child.childAtIndex(0).stringValue is 'AXValue: ,'
     74PASS child.stringValue is 'AXValue: ,'
    7575PASS child.childAtIndex(0).stringValue is 'AXValue: e'
    76 PASS child.childAtIndex(0).stringValue is 'AXValue: }'
     76PASS child.stringValue is 'AXValue: }'
    7777PASS sub.role is 'AXRole: AXGroup'
    7878PASS sub.subrole is 'AXSubrole: AXMathSubscriptSuperscript'
  • trunk/LayoutTests/accessibility/mac/mathml-elements.html

    r187799 r188893  
    112112   for (var k = 0; k < fenceValues.length; k++) {
    113113      var child = fenced.childAtIndex(k);
    114       shouldBe("child.childAtIndex(0).stringValue", "'AXValue: " + fenceValues[k] + "'");
     114      if (!child.childAtIndex(0))
     115          shouldBe("child.stringValue", "'AXValue: " + fenceValues[k] + "'");
     116      else
     117          shouldBe("child.childAtIndex(0).stringValue", "'AXValue: " + fenceValues[k] + "'");
    115118   }
    116119
  • trunk/LayoutTests/platform/mac/TestExpectations

    r188835 r188893  
    806806# Skipped for ios-simulator as well:
    807807webkit.org/b/129758 js/dom/create-lots-of-workers.html [ Skip ]
    808 
    809 # This test fails because the structure of mfenced/mo operators was changed in bug 124838.
    810 webkit.org/b/124836 accessibility/mac/mathml-elements.html [ Failure ]
    811808
    812809webkit.org/b/130693 mathml/presentation/tokenElements-background-color.html [ ImageOnlyFailure ]
Note: See TracChangeset for help on using the changeset viewer.