foo
foo

Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
Pass:focus applies to host with delegatesFocus=true when the shadow root's descendant has focus
Asserts run
Pass
assert_true(true, "element in shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:41:5)
Pass
assert_true(true, "host matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:42:5)
Pass:focus does not apply to host with delegatesFocus=true when slotted element has focus
Asserts run
Pass
assert_true(true, "slotted element matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:53:5)
Pass
assert_false(false, "host matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:54:5)
Pass:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=true is focused
Asserts run
Pass
assert_true(true, "element in nested shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:65:7)
Pass
assert_true(true, "host of nested shadow tree matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:66:7)
Pass
assert_true(true, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:67:7)
Pass:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=true is focused
Asserts run
Pass
assert_false(false, "element in nested shadow tree doesn't matche :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:84:7)
Pass
assert_false(false, "host of nested shadow tree doesn't match focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:85:7)
Pass
assert_false(false, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:86:7)
Pass
assert_true(true, "The element outside of shadow dom matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:87:7)
Pass:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=false is focused
Asserts run
Pass
assert_true(true, "element in nested shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:65:7)
Pass
assert_true(true, "host of nested shadow tree matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:66:7)
Pass
assert_true(true, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:67:7)
Pass:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=false is focused
Asserts run
Pass
assert_false(false, "element in nested shadow tree doesn't matche :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:84:7)
Pass
assert_false(false, "host of nested shadow tree doesn't match focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:85:7)
Pass
assert_false(false, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:86:7)
Pass
assert_true(true, "The element outside of shadow dom matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:87:7)
Pass:focus applies to host with delegatesFocus=false when the shadow root's descendant has focus
Asserts run
Pass
assert_true(true, "element in shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:41:5)
Pass
assert_true(true, "host matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:42:5)
Pass:focus does not apply to host with delegatesFocus=false when slotted element has focus
Asserts run
Pass
assert_true(true, "slotted element matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:53:5)
Pass
assert_false(false, "host matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:54:5)
Pass:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=true is focused
Asserts run
Pass
assert_true(true, "element in nested shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:65:7)
Pass
assert_true(true, "host of nested shadow tree matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:66:7)
Pass
assert_true(true, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:67:7)
Pass:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=true is focused
Asserts run
Pass
assert_false(false, "element in nested shadow tree doesn't matche :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:84:7)
Pass
assert_false(false, "host of nested shadow tree doesn't match focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:85:7)
Pass
assert_false(false, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:86:7)
Pass
assert_true(true, "The element outside of shadow dom matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:87:7)
Pass:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=false is focused
Asserts run
Pass
assert_true(true, "element in nested shadow tree matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:65:7)
Pass
assert_true(true, "host of nested shadow tree matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:66:7)
Pass
assert_true(true, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:67:7)
Pass:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=false is focused
Asserts run
Pass
assert_false(false, "element in nested shadow tree doesn't matche :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:84:7)
Pass
assert_false(false, "host of nested shadow tree doesn't match focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:85:7)
Pass
assert_false(false, "topmost host matches focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:86:7)
Pass
assert_true(true, "The element outside of shadow dom matches :focus")
    at Test.<anonymous> ( /shadow-dom/focus/focus-selector-delegatesFocus.html:87:7)