Should be green. Should be green.

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
Passmutating constructed CSSStyleSheet applied to root invalidates styles
Asserts run
Pass
assert_equals("rgb(255, 0, 0)", "rgb(255, 0, 0)", "Sheet should apply")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:18:3)
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)", "Sheet should invalidate style")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:20:3)
Pass
assert_equals("rgb(0, 0, 0)", "rgb(0, 0, 0)", "Removing sheet should apply")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:22:3)
Passmutating constructed CSSStyleSheet applied to shadowdom invalidates styles
Asserts run
Pass
assert_equals("rgb(255, 0, 0)", "rgb(255, 0, 0)", "Sheet should apply")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:31:3)
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)", "Sheet should invalidate style")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:33:3)
Passmutating dependent constructed CSSStyleSheet applied to shadowdom invalidates styles
Asserts run
Pass
assert_equals("rgb(0, 0, 255)", "rgb(0, 0, 255)", "Sheet should apply")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:45:3)
Pass
assert_equals("rgb(0, 128, 0)", "rgb(0, 128, 0)", "Sheet should invalidate style")
    at Test.<anonymous> ( /css/cssom/CSSStyleSheet-constructable-invalidation.html:47:3)