Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
Passe.style['background-color'] = "currentcolor" should set the property value
Asserts run
Pass
assert_not_equals("currentcolor", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("currentcolor", "currentcolor", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("currentcolor", "currentcolor", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "currentColor" should set the property value
Asserts run
Pass
assert_not_equals("currentcolor", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("currentcolor", "currentcolor", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("currentcolor", "currentcolor", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "red" should set the property value
Asserts run
Pass
assert_not_equals("red", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("red", "red", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("red", "red", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "#00FF00" should set the property value
Asserts run
Pass
assert_not_equals("rgb(0, 255, 0)", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("rgb(0, 255, 0)", "rgb(0, 255, 0)", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("rgb(0, 255, 0)", "rgb(0, 255, 0)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "rgb(0, 0, 255)" should set the property value
Asserts run
Pass
assert_not_equals("rgb(0, 0, 255)", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("rgb(0, 0, 255)", "rgb(0, 0, 255)", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("rgb(0, 0, 255)", "rgb(0, 0, 255)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "rgb(100%, 100%, 0%)" should set the property value
Asserts run
Pass
assert_not_equals("rgb(255, 255, 0)", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("rgb(255, 255, 0)", "rgb(255, 255, 0)", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("rgb(255, 255, 0)", "rgb(255, 255, 0)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "hsl(120, 100%, 50%)" should set the property value
Asserts run
Pass
assert_not_equals("rgb(0, 255, 0)", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("rgb(0, 255, 0)", ["rgb(0, 255, 0)", "hsl(120, 100%, 50%)"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("rgb(0, 255, 0)", "rgb(0, 255, 0)", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "teal" should set the property value
Asserts run
Pass
assert_not_equals("teal", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("teal", "teal", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("teal", "teal", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['background-color'] = "transparent" should set the property value
Asserts run
Pass
assert_not_equals("transparent", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("transparent", "transparent", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("transparent", "transparent", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)