Summary

Harness status: OK

Found 15 tests

Details

ResultTest NameMessage
Pass@property determines the registration when uncontested
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:16:3
PassCSS.registerProperty wins over @property
Asserts run
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)")
    at  /css/css-properties-values-api/determine-registration.html:30:3
Pass@property later in document order wins
Asserts run
Pass
assert_equals("--prop-3", "--prop-3")
    at  /css/css-properties-values-api/determine-registration.html:44:5
Pass
assert_equals("6", "6")
    at  /css/css-properties-values-api/determine-registration.html:45:5
Pass@property later in document order wins (overridding definition with inherits=true)
Asserts run
Pass
assert_equals("--prop-4", "--prop-4")
    at  /css/css-properties-values-api/determine-registration.html:60:5
Pass
assert_equals("20px", "20px")
    at  /css/css-properties-values-api/determine-registration.html:61:5
Pass@property later in document order wins (overridding definition with inherits=false)
Asserts run
Pass
assert_equals("--prop-5", "--prop-5")
    at  /css/css-properties-values-api/determine-registration.html:76:5
Pass
assert_equals("20px", "20px")
    at  /css/css-properties-values-api/determine-registration.html:77:5
Pass@property later in stylesheet wins
Asserts run
Pass
assert_equals("rgb(255, 0, 0)", "rgb(255, 0, 0)")
    at  /css/css-properties-values-api/determine-registration.html:97:5
PassCSS.registerProperty determines the registration when uncontested
Asserts run
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)")
    at Test.<anonymous> ( /css/css-properties-values-api/determine-registration.html:109:3)
Pass@property registrations are cleared when rule removed
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-properties-values-api/determine-registration.html:116:3)
Pass
assert_equals("10px", "10px")
    at  /css/css-properties-values-api/determine-registration.html:124:5
Pass
assert_equals("", "")
    at Test.<anonymous> ( /css/css-properties-values-api/determine-registration.html:128:3)
PassComputed value becomes token sequence when @property is removed
Asserts run
Pass
assert_equals("calc(1px + 1px)", "calc(1px + 1px)")
    at  /css/css-properties-values-api/determine-registration.html:136:5
Pass
assert_equals("2px", "2px")
    at  /css/css-properties-values-api/determine-registration.html:145:7
Pass
assert_equals("calc(1px + 1px)", "calc(1px + 1px)")
    at  /css/css-properties-values-api/determine-registration.html:149:5
PassInherited status is reflected in computed styles when @property is removed
Asserts run
Pass
assert_equals("10px", "10px")
    at  /css/css-properties-values-api/determine-registration.html:157:5
Pass
assert_equals("0px", "0px")
    at  /css/css-properties-values-api/determine-registration.html:166:7
Pass
assert_equals("10px", "10px")
    at  /css/css-properties-values-api/determine-registration.html:169:5
PassInvalid @property rule (missing syntax) does not overwrite previous valid rule
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:188:5
PassInvalid @property rule (missing inherits descriptor) does not overwrite previous valid rule
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:207:5
PassInvalid @property rule (missing initial-value) does not overwrite previous valid rule
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:226:5
PassPrevious invalid rule does not prevent valid rule from causing registration
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:245:5
PassUnknown descriptors are ignored and do not invalidate rule
Asserts run
Pass
assert_equals("1px", "1px")
    at  /css/css-properties-values-api/determine-registration.html:260:5