Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassDefault initial values of generated properties are valid (self-test).
Asserts runNo asserts ran
PassGenerated properties respect inherits flag
Asserts run
Pass
assert_equals("10px", "10px")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:25:5)
Pass
assert_equals("11px", "11px")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:26:5)
Pass
assert_equals("10px", "10px")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:27:5)
Pass
assert_equals("5px", "5px")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:28:5)
PassCan't generate property with unknown fields
Asserts run
Pass
assert_throws_js(function "function Error() { [native code] }", function "() => generate_property({syntax: '<length>', foo: 1})")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:36:3)
Pass
assert_throws_js(function "function Error() { [native code] }", function "() => generate_property({syntax: '<length>', inherited: false})")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:37:3)
Pass
assert_throws_js(function "function Error() { [native code] }", function "() => generate_property({syntax: '<length>', initial: '10px'})")
    at Test.<anonymous> ( /css/css-properties-values-api/self-utils.html:38:3)