This is a dialog This is a dialog This is a dialog

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Pass<dialog> color and background match default
Asserts run
Pass
assert_equals("rgb(0, 0, 0)", "rgb(0, 0, 0)", "Dialog color should match CanvasText")
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/default-color.html:25:3)
Pass
assert_equals("rgb(255, 255, 255)", "rgb(255, 255, 255)", "Dialog background should match Canvas")
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/default-color.html:26:3)
Pass<dialog> colors react to dark mode
Asserts run
Pass
assert_not_equals("rgb(0, 0, 0)", "rgb(255, 255, 255)", "Dialog color should react to color-scheme")
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/default-color.html:32:3)
Pass
assert_not_equals("rgb(255, 255, 255)", "rgb(18, 18, 18)", "Dialog background should react to color-scheme")
    at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/default-color.html:33:3)