Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassParsing of initial style attribute
Asserts run
Pass
assert_equals("color: red;", "color: red;")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:19:5)
Pass
assert_equals("red", "red")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:20:5)
Pass
assert_equals("color: red", "color: red", "Value of style attribute should match the string value that was set")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:21:5)
PassParsing of invalid style attribute
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:28:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:29:5)
Pass
assert_equals("color:: invalid", "color:: invalid", "Value of style attribute should match the string value that was set")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:30:5)
PassParsing of style attribute
Asserts run
Pass
assert_equals("color: green;", "color: green;")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:37:5)
Pass
assert_equals("green", "green")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:38:5)
Pass
assert_equals("color: green", "color: green", "Value of style attribute should match the string value that was set")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:39:5)
PassUpdate style.backgroundColor
Asserts run
Pass
assert_equals("color: green; background-color: blue;", "color: green; background-color: blue;", "Should not drop the existing style")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:46:5)
Pass
assert_equals("green", "green", "Should not drop the existing style")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:48:5)
Pass
assert_equals("color: green; background-color: blue;", "color: green; background-color: blue;", "Should update style attribute")
    at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/Document-parseHTMLUnsafe-style-attribute.html:50:5)