math in html: parsing

Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
PassThe id attribute should be recognised on math elements
Asserts run
Pass
assert_equals(Element node <math id="m1"><mtext></mtext></math>, Element node <math id="m1"><mtext></mtext></math>)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:27:1)
PassThe node name should be math
Asserts run
Pass
assert_equals("math", "math")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:31:1)
Passmath should be in MathML Namespace
Asserts run
Pass
assert_equals("http://www.w3.org/1998/Math/MathML", "http://www.w3.org/1998/Math/MathML")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:35:1)
PassMath has 2 children (empty tag syntax)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:39:1)
PassNested mrow elements should be parsed correctly
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:43:1)
PassTesting rang and lang entity code points
Asserts run
Pass
assert_equals("⟨⟩", "⟨⟩")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:47:1)
PassTesting Kopf (Plane 1) entity code point
Asserts run
Pass
assert_equals("𝕂", "𝕂")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:51:1)
PassEmpty element tags in annotation-xml parsed as per XML.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:55:1)
Passhtml tags allowed in annotation-xml/@encoding='text/html'.
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse01.html:59:1)
1a
⟨⟩
𝕂
a
a