Pass | Default initial values of generated properties are valid (self-test). | Asserts runNo asserts ran |
Pass | Generated properties respect inherits flag | Asserts runPass | 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) |
|
Pass | Can't generate property with unknown fields | Asserts runPass | 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) |
|