Summary

Harness status: OK

Found 18 tests

Details

ResultTest NameMessage
Passe.style['object-position'] = "10%" should set the property value
Asserts run
Pass
assert_not_equals("10% center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("10% center", ["10% center", "10% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("10% center", "10% center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "right 30% top 60px" should set the property value
Asserts run
Pass
assert_not_equals("right 30% top 60px", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("right 30% top 60px", "right 30% top 60px", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("right 30% top 60px", "right 30% top 60px", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "-20% -30px" should set the property value
Asserts run
Pass
assert_not_equals("-20% -30px", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("-20% -30px", "-20% -30px", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("-20% -30px", "-20% -30px", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "30px center" should set the property value
Asserts run
Pass
assert_not_equals("30px center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("30px center", ["30px center", "30px 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("30px center", "30px center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "40px top" should set the property value
Asserts run
Pass
assert_not_equals("40px top", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("40px top", ["40px top", "40px 0%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("40px top", "40px top", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "bottom 10% right 20%" should set the property value
Asserts run
Pass
assert_not_equals("right 20% bottom 10%", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_equals("right 20% bottom 10%", "right 20% bottom 10%", "serialization should be canonical")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:34:13)
Pass
assert_equals("right 20% bottom 10%", "right 20% bottom 10%", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "bottom right" should set the property value
Asserts run
Pass
assert_not_equals("right bottom", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("right bottom", ["right bottom", "100% 100%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("right bottom", "right bottom", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "center 50px" should set the property value
Asserts run
Pass
assert_not_equals("center 50px", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center 50px", ["center 50px", "50% 50px"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center 50px", "center 50px", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "center bottom" should set the property value
Asserts run
Pass
assert_not_equals("center bottom", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center bottom", ["center bottom", "50% 100%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center bottom", "center bottom", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "center left" should set the property value
Asserts run
Pass
assert_not_equals("left center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("left center", ["left center", "0% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("left center", "left center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "left" should set the property value
Asserts run
Pass
assert_not_equals("left center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("left center", ["left center", "0% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("left center", "left center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "left bottom" should set the property value
Asserts run
Pass
assert_not_equals("left bottom", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("left bottom", ["left bottom", "0% 100%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("left bottom", "left bottom", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "left center" should set the property value
Asserts run
Pass
assert_not_equals("left center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("left center", ["left center", "0% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("left center", "left center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "right 40%" should set the property value
Asserts run
Pass
assert_not_equals("right 40%", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("right 40%", ["right 40%", "100% 40%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("right 40%", "right 40%", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "top" should set the property value
Asserts run
Pass
assert_not_equals("center top", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center top", ["center top", "50% 0%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center top", "center top", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "top center" should set the property value
Asserts run
Pass
assert_not_equals("center top", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center top", ["center top", "50% 0%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center top", "center top", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "center" should set the property value
Asserts run
Pass
assert_not_equals("center center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center center", ["center center", "center", "50% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center center", "center center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)
Passe.style['object-position'] = "center center" should set the property value
Asserts run
Pass
assert_not_equals("center center", "", "property should be set")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:28:9)
Pass
assert_in_array("center center", ["center center", "center", "50% 50%"], "serialization should be sound")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:32:13)
Pass
assert_equals("center center", "center center", "serialization should round-trip")
    at Test.<anonymous> ( /css/support/parsing-testcommon.js:37:9)