math in html: parsing

Summary

Harness status: OK

Found 19 tests

Details

ResultTest NameMessage
PassMATH element name should be lowercased
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-parse03.html:43:1)
PassMI element name and mathvariant attribute name should be lowercased, attribute value unchanged
Asserts run
Pass
assert_equals("mi", "mi")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:47:1)
Pass
assert_equals("http://www.w3.org/1998/Math/MathML", "http://www.w3.org/1998/Math/MathML")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:48:1)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:49:1)
Pass
assert_equals("BOLD", "BOLD")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:50:1)
PassDEFINITIONurl attribute markup should produce a definitionURL attribute, attribute value unchanged
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:54:1)
Pass
assert_equals("www.example.org/FOO", "www.example.org/FOO")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:55:1)
Passhtml Span in mtext produces SPAN nodename in XHTML namespace
Asserts run
Pass
assert_equals("SPAN", "SPAN")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:59:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:60:1)
Passhtml Span in mi produces SPAN nodename in XHTML namespace
Asserts run
Pass
assert_equals("SPAN", "SPAN")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:64:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:65:1)
Passhtml Span in mrow produces SPAN nodename in XHTML namespace
Asserts run
Pass
assert_equals("SPAN", "SPAN")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:69:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:70:1)
Passhtml P in mtext produces P nodename in XHTML namespace
Asserts run
Pass
assert_equals("P", "P")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:74:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:75:1)
Passhtml P in mi produces P nodename in XHTML namespace
Asserts run
Pass
assert_equals("P", "P")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:79:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:80:1)
Passhtml P in mrow terminates the math: mrow,P,MI children of div
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:84:1)
Passhtml P in mrow terminates the math: mrow child of math
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:88:1)
Passhtml P in mrow terminates the math: mrow empty
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:92:1)
Passhtml P in mrow terminates the math: math,P,MI children of div
Asserts run
Pass
assert_equals("math", "math")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:96:1)
Pass
assert_equals("P", "P")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:97:1)
Pass
assert_equals("MI", "MI")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:98:1)
PassUndefinedelement in mtext produces UNDEFINEDELEMENT nodename in XHTML namespace
Asserts run
Pass
assert_equals("UNDEFINEDELEMENT", "UNDEFINEDELEMENT")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:102:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:103:1)
Passmi in mtext produces MI nodename in XHTML namespace
Asserts run
Pass
assert_equals("MI", "MI")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:107:1)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:108:1)
Passp in annotation-xml moves to be child of DIV
Asserts run
Pass
assert_equals("DIV", "DIV")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:112:1)
Passp in annotation-xml encoding=text/html stays as child of annotation-xml
Asserts run
Pass
assert_equals("annotation-xml", "annotation-xml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:116:1)
Passp in annotation-xml encoding=TEXT/HTML stays as child of annotation-xml
Asserts run
Pass
assert_equals("annotation-xml", "annotation-xml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:120:1)
Passp in annotation-xml encoding=application/xhtml+xml stays as child of annotation-xml
Asserts run
Pass
assert_equals("annotation-xml", "annotation-xml")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:124:1)
Passp in annotation-xml encoding=foo moves to be child of DIV
Asserts run
Pass
assert_equals("DIV", "DIV")
    at Test.<anonymous> ( /html/syntax/parsing/math-parse03.html:128:1)
a
x
x
x

x

x

x

y
x
x
x

x

x

x

x

x

x

x

x

x