Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassadoptedStyleSheets won'te be cleared when adopting into/from <template>s
Asserts run
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Shadow root was not adopted?")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:24:5)
Pass
assert_equals(1, 1)
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:25:5)
Pass
assert_equals(object "[object CSSStyleSheet]", object "[object CSSStyleSheet]")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:26:5)
Pass
assert_equals("rgb(0, 0, 255)", "rgb(0, 0, 255)", "Sheet should apply")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:28:7)
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Should've been adopted")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-template-adoption.html:38:3)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Shadow root was not adopted?")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:24:5)
Pass
assert_equals(1, 1)
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:25:5)
Pass
assert_equals(object "[object CSSStyleSheet]", object "[object CSSStyleSheet]")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:26:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Should've been re-adopted")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-template-adoption.html:43:3)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Shadow root was not adopted?")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:24:5)
Pass
assert_equals(1, 1)
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:25:5)
Pass
assert_equals(object "[object CSSStyleSheet]", object "[object CSSStyleSheet]")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:26:5)
Pass
assert_equals("rgb(0, 0, 255)", "rgb(0, 0, 255)", "Sheet should apply")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:28:7)
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Should've been adopted")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-template-adoption.html:49:3)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Shadow root was not adopted?")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:24:5)
Pass
assert_equals(1, 1)
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:25:5)
Pass
assert_equals(object "[object CSSStyleSheet]", object "[object CSSStyleSheet]")
    at assertAdoptedStyleSheet ( /css/cssom/CSSStyleSheet-template-adoption.html:26:5)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-template-adoption.html:56:3)