Summary

Harness status: OK

Found 23 tests

Details

ResultTest NameMessage
PassEmpty value should return #000000
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassMissing value should return #000000
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassValid simple color: should return #ffffff
Asserts run
Pass
assert_equals("#ffffff", "#ffffff")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassValid simple color (containing LATIN CAPITAL LETTERS): should return #ffffff (converted to ASCII lowercase)
Asserts run
Pass
assert_equals("#ffffff", "#ffffff")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassZero-padding
Asserts run
Pass
assert_equals("#0f0f0f", "#0f0f0f")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid simple color: not 7 characters long
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid simple color: no starting # sign
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid simple color: non ASCII hex digits
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid simple color: foobar
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: trailing Null (U+0000)
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: trailing ;
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: leading space
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: trailing space
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: leading+trailing spaces
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword crimson
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword bisque
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword currentColor
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword transparent
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword ActiveBorder
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: keyword inherit
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: rgb(1,1,1)
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: rgb(1,1,1,1)
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)
PassInvalid color: PILE OF POO (U+1F4A9)
Asserts run
Pass
assert_equals("#000000", "#000000")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/color.tentative.html:43:7)